diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2009-02-27 19:52:17 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2009-02-27 19:52:17 +0000 |
commit | 0ddc77cdd798577b3ecbdf047ceda7be58349cd8 (patch) | |
tree | 28dc8cf9c94967f15efa9898a18880433986e64a /schemas/rules.xsd | |
parent | ea3942c692ddbb14a0e702f6d50ca9d03431e47c (diff) | |
download | bcfg2-0ddc77cdd798577b3ecbdf047ceda7be58349cd8.tar.gz bcfg2-0ddc77cdd798577b3ecbdf047ceda7be58349cd8.tar.bz2 bcfg2-0ddc77cdd798577b3ecbdf047ceda7be58349cd8.zip |
Add BoundEntry support to bundle schema
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5090 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'schemas/rules.xsd')
-rw-r--r-- | schemas/rules.xsd | 52 |
1 files changed, 10 insertions, 42 deletions
diff --git a/schemas/rules.xsd b/schemas/rules.xsd index f1e0e60e2..0baa1e25f 100644 --- a/schemas/rules.xsd +++ b/schemas/rules.xsd @@ -8,42 +8,10 @@ </xsd:documentation> </xsd:annotation> + <xsd:include schemaLocation="pkgtype.xsd"/> + <xsd:include schemaLocation="servicetype.xsd"/> <xsd:include schemaLocation="types.xsd"/> - <xsd:complexType name='PackageType'> - <xsd:attribute type='xsd:string' name='name'/> - <xsd:attribute type='xsd:string' name='version'/> - <xsd:attribute type='xsd:string' name='file'/> - <xsd:attribute type='xsd:string' name='verify'/> - <xsd:attribute type='xsd:string' name='simplefile'/> - <xsd:attribute type='xsd:string' name='reloc'/> - <xsd:attribute type='xsd:string' name='multiarch'/> - <xsd:attribute type='xsd:string' name='srcs'/> - <xsd:attribute type='xsd:string' name='type'/> - <xsd:attribute type='xsd:string' name='bname'/> - </xsd:complexType> - - <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'/> - <xsd:attribute name='protocol' type='xsd:string'/> - <xsd:attribute name='reload' type='xsd:string'/> - <xsd:attribute name='FMRI' type='xsd:string'/> - <xsd:attribute name='supervised' type='xsd:string'/> - <xsd:attribute name='type' type='xsd:string'/> - <xsd:attribute name='sequence' type='xsd:string'/> - </xsd:complexType> - - <xsd:complexType name='DirectoryType'> <xsd:attribute type='xsd:string' name='name' use='required'/> <xsd:attribute type='xsd:string' name='perms'/> @@ -91,14 +59,14 @@ <xsd:element name='Rules'> <xsd:complexType> <xsd:choice minOccurs='0' maxOccurs='unbounded'> - <xsd:element name='Service' type='ServiceType'/> - <xsd:element name='Directory' type='DirectoryType'/> - <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:element name='Service' type='ServiceType'/> + <xsd:element name='Directory' type='DirectoryType'/> + <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> |