gorram it.

This commit is contained in:
brent s. 2020-05-14 04:12:59 -04:00
parent d103acea18
commit 648be9b2c4
Signed by: bts
GPG Key ID: 8C004C2F93481F6B

View File

@ -7,6 +7,7 @@
attributeFormDefault="unqualified">

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

<!-- ROOT -->
<xs:element name="tunnels">
@ -22,6 +23,16 @@
<xs:element name="clientv6" type="t_net_addr_ip6" minOccurs="1" maxOccurs="1"/>
<xs:element name="routed64" type="t_net_qualified_addr_ip6" minOccurs="1" maxOccurs="1"/>
<xs:element name="routed48" type="t_net_qualified_addr_ip6" minOccurs="0" maxOccurs="1"/>
<!--
FYI, these are FQDNs... but it's more or less impossible to validate through XSD so we let code do that.
-->
<!-- BEGIN THE FUCKERY. -->
<xs:element name="rdns1" type="t_std_nonempty" minOccurs="0" maxOccurs="1"/>
<xs:element name="rdns2" type="t_std_nonempty" minOccurs="0" maxOccurs="1"/>
<xs:element name="rdns3" type="t_std_nonempty" minOccurs="0" maxOccurs="1"/>
<xs:element name="rdns4" type="t_std_nonempty" minOccurs="0" maxOccurs="1"/>
<xs:element name="rdns5" type="t_std_nonempty" minOccurs="0" maxOccurs="1"/>
<!-- END THE FUCKERY. -->
</xs:all>
<xs:attribute name="id" type="xs:positiveInteger" use="required"/>
</xs:complexType>