summaryrefslogtreecommitdiffstats
path: root/schemas/rules.xsd
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-01-24 02:19:43 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-01-24 02:19:43 +0000
commitb238887ad8172c6a613b7d68bb551dac1aac57bb (patch)
tree1a0ce284f2c9b2b95447f4ea768b02e68f04797b /schemas/rules.xsd
parent9182bcf5871ee041e789bb48d057323b6bc6b4b1 (diff)
downloadbcfg2-b238887ad8172c6a613b7d68bb551dac1aac57bb.tar.gz
bcfg2-b238887ad8172c6a613b7d68bb551dac1aac57bb.tar.bz2
bcfg2-b238887ad8172c6a613b7d68bb551dac1aac57bb.zip
Implement Action support
- Schema addition for bundles/rules - Tool driver for actions - Frame support for pre-actions and post-actions - Frame blacklist support (to preclude blocked entries from getting installed on the post-clobber pass) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2713 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'schemas/rules.xsd')
-rw-r--r--schemas/rules.xsd12
1 files changed, 11 insertions, 1 deletions
diff --git a/schemas/rules.xsd b/schemas/rules.xsd
index 270b08828..82ed4aaa0 100644
--- a/schemas/rules.xsd
+++ b/schemas/rules.xsd
@@ -29,6 +29,14 @@
<xsd:attribute type='xsd:string' name='group'/>
</xsd:complexType>
+ <xsd:complexType name='ActionType'>
+ <xsd:attribute type='ActionTimingEnum' name='timing' use='required'/>
+ <xsd:attribute type='ActionWhenEnum' name='when' use='required'/>
+ <xsd:attribute type='ActionStatusEnum' name='status' use='required'/>
+ <xsd:attribute type='xsd:string' name='name' use='required'/>
+ <xsd:attribute type='xsd:string' name='command' use='required'/>
+ </xsd:complexType>
+
<xsd:complexType name='SymLinkType'>
<xsd:attribute type='xsd:string' name='name' use='required'/>
<xsd:attribute type='xsd:string' name='to' use='required'/>
@@ -48,6 +56,7 @@
<xsd:element name='SymLink' type='SymLinkType'/>
<xsd:element name='Package' type='PackageType'/>
<xsd:element name='Permissions' type='PermissionsType'/>
+ <xsd:element name='Action' type='ActionType'/>
<xsd:element name='Group' type='RContainerType'/>
<xsd:element name='Client' type='RContainerType'/>
</xsd:choice>
@@ -64,10 +73,11 @@
<xsd:element name='SymLink' type='SymLinkType'/>
<xsd:element name='Package' type='PackageType'/>
<xsd:element name='Permissions' type='PermissionsType'/>
+ <xsd:element name='Action' type='ActionType'/>
<xsd:element name='Group' type='RContainerType'/>
<xsd:element name='Client' type='RContainerType'/>
</xsd:choice>
<xsd:attribute name='priority' type='xsd:integer' use='required'/>
</xsd:complexType>
</xsd:element>
-</xsd:schema> \ No newline at end of file
+</xsd:schema>