okay. so the config's cleaned up, and we now create a sparse example config file.

This commit is contained in:
brent s. 2020-05-16 03:48:14 -04:00
parent d221947a89
commit 16e68373a1
Signed by: bts
GPG Key ID: 8C004C2F93481F6B
2 changed files with 31 additions and 2 deletions

View File

@ -3,6 +3,8 @@
elementFormDefault="qualified" elementFormDefault="qualified"
attributeFormDefault="unqualified"> attributeFormDefault="unqualified">


<xs:include schemaLocation="./std.xsd"/>

<xs:simpleType name="t_he_ipv6_prefix"> <xs:simpleType name="t_he_ipv6_prefix">
<xs:restriction base="xs:positiveInteger"> <xs:restriction base="xs:positiveInteger">
<xs:enumeration value="48"/> <xs:enumeration value="48"/>
@ -19,9 +21,26 @@


<xs:complexType name="t_he_ipv6_ra"> <xs:complexType name="t_he_ipv6_ra">
<xs:all> <xs:all>
<xs:element name="dns" type="xs:boolean" default="false"/> <xs:element name="dns" default="false">
<xs:element name="dhcpv6" type="xs:boolean" default="false"/> <xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:boolean">
<xs:attribute name="domains" type="t_std_list_space" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="dhcpv6" default="false">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:boolean">
<xs:attribute name="domains" type="t_std_list_space" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
</xs:all> </xs:all>
<xs:attribute name="tag" type="xs:token" use="optional"/>
</xs:complexType> </xs:complexType>


<xs:simpleType name="t_he_ipv6_ra_providers"> <xs:simpleType name="t_he_ipv6_ra_providers">

View File

@ -35,6 +35,16 @@
<!-- positiveInteger is used for UNIX Epoch. --> <!-- positiveInteger is used for UNIX Epoch. -->
<xs:union memberTypes="xs:dateTime xs:positiveInteger"/> <xs:union memberTypes="xs:dateTime xs:positiveInteger"/>
</xs:simpleType> </xs:simpleType>
<xs:simpleType name="t_std_list_comma">
<xs:restriction base="xs:string">
<xs:pattern value="[^,]+(,[^,])*"/>
</xs:restriction>
</xs:simpleType>

<xs:simpleType name="t_std_list_space">
<xs:list itemType="xs:token"/>
</xs:simpleType>


<xs:simpleType name="t_std_nonempty"> <xs:simpleType name="t_std_nonempty">
<xs:restriction base="xs:token"> <xs:restriction base="xs:token">