diff options
author | Jack Neely <jjneely@ncsu.edu> | 2011-06-10 13:29:23 -0400 |
---|---|---|
committer | Jack Neely <jjneely@ncsu.edu> | 2011-06-10 13:29:23 -0400 |
commit | 90c85147bacea14771abf8faa1fc5f185418d14b (patch) | |
tree | b10e06fc80ed714f5376b169e32b8953479211f1 /schemas/nagiosgen.xsd | |
parent | 4f3da4543ec4e8c3c4776ae2ee3611e47ce78525 (diff) | |
parent | ce6a228d33ace4136dc2b5388c64795dfbd26ffb (diff) | |
download | bcfg2-90c85147bacea14771abf8faa1fc5f185418d14b.tar.gz bcfg2-90c85147bacea14771abf8faa1fc5f185418d14b.tar.bz2 bcfg2-90c85147bacea14771abf8faa1fc5f185418d14b.zip |
Merge branch 'master' of github.com:solj/bcfg2
Diffstat (limited to 'schemas/nagiosgen.xsd')
-rw-r--r-- | schemas/nagiosgen.xsd | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/schemas/nagiosgen.xsd b/schemas/nagiosgen.xsd new file mode 100644 index 000000000..080994cd1 --- /dev/null +++ b/schemas/nagiosgen.xsd @@ -0,0 +1,31 @@ +<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en"> + <xsd:annotation> + <xsd:documentation> + NagiosGen config schema for bcfg2 + Chris St. Pierre + </xsd:documentation> + </xsd:annotation> + + <xsd:complexType name="GroupType"> + <xsd:choice minOccurs="1" maxOccurs="unbounded"> + <xsd:element name="Option" type="OptionType"/> + <xsd:element name="Group" type="GroupType"/> + <xsd:element name="Client" type="GroupType"/> + </xsd:choice> + <xsd:attribute type="xsd:string" name="name" use="required"/> + <xsd:attribute type="xsd:string" name="negate"/> + </xsd:complexType> + + <xsd:complexType name="OptionType" mixed="true"> + <xsd:attribute type="xsd:string" name="name" use="required"/> + </xsd:complexType> + + <xsd:element name="NagiosGen"> + <xsd:complexType> + <xsd:choice minOccurs="1" maxOccurs="unbounded"> + <xsd:element name="Group" type="GroupType"/> + <xsd:element name="Client" type="GroupType"/> + </xsd:choice> + </xsd:complexType> + </xsd:element> +</xsd:schema> |