
Supports creating and using swap files, or using pre-existing swap devices. Story: 2004958 Task: 29390 Change-Id: Iadb540f42036a4a63cdd5b695b82f1504b3a4a28
34 lines
918 B
JSON
34 lines
918 B
JSON
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"description": "List of swap files or devices",
|
|
"type": "array",
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"description": "Swap file",
|
|
"type": "object",
|
|
"required": ["path", "size_mb"],
|
|
"properties": {
|
|
"path": {
|
|
"type": "string"
|
|
},
|
|
"size_mb": {
|
|
"type": "integer",
|
|
"minimum": 0
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"description": "Swap device",
|
|
"type": "object",
|
|
"required": ["device"],
|
|
"properties": {
|
|
"device": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|