52 lines
1.2 KiB
Diff
52 lines
1.2 KiB
Diff
From 9bd736bc14da91bfc6ca8bf38f05218e5703adf5 Mon Sep 17 00:00:00 2001
|
|
From: "ilya.kuksenok" <ilya.kuksenok@huawei.com>
|
|
Date: Tue, 7 Feb 2023 13:51:44 +0300
|
|
Subject: [PATCH 2/4] add unified and memory_swap_limit_in_bytes into
|
|
host-config
|
|
|
|
---
|
|
.gitignore | 2 ++
|
|
src/json/schema/host-config.json | 8 +++++++-
|
|
2 files changed, 9 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/.gitignore b/.gitignore
|
|
index 0995486..973ceef 100644
|
|
--- a/.gitignore
|
|
+++ b/.gitignore
|
|
@@ -1,3 +1,5 @@
|
|
*.pyc
|
|
build
|
|
.vscode
|
|
+.idea
|
|
+cmake-build-debug
|
|
diff --git a/src/json/schema/host-config.json b/src/json/schema/host-config.json
|
|
index c308558..0367a76 100644
|
|
--- a/src/json/schema/host-config.json
|
|
+++ b/src/json/schema/host-config.json
|
|
@@ -139,9 +139,15 @@
|
|
"Memory": {
|
|
"type": "int64"
|
|
},
|
|
+ "Unified": {
|
|
+ "$ref": "defs.json#/definitions/mapStringString"
|
|
+ },
|
|
"OomScoreAdj": {
|
|
"type": "integer"
|
|
},
|
|
+ "MemorySwapLimitInBytes":{
|
|
+ "type": "int64"
|
|
+ },
|
|
"BlkioWeight": {
|
|
"type": "uint16"
|
|
},
|
|
@@ -292,4 +298,4 @@
|
|
"type": "string"
|
|
}
|
|
}
|
|
-}
|
|
\ No newline at end of file
|
|
+}
|
|
--
|
|
2.25.1
|
|
|