summaryrefslogtreecommitdiffstats
path: root/schemas/services.xsd
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2004-10-07 15:07:50 +0000
committerNarayan Desai <desai@mcs.anl.gov>2004-10-07 15:07:50 +0000
commitaf5fd583e7f6dac3a5b4aa955cc396734db5c45e (patch)
treeb6a3356e059e6971e7ff89159cde926682a808cb /schemas/services.xsd
parent90f72e31f5edbb8008119476fa14144d7ede53c5 (diff)
downloadbcfg2-af5fd583e7f6dac3a5b4aa955cc396734db5c45e.tar.gz
bcfg2-af5fd583e7f6dac3a5b4aa955cc396734db5c45e.tar.bz2
bcfg2-af5fd583e7f6dac3a5b4aa955cc396734db5c45e.zip
(Logical change 1.79)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@385 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'schemas/services.xsd')
-rw-r--r--schemas/services.xsd43
1 files changed, 43 insertions, 0 deletions
diff --git a/schemas/services.xsd b/schemas/services.xsd
index e69de29bb..2299725df 100644
--- a/schemas/services.xsd
+++ b/schemas/services.xsd
@@ -0,0 +1,43 @@
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en">
+
+ <xsd:annotation>
+ <xsd:documentation>
+ services schema for bcfg2
+ Narayan Desai, Argonne National Laboratory
+ $Id: $
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:complexType name='ServiceType'>
+ <xsd:choice minOccurs='0' maxOccurs='unbounded'>
+ <xsd:element name='User'>
+ <xsd:complexType>
+ <xsd:attribute name='address' type='xsd:string' use='required'/>
+ <xsd:attribute name='mask' type='xsd:string' use='required'/>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ <xsd:attribute name='name' type='xsd:string' use='required'/>
+ <xsd:attribute name='status' type='xsd:string' use='required'/>
+ <xsd:attribute name='port' type='xsd:string' use='required'/>
+ <xsd:attribute name='protocol' type='xsd:string' use='required'/>
+ </xsd:complexType>
+
+ <xsd:complexType name='ContainerType'>
+ <xsd:choice minOccurs='0' maxOccurs='unbounded'>
+ <xsd:element name='Service' type='ServiceType'/>
+ </xsd:choice>
+ <xsd:attribute name='name' type='xsd:string'/>
+ </xsd:complexType>
+
+ <xsd:element name='Services'>
+ <xsd:complexType>
+ <xsd:choice minOccurs='0' maxOccurs='unbounded'>
+ <xsd:element name='Service' type='ServiceType'/>
+ <xsd:element name='Class' type='ContainerType'/>
+ <xsd:element name='Host' type='ContainerType'/>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+
+</xsd:schema> \ No newline at end of file