summaryrefslogtreecommitdiffstats
path: root/schemas
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2014-11-25 00:51:23 +0100
committerAlexander Sulfrian <alexander@sulfrian.net>2014-11-25 16:00:48 +0100
commitbe564316c7c4deaad090bfc0bc79c460965cb1d6 (patch)
tree38c7ab16fc403d8d067cdae1f91fcc3d9af07317 /schemas
parentc544b18a985edd7444593e75ad52483f4842c119 (diff)
downloadbcfg2-be564316c7c4deaad090bfc0bc79c460965cb1d6.tar.gz
bcfg2-be564316c7c4deaad090bfc0bc79c460965cb1d6.tar.bz2
bcfg2-be564316c7c4deaad090bfc0bc79c460965cb1d6.zip
Bundler: add modification support to Bundle dependencies
Bundle dependencies are now realized with RequiredBundle and support inheritance of the modification flag. This requires new client support and will only work with clients >= 1.4.0pre2.
Diffstat (limited to 'schemas')
-rw-r--r--schemas/bundle.xsd36
1 files changed, 36 insertions, 0 deletions
diff --git a/schemas/bundle.xsd b/schemas/bundle.xsd
index aeacd0517..b6f9e00af 100644
--- a/schemas/bundle.xsd
+++ b/schemas/bundle.xsd
@@ -263,6 +263,13 @@
</xsd:documentation>
</xsd:annotation>
</xsd:element>
+ <xsd:element name='RequiredBundle' type='RequiredBundleType'>
+ <xsd:annotation>
+ <xsd:documentation>
+ Nesting Bundle tags to specify dependencies to other bundles.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:element>
</xsd:choice>
</xsd:group>
@@ -300,6 +307,35 @@
<xsd:attributeGroup ref="py:genshiAttrs"/>
</xsd:complexType>
+ <xsd:simpleType name='ModificationTypeEnum'>
+ <xsd:restriction base="xsd:string">
+ <xsd:enumeration value="ignore"/>
+ <xsd:enumeration value="inherit"/>
+ </xsd:restriction>
+ </xsd:simpleType>
+
+ <xsd:complexType name='RequiredBundleType'>
+ <xsd:attribute type='xsd:string' name='name' use='required'>
+ <xsd:annotation>
+ <xsd:documentation>
+ The name of the required bundle.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attribute type='ModificationTypeEnum' name='modification'>
+ <xsd:annotation>
+ <xsd:documentation>
+ Specify how to handle modifications in the required
+ bundle. You can either ignore the modifications (this
+ is the default) or you can inherit the modifications
+ so that Services in the current Bundle are restarted
+ if the required Bundle is modified.
+ </xsd:documentation>
+ </xsd:annotation>
+ </xsd:attribute>
+ <xsd:attributeGroup ref="py:genshiAttrs"/>
+ </xsd:complexType>
+
<xsd:complexType name='BundleType'>
<xsd:choice minOccurs='0' maxOccurs='unbounded'>
<xsd:group ref="bundleElements"/>