Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
77da2487
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看板
提交
77da2487
编写于
6月 07, 2010
作者:
D
David Allan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add multiIQN tests
* Fix broken rng schema * Add test input & output files
上级
98fafb0c
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
54 addition
and
7 deletion
+54
-7
docs/schemas/storagepool.rng
docs/schemas/storagepool.rng
+9
-7
tests/storagepoolxml2xmlin/pool-iscsi-multiiqn.xml
tests/storagepoolxml2xmlin/pool-iscsi-multiiqn.xml
+22
-0
tests/storagepoolxml2xmlout/pool-iscsi-multiiqn.xml
tests/storagepoolxml2xmlout/pool-iscsi-multiiqn.xml
+22
-0
tests/storagepoolxml2xmltest.c
tests/storagepoolxml2xmltest.c
+1
-0
未找到文件。
docs/schemas/storagepool.rng
浏览文件 @
77da2487
...
@@ -188,12 +188,14 @@
...
@@ -188,12 +188,14 @@
</element>
</element>
</define>
</define>
<define name='initiatorinfoiqn'>
<define name='initiatorinfo'>
<element name='iqn'>
<element name='initiator'>
<attribute name='name'>
<element name='iqn'>
<text/>
<attribute name='name'>
</attribute>
<text/>
<empty/>
</attribute>
<empty/>
</element>
</element>
</element>
</define>
</define>
...
@@ -372,7 +374,7 @@
...
@@ -372,7 +374,7 @@
<ref name='sourceinfohost'/>
<ref name='sourceinfohost'/>
<ref name='sourceinfodev'/>
<ref name='sourceinfodev'/>
<optional>
<optional>
<ref name='initiatorinfoiqn
'/>
<ref name='initiatorinfo
'/>
</optional>
</optional>
<optional>
<optional>
<ref name='sourceinfoauth'/>
<ref name='sourceinfoauth'/>
...
...
tests/storagepoolxml2xmlin/pool-iscsi-multiiqn.xml
0 → 100644
浏览文件 @
77da2487
<pool
type=
'iscsi'
>
<name>
multiiqn
</name>
<uuid>
e9392370-2917-565e-792c-e057f46512d7
</uuid>
<capacity>
0
</capacity>
<allocation>
0
</allocation>
<available>
0
</available>
<source>
<host
name=
'iscsi.example.com'
/>
<device
path=
'demo-target'
/>
<initiator>
<iqn
name=
'initiator0'
/>
</initiator>
</source>
<target>
<path>
/dev/disk/by-path
</path>
<permissions>
<mode>
0700
</mode>
<owner>
0
</owner>
<group>
0
</group>
</permissions>
</target>
</pool>
tests/storagepoolxml2xmlout/pool-iscsi-multiiqn.xml
0 → 100644
浏览文件 @
77da2487
<pool
type=
'iscsi'
>
<name>
multiiqn
</name>
<uuid>
e9392370-2917-565e-792c-e057f46512d7
</uuid>
<capacity>
0
</capacity>
<allocation>
0
</allocation>
<available>
0
</available>
<source>
<host
name=
'iscsi.example.com'
/>
<device
path=
'demo-target'
/>
<initiator>
<iqn
name=
'initiator0'
/>
</initiator>
</source>
<target>
<path>
/dev/disk/by-path
</path>
<permissions>
<mode>
0700
</mode>
<owner>
0
</owner>
<group>
0
</group>
</permissions>
</target>
</pool>
tests/storagepoolxml2xmltest.c
浏览文件 @
77da2487
...
@@ -95,6 +95,7 @@ mymain(int argc, char **argv)
...
@@ -95,6 +95,7 @@ mymain(int argc, char **argv)
DO_TEST
(
"pool-netfs"
);
DO_TEST
(
"pool-netfs"
);
DO_TEST
(
"pool-scsi"
);
DO_TEST
(
"pool-scsi"
);
DO_TEST
(
"pool-mpath"
);
DO_TEST
(
"pool-mpath"
);
DO_TEST
(
"pool-iscsi-multiiqn"
);
return
(
ret
==
0
?
EXIT_SUCCESS
:
EXIT_FAILURE
);
return
(
ret
==
0
?
EXIT_SUCCESS
:
EXIT_FAILURE
);
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录