diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2009-07-16 03:13:04 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2009-07-16 03:13:04 +0000 |
commit | cd39d8fbe8a5cd99396e164687cfc6a86f98dc97 (patch) | |
tree | ae141a508044b6357eed722fbe3488cb85cb7da4 /schemas | |
parent | 94b820c0363d07d8b12740168cdd129b5fe4c437 (diff) | |
download | bcfg2-cd39d8fbe8a5cd99396e164687cfc6a86f98dc97.tar.gz bcfg2-cd39d8fbe8a5cd99396e164687cfc6a86f98dc97.tar.bz2 bcfg2-cd39d8fbe8a5cd99396e164687cfc6a86f98dc97.zip |
GroupPatterns: support activation of multiple groups from a single pattern
Add support for the addition of multiple new group memberships based on a single
pattern (of either type). Alsa add support in the schema.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5336 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'schemas')
-rw-r--r-- | schemas/grouppatterns.xsd | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/schemas/grouppatterns.xsd b/schemas/grouppatterns.xsd index 5e2abed3f..36880d0a5 100644 --- a/schemas/grouppatterns.xsd +++ b/schemas/grouppatterns.xsd @@ -8,14 +8,19 @@ </xsd:annotation> <xsd:complexType name='PatternType'> - <xsd:sequence> - <xsd:element name="NamePattern" type="xsd:string" minOccurs='1' - maxOccurs='1'/> - <xsd:element name="NameRange" type="xsd:string" minOccurs='1' - maxOccurs='1'/> - <xsd:element name="Group" type="xsd:string" minOccurs='1' - maxOccurs='1'/> - </xsd:sequence> + <xsd:choice maxOccurs='1' minOccurs='1'> + <xsd:sequence> + <xsd:element name="NamePattern" type="xsd:string" minOccurs='1' + maxOccurs='1'/> + <xsd:element name="Group" type="xsd:string" minOccurs='1' + maxOccurs='unbounded'/> + </xsd:sequence> + <xsd:sequence> + <xsd:element name="NameRange" type="xsd:string"/> + <xsd:element name="Group" type="xsd:string" minOccurs='1' + maxOccurs='unbounded'/> + </xsd:sequence> + </xsd:choice> </xsd:complexType> <xsd:element name='GroupPatterns'> |