summaryrefslogtreecommitdiffstats
path: root/schemas/deps.xsd
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2006-07-10 21:27:47 +0000
committerNarayan Desai <desai@mcs.anl.gov>2006-07-10 21:27:47 +0000
commit8ea40c8c26141f1a5e36c9a98b451bd1599c2e5c (patch)
tree8b50bed6a3df4bd5fd968860584206c69a30db60 /schemas/deps.xsd
parenta50f44d85caefe94a0e15dd5b24232c8af29440c (diff)
downloadbcfg2-8ea40c8c26141f1a5e36c9a98b451bd1599c2e5c.tar.gz
bcfg2-8ea40c8c26141f1a5e36c9a98b451bd1599c2e5c.tar.bz2
bcfg2-8ea40c8c26141f1a5e36c9a98b451bd1599c2e5c.zip
Add basic dependency processing code
* To enable, add a Deps directory and enable the Deps plugin * schema validation works * prerequisites are automatically added to configurations git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@1924 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'schemas/deps.xsd')
-rw-r--r--schemas/deps.xsd52
1 files changed, 52 insertions, 0 deletions
diff --git a/schemas/deps.xsd b/schemas/deps.xsd
new file mode 100644
index 000000000..19ec5af2d
--- /dev/null
+++ b/schemas/deps.xsd
@@ -0,0 +1,52 @@
+<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en">
+
+ <xsd:annotation>
+ <xsd:documentation>
+ dependency schema for bcfg2
+ Narayan Desai, Argonne National Laboratory
+ </xsd:documentation>
+ </xsd:annotation>
+
+ <xsd:complexType name='StructureEntry'>
+ <xsd:choice minOccurs='0' maxOccurs='unbounded'>
+ <xsd:element name='Package' type='StructureEntry'/>
+ <xsd:element name='Service' type='StructureEntry'/>
+ <xsd:element name='ConfigFile' type='StructureEntry'/>
+ <xsd:element name='Directory' type='StructureEntry'/>
+ <xsd:element name='SymLink' type='StructureEntry'/>
+ <xsd:element name='Permissions' type='StructureEntry'/>
+ <xsd:element name='PostInstall' type='StructureEntry'/>
+ </xsd:choice>
+ <xsd:attribute type='xsd:string' name='name' use='required'/>
+ </xsd:complexType>
+
+ <xsd:complexType name='GroupType'>
+ <xsd:choice minOccurs='0' maxOccurs='unbounded'>
+ <xsd:element name='Package' type='StructureEntry'/>
+ <xsd:element name='Service' type='StructureEntry'/>
+ <xsd:element name='ConfigFile' type='StructureEntry'/>
+ <xsd:element name='Directory' type='StructureEntry'/>
+ <xsd:element name='SymLink' type='StructureEntry'/>
+ <xsd:element name='Permissions' type='StructureEntry'/>
+ <xsd:element name='PostInstall' type='StructureEntry'/>
+ <xsd:element name='Group' type='GroupType'/>
+ </xsd:choice>
+ <xsd:attribute type='xsd:string' name='name' use='required'/>
+ </xsd:complexType>
+
+ <xsd:element name='Dependencies'>
+ <xsd:complexType>
+ <xsd:choice minOccurs='0' maxOccurs='unbounded'>
+ <xsd:element name='Package' type='StructureEntry'/>
+ <xsd:element name='Service' type='StructureEntry'/>
+ <xsd:element name='ConfigFile' type='StructureEntry'/>
+ <xsd:element name='Directory' type='StructureEntry'/>
+ <xsd:element name='SymLink' type='StructureEntry'/>
+ <xsd:element name='Permission' type='StructureEntry'/>
+ <xsd:element name='PostInstall' type='StructureEntry'/>
+ <xsd:element name='Group' type='GroupType'/>
+ </xsd:choice>
+ <xsd:attribute type='xsd:string' name='priority' use='required'/>
+ </xsd:complexType>
+ </xsd:element>
+</xsd:schema> \ No newline at end of file