Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
f864aac9
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f864aac9
编写于
9月 08, 2014
作者:
M
Martin Kletzander
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
schemas: finish virTristate{Bool,Switch} transition
Signed-off-by:
N
Martin Kletzander
<
mkletzan@redhat.com
>
上级
ff1cc25f
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
61 addition
and
191 deletion
+61
-191
docs/schemas/basictypes.rng
docs/schemas/basictypes.rng
+15
-4
docs/schemas/capability.rng
docs/schemas/capability.rng
+2
-8
docs/schemas/domaincaps.rng
docs/schemas/domaincaps.rng
+1
-4
docs/schemas/domaincommon.rng
docs/schemas/domaincommon.rng
+31
-124
docs/schemas/interface.rng
docs/schemas/interface.rng
+2
-17
docs/schemas/network.rng
docs/schemas/network.rng
+7
-22
docs/schemas/nwfilter.rng
docs/schemas/nwfilter.rng
+1
-4
docs/schemas/secret.rng
docs/schemas/secret.rng
+2
-8
未找到文件。
docs/schemas/basictypes.rng
浏览文件 @
f864aac9
...
...
@@ -77,10 +77,7 @@
</attribute>
<optional>
<attribute
name=
"multifunction"
>
<choice>
<value>
on
</value>
<value>
off
</value>
</choice>
<ref
name=
"virOnOff"
/>
</attribute>
</optional>
</define>
...
...
@@ -446,4 +443,18 @@
</optional>
</define>
<define
name=
"virYesNo"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
</define>
<define
name=
"virOnOff"
>
<choice>
<value>
on
</value>
<value>
off
</value>
</choice>
</define>
</grammar>
docs/schemas/capability.rng
浏览文件 @
f864aac9
...
...
@@ -405,16 +405,10 @@
<define
name=
'featuretoggle'
>
<attribute
name=
'toggle'
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
<attribute
name=
'default'
>
<choice>
<value>
on
</value>
<value>
off
</value>
</choice>
<ref
name=
"virOnOff"
/>
</attribute>
</define>
...
...
docs/schemas/domaincaps.rng
浏览文件 @
f864aac9
...
...
@@ -87,10 +87,7 @@
<define
name=
'supported'
>
<attribute
name=
'supported'
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</define>
...
...
docs/schemas/domaincommon.rng
浏览文件 @
f864aac9
...
...
@@ -118,10 +118,7 @@
</attribute>
<optional>
<attribute
name=
'relabel'
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<interleave>
...
...
@@ -282,10 +279,7 @@
<optional>
<element
name=
"bootmenu"
>
<attribute
name=
"enable"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
<optional>
<attribute
name=
"timeout"
>
...
...
@@ -584,10 +578,7 @@
<ref
name=
'scaledInteger'
/>
<optional>
<attribute
name=
"dumpCore"
>
<choice>
<value>
on
</value>
<value>
off
</value>
</choice>
<ref
name=
"virOnOff"
/>
</attribute>
</optional>
</element>
...
...
@@ -1012,10 +1003,7 @@
</choice>
<optional>
<attribute
name=
"present"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<empty/>
...
...
@@ -1265,10 +1253,7 @@
</attribute>
<optional>
<attribute
name=
"rawio"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<optional>
...
...
@@ -1536,10 +1521,7 @@
</optional>
<optional>
<attribute
name=
"removable"
>
<choice>
<value>
on
</value>
<value>
off
</value>
</choice>
<ref
name=
"virOnOff"
/>
</attribute>
</optional>
</element>
...
...
@@ -1672,26 +1654,17 @@
</define>
<define
name=
"ioeventfd"
>
<attribute
name=
"ioeventfd"
>
<choice>
<value>
on
</value>
<value>
off
</value>
</choice>
<ref
name=
"virOnOff"
/>
</attribute>
</define>
<define
name=
"event_idx"
>
<attribute
name=
"event_idx"
>
<choice>
<value>
on
</value>
<value>
off
</value>
</choice>
<ref
name=
"virOnOff"
/>
</attribute>
</define>
<define
name=
"copy_on_read"
>
<attribute
name=
'copy_on_read'
>
<choice>
<value>
on
</value>
<value>
off
</value>
</choice>
<ref
name=
"virOnOff"
/>
</attribute>
</define>
<define
name=
"discard"
>
...
...
@@ -2222,20 +2195,14 @@
</attribute>
<optional>
<attribute
name=
"managed"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<interleave>
<element
name=
"source"
>
<optional>
<attribute
name=
"missing"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<choice>
...
...
@@ -2468,10 +2435,7 @@
</optional>
<optional>
<attribute
name=
"fullscreen"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
</group>
...
...
@@ -2488,10 +2452,7 @@
</optional>
<optional>
<attribute
name=
"autoport"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<optional>
...
...
@@ -2562,10 +2523,7 @@
</optional>
<optional>
<attribute
name=
"autoport"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<optional>
...
...
@@ -2674,10 +2632,7 @@
<optional>
<element
name=
"playback"
>
<attribute
name=
"compression"
>
<choice>
<value>
on
</value>
<value>
off
</value>
</choice>
<ref
name=
"virOnOff"
/>
</attribute>
<empty/>
</element>
...
...
@@ -2697,10 +2652,7 @@
<optional>
<element
name=
"clipboard"
>
<attribute
name=
"copypaste"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
<empty/>
</element>
...
...
@@ -2719,10 +2671,7 @@
<optional>
<element
name=
"filetransfer"
>
<attribute
name=
"enable"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
<empty/>
</element>
...
...
@@ -2740,26 +2689,17 @@
</optional>
<optional>
<attribute
name=
"autoport"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<optional>
<attribute
name=
"replaceUser"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<optional>
<attribute
name=
"multiUser"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<optional>
...
...
@@ -2780,10 +2720,7 @@
</optional>
<optional>
<attribute
name=
"fullscreen"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
</group>
...
...
@@ -2862,28 +2799,19 @@
</optional>
<optional>
<attribute
name=
"primary"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<optional>
<element
name=
"acceleration"
>
<optional>
<attribute
name=
"accel3d"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<optional>
<attribute
name=
"accel2d"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
</element>
...
...
@@ -3009,10 +2937,7 @@
<define
name=
"suspendChoices"
>
<optional>
<attribute
name=
"enabled"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
</define>
...
...
@@ -3104,10 +3029,7 @@
<define
name=
"usbdevfilter"
>
<element
name=
"usbdev"
>
<attribute
name=
"allow"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
<optional>
<attribute
name=
"class"
>
...
...
@@ -3567,10 +3489,7 @@
</optional>
<optional>
<attribute
name=
"managed"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<choice>
...
...
@@ -3910,10 +3829,7 @@
<element
name=
"apic"
>
<optional>
<attribute
name=
"eoi"
>
<choice>
<value>
on
</value>
<value>
off
</value>
</choice>
<ref
name=
"virOnOff"
/>
</attribute>
</optional>
</element>
...
...
@@ -4207,10 +4123,7 @@
<element
name=
"bios"
>
<optional>
<attribute
name=
"useserial"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<optional>
...
...
@@ -4280,10 +4193,7 @@
<element
name=
"rom"
>
<optional>
<attribute
name=
"bar"
>
<choice>
<value>
on
</value>
<value>
off
</value>
</choice>
<ref
name=
"virOnOff"
/>
</attribute>
</optional>
<optional>
...
...
@@ -4753,10 +4663,7 @@
<define
name=
"featurestate"
>
<attribute
name=
"state"
>
<choice>
<value>
on
</value>
<value>
off
</value>
</choice>
<ref
name=
"virOnOff"
/>
</attribute>
</define>
...
...
docs/schemas/interface.rng
浏览文件 @
f864aac9
...
...
@@ -127,7 +127,7 @@
<element
name=
"bridge"
>
<optional>
<attribute
name=
"stp"
>
<ref
name=
"
on-or-o
ff"
/>
<ref
name=
"
virOnO
ff"
/>
</attribute>
</optional>
<!-- Bridge forward delay (see 'brctl setfd') -->
...
...
@@ -376,7 +376,7 @@
<element
name=
"dhcp"
>
<optional>
<attribute
name=
"peerdns"
>
<ref
name=
"
yes-or-n
o"
/>
<ref
name=
"
virYesN
o"
/>
</attribute>
</optional>
</element>
...
...
@@ -415,21 +415,6 @@
instead of destination and nexthop instead of gateway.
-->
<!-- Auxiliary definitions -->
<define
name=
"on-or-off"
>
<choice>
<value>
on
</value>
<value>
off
</value>
</choice>
</define>
<define
name=
"yes-or-no"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
</define>
<!-- Type library -->
<define
name=
"timeval"
>
...
...
docs/schemas/network.rng
浏览文件 @
f864aac9
...
...
@@ -21,12 +21,9 @@
with no gateways addresses specified -->
<optional>
<attribute
name=
"ipv6"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
</attribute>
</optional>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<interleave>
<!-- The name of the network, used to refer to it through the API
...
...
@@ -53,10 +50,7 @@
<optional>
<attribute
name=
"stp"
>
<choice>
<value>
on
</value>
<value>
off
</value>
</choice>
<ref
name=
"virOnOff"
/>
</attribute>
</optional>
...
...
@@ -104,10 +98,7 @@
<optional>
<attribute
name=
"managed"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<interleave>
...
...
@@ -203,10 +194,7 @@
</attribute>
<optional>
<attribute
name=
"default"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<interleave>
...
...
@@ -236,10 +224,7 @@
<element
name=
"dns"
>
<optional>
<attribute
name=
"forwardPlainNames"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<interleave>
...
...
docs/schemas/nwfilter.rng
浏览文件 @
f864aac9
...
...
@@ -377,10 +377,7 @@
<interleave>
<optional>
<attribute
name=
"match"
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
</interleave>
...
...
docs/schemas/secret.rng
浏览文件 @
f864aac9
...
...
@@ -11,18 +11,12 @@
<element
name=
'secret'
>
<optional>
<attribute
name=
'ephemeral'
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<optional>
<attribute
name=
'private'
>
<choice>
<value>
yes
</value>
<value>
no
</value>
</choice>
<ref
name=
"virYesNo"
/>
</attribute>
</optional>
<interleave>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录