Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
lcr
提交
0f31b6d8
L
lcr
项目概览
openeuler
/
lcr
通知
3
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
lcr
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
0f31b6d8
编写于
9月 04, 2020
作者:
L
lifeng68
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
blk: add blkiops define
Signed-off-by:
N
lifeng68
<
lifeng68@huawei.com
>
上级
3f790442
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
237 addition
and
236 deletion
+237
-236
src/json/schema/defs.json
src/json/schema/defs.json
+226
-198
src/json/schema/host-config.json
src/json/schema/host-config.json
+11
-38
未找到文件。
src/json/schema/defs.json
浏览文件 @
0f31b6d8
...
...
@@ -42,8 +42,7 @@
"maximum"
:
18446744073709552000
},
"int32Pointer"
:
{
"oneOf"
:
[
{
"oneOf"
:
[{
"$ref"
:
"#/definitions/int32"
},
{
...
...
@@ -52,8 +51,7 @@
]
},
"uint16Pointer"
:
{
"oneOf"
:
[
{
"oneOf"
:
[{
"$ref"
:
"#/definitions/uint16"
},
{
...
...
@@ -62,8 +60,7 @@
]
},
"uint64Pointer"
:
{
"oneOf"
:
[
{
"oneOf"
:
[{
"$ref"
:
"#/definitions/uint64"
},
{
...
...
@@ -72,8 +69,7 @@
]
},
"stringPointer"
:
{
"oneOf"
:
[
{
"oneOf"
:
[{
"type"
:
"string"
},
{
...
...
@@ -104,6 +100,40 @@
"Env"
:
{
"$ref"
:
"#/definitions/ArrayOfStrings"
},
"BlkioDevice"
:
{
"type"
:
"object"
,
"properties"
:
{
"Path"
:
{
"$ref"
:
"#/definitions/FilePath"
},
"Rate"
:
{
"$ref"
:
"#/definitions/uint64"
}
}
},
"ArrayOfBlkioDevice"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/BlkioDevice"
}
},
"BlkioWeightDevice"
:
{
"type"
:
"object"
,
"properties"
:
{
"Path"
:
{
"$ref"
:
"#/definitions/FilePath"
},
"Weight"
:
{
"$ref"
:
"#/definitions/uint16"
}
}
},
"ArrayOfBlkioWeightDevice"
:
{
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/BlkioWeightDevice"
}
},
"Hook"
:
{
"type"
:
"object"
,
"properties"
:
{
...
...
@@ -250,9 +280,9 @@
"type"
:
"string"
},
"runtime-args"
:
{
"type"
:
"array"
,
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
"type"
:
"string"
}
}
}
...
...
@@ -366,7 +396,7 @@
"type"
:
"object"
,
"properties"
:
{
"name"
:
{
"type"
:
"string"
"type"
:
"string"
},
"offset"
:
{
"$ref"
:
"#/definitions/uint8"
...
...
@@ -607,8 +637,7 @@
},
"blockIODeviceWeight"
:
{
"type"
:
"object"
,
"allOf"
:
[
{
"allOf"
:
[{
"$ref"
:
"#/definitions/blockIODevice"
},
{
...
...
@@ -625,8 +654,7 @@
]
},
"blockIODeviceThrottle"
:
{
"allOf"
:
[
{
"allOf"
:
[{
"$ref"
:
"#/definitions/blockIODevice"
},
{
...
...
src/json/schema/host-config.json
浏览文件 @
0f31b6d8
...
...
@@ -53,8 +53,8 @@
"Sysctls"
:
{
"$ref"
:
"defs.json#/definitions/mapStringString"
},
"Runtime"
:{
"type"
:
"string"
"Runtime"
:
{
"type"
:
"string"
},
"RestartPolicy"
:
{
"type"
:
"object"
,
...
...
@@ -119,46 +119,19 @@
"type"
:
"uint16"
},
"BlkioWeightDevice"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"object"
,
"properties"
:
{
"Path"
:
{
"type"
:
"string"
},
"Weight"
:
{
"type"
:
"uint16"
}
}
}
"$ref"
:
"defs.json#/definitions/ArrayOfBlkioWeightDevice"
},
"BlkioDeviceReadBps"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"object"
,
"properties"
:
{
"Path"
:
{
"type"
:
"string"
},
"Rate"
:
{
"type"
:
"uint64"
}
}
}
"$ref"
:
"defs.json#/definitions/ArrayOfBlkioDevice"
},
"BlkioDeviceWriteBps"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"object"
,
"properties"
:
{
"Path"
:
{
"type"
:
"string"
"$ref"
:
"defs.json#/definitions/ArrayOfBlkioDevice"
},
"Rate
"
:
{
"type"
:
"uint64
"
}
}
}
"BlkioDeviceReadIops
"
:
{
"$ref"
:
"defs.json#/definitions/ArrayOfBlkioDevice
"
},
"BlkioDeviceWriteIops"
:
{
"$ref"
:
"defs.json#/definitions/ArrayOfBlkioDevice"
},
"CPUPeriod"
:
{
"type"
:
"int64"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录