summaryrefslogtreecommitdiffstats
path: root/schemas/metadata.xsd
diff options
context:
space:
mode:
authorBrian Pellin <bpellin@mcs.anl.gov>2005-01-06 20:50:12 +0000
committerBrian Pellin <bpellin@mcs.anl.gov>2005-01-06 20:50:12 +0000
commite0be8588eb8fec754f88a50d42f95ae6a1983bdc (patch)
tree67e4e19880748756754e1d08be7cc76359d8e1b1 /schemas/metadata.xsd
parentadd1e4e38fce73e282a2301b37db72201765d564 (diff)
downloadbcfg2-e0be8588eb8fec754f88a50d42f95ae6a1983bdc.tar.gz
bcfg2-e0be8588eb8fec754f88a50d42f95ae6a1983bdc.tar.bz2
bcfg2-e0be8588eb8fec754f88a50d42f95ae6a1983bdc.zip
Updated to include image to toolset mapping.
(Logical change 1.174) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@758 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'schemas/metadata.xsd')
-rw-r--r--schemas/metadata.xsd15
1 files changed, 14 insertions, 1 deletions
diff --git a/schemas/metadata.xsd b/schemas/metadata.xsd
index fa5df54f1..d9c7b9893 100644
--- a/schemas/metadata.xsd
+++ b/schemas/metadata.xsd
@@ -43,12 +43,25 @@
<xsd:attribute type='xsd:string' name='name' use='required'/>
</xsd:complexType>
+ <xsd:simpleType name='ToolSetType'>
+ <xsd:restriction base="xsd:string">
+ <xsd:pattern value="rh|debian"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <xsd:complexType name='ImageType'>
+ <xsd:attribute type='xsd:string' name='name' use='required'/>
+ <xsd:attribute type='ToolSetType' name='toolset' use='required'/>
+ </xsd:complexType>
+
+
<xsd:element name='Metadata'>
<xsd:complexType>
<xsd:choice minOccurs='0' maxOccurs='unbounded'>
<xsd:element name='Client' type='ClientType'/>
<xsd:element name='Class' type='ClassType'/>
<xsd:element name='Profile' type='ProfileType'/>
+ <xsd:element name='Image' type='ImageType'/>
</xsd:choice>
<xsd:attribute name='version' type='xsd:string'/>
<xsd:attribute type='xsd:string' name='default_image' use='required'/>
@@ -56,4 +69,4 @@
</xsd:complexType>
</xsd:element>
-</xsd:schema> \ No newline at end of file
+</xsd:schema>