summaryrefslogtreecommitdiffstats
path: root/schemas/servicetype.xsd
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-06-05 17:34:29 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-06-05 17:34:34 -0400
commit42e619c585de45e5e4e16ae3746efb7db9f90b1e (patch)
treedfdf1905a4bf586bba321d6ab562343cf1ebc28a /schemas/servicetype.xsd
parentc6e7bfed9b6563b0c567997f063a8259ec548519 (diff)
downloadbcfg2-42e619c585de45e5e4e16ae3746efb7db9f90b1e.tar.gz
bcfg2-42e619c585de45e5e4e16ae3746efb7db9f90b1e.tar.bz2
bcfg2-42e619c585de45e5e4e16ae3746efb7db9f90b1e.zip
re-rationalized service modes to make them more consistent and granular
Diffstat (limited to 'schemas/servicetype.xsd')
-rw-r--r--schemas/servicetype.xsd14
1 files changed, 12 insertions, 2 deletions
diff --git a/schemas/servicetype.xsd b/schemas/servicetype.xsd
index af5bc64a6..4cab3716c 100644
--- a/schemas/servicetype.xsd
+++ b/schemas/servicetype.xsd
@@ -12,6 +12,16 @@
<xsd:import namespace="http://genshi.edgewall.org/"
schemaLocation="genshi.xsd"/>
+ <xsd:simpleType name='RestartEnum'>
+ <xsd:restriction base='xsd:boolean'>
+ <xsd:enumeration value='true'/>
+ <xsd:enumeration value='false'/>
+ <xsd:enumeration value='1'/>
+ <xsd:enumeration value='0'/>
+ <xsd:enumeration value='interactive'/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
<xsd:complexType name="ServiceType">
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="User">
@@ -24,13 +34,13 @@
</xsd:choice>
<xsd:attribute name="name" type="xsd:string" use="required"/>
<xsd:attribute name="status" type="StatusEnum"/>
+ <xsd:attribute name="restart" type="RestartEnum"/>
+ <xsd:attribute name="install" type="xsd:boolean"/>
<xsd:attribute name="type" type="ServiceTypeEnum"/>
<xsd:attribute name="port" type="xsd:string"/>
<xsd:attribute name="protocol" type="xsd:string"/>
- <xsd:attribute name="mode" type="xsd:string"/>
<xsd:attribute name="custom" type="xsd:string"/>
<xsd:attribute name="FMRI" type="xsd:string"/>
- <xsd:attribute name="supervised" type="xsd:string"/>
<xsd:attribute name="sequence" type="xsd:string"/>
<xsd:attribute name="target" type="xsd:string"/>
<xsd:attribute name="parameters" type="xsd:string"/>