提交 be2cd079 编写于 作者: C Cole Robinson

schema: Update storage pool schema.

- mpath pools weren't listed
- scsi pools were missing an adapter section
- iscsi pools were missing an auth section
- Logical pools do not require a source name to be specified
上级 36297e1d
......@@ -16,6 +16,7 @@
<ref name='pooldisk'/>
<ref name='pooliscsi'/>
<ref name='poolscsi'/>
<ref name='poolmpath'/>
</choice>
</element>
</define>
......@@ -90,6 +91,18 @@
<ref name='target'/>
</define>
<define name='poolmpath'>
<attribute name='type'>
<value>mpath</value>
</attribute>
<ref name='commonmetadata'/>
<ref name='sizing'/>
<optional>
<ref name='sourcempath'/>
</optional>
<ref name='target'/>
</define>
<define name='commonmetadata'>
<element name='name'>
<ref name='name'/>
......@@ -212,6 +225,22 @@
</element>
</define>
<define name='sourceinfoauth'>
<element name='auth'>
<attribute name='type'>
<choice>
<value>chap</value>
</choice>
</attribute>
<attribute name='login'>
<text/>
</attribute>
<attribute name='passwd'>
<text/>
</attribute>
</element>
</define>
<define name='sourcefmtfs'>
<optional>
<element name='format'>
......@@ -309,10 +338,14 @@
<define name='sourcelogical'>
<element name='source'>
<ref name='sourceinfoname'/>
<optional>
<ref name='sourceinfodev'/>
</optional>
<oneOrMore>
<optional>
<ref name='sourceinfoname'/>
</optional>
<optional>
<ref name='sourceinfodev'/>
</optional>
</oneOrMore>
<ref name='sourcefmtlogical'/>
</element>
</define>
......@@ -328,15 +361,23 @@
<element name='source'>
<ref name='sourceinfohost'/>
<ref name='sourceinfodev'/>
<optional>
<ref name='sourceinfoauth'/>
</optional>
</element>
</define>
<define name='sourcescsi'>
<element name='source'>
<ref name='sourceinfoname'/>
<ref name='sourceinfoadapter'/>
</element>
</define>
<define name='sourcempath'>
<element name='source'>
<empty/>
</element>
</define>
<define name='name'>
<data type='string'>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册