containerrc: Add accounting to schema
Adds accounting and its entries to the JSON schema. Signed-off-by: Enno Tensing <tenno@suij.in>
This commit is contained in:
parent
4224112c62
commit
8464196aaa
1 changed files with 48 additions and 0 deletions
|
@ -134,6 +134,54 @@
|
|||
"add",
|
||||
"drop"
|
||||
]
|
||||
},
|
||||
"accounting": {
|
||||
"type": "object",
|
||||
"propeties": {
|
||||
"cgroup": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"config": {
|
||||
"type": "string"
|
||||
},
|
||||
"parent": {
|
||||
"type": "string"
|
||||
},
|
||||
"namespace": {
|
||||
"type": "string"
|
||||
},
|
||||
"how": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"cpu": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"period": {
|
||||
"type": "string"
|
||||
},
|
||||
"quota": {
|
||||
"type": "string"
|
||||
},
|
||||
"shares": {
|
||||
"type": "string"
|
||||
},
|
||||
"number": {
|
||||
"type": "string"
|
||||
},
|
||||
"cpuset": {
|
||||
"cpus": {
|
||||
"type": "string"
|
||||
},
|
||||
"mems": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
Loading…
Add table
Reference in a new issue