adding router project subdir

This commit is contained in:
2020-05-19 10:32:05 -04:00
committed by root
parent eb933e7f81
commit 38755fd648
2 changed files with 18 additions and 1 deletions

View File

@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema targetNamespace="https://tunnelbroker.net/"
xmlns="https://tunnelbroker.net/"
xmlns:heIPv6="https://tunnelbroker.net/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:include schemaLocation="../../lib/elements/he_ipv6.xsd"/>
<!-- ROOT -->
<xs:element name="heIPv6">
<xs:complexType>
<xs:all>
<xs:element name="creds" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="cred" type="e_he_ipv6_cred" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="tunnels" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="tunnel" minOccurs="1" maxOccurs="unbounded" type="e_he_ipv6_tunnel">
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:unique name="uniq_tun">
<xs:selector xpath="heIPv6:tunnel"/>
<xs:field xpath="@id"/>
</xs:unique>
</xs:element>
</xs:all>
</xs:complexType>
<!--
I have tried and tried to do document-wide unique constraints of alloc addrs and client addrs etc., but to no avail.
I keep getting e.g.:
Element '{http://www.w3.org/2001/XMLSchema}selector', attribute 'xpath': The XPath expression
'//heIPv6:alloc' could not be compiled.
So it's not idiot-proof.
-->
</xs:element>
</xs:schema>

View File

@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8" ?>
<xs:schema targetNamespace="https://router.r00t2.io/network/"
xmlns="https://router.r00t2.io/network/"
xmlns:networks="https://router.r00t2.io/network/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:element name="networks">
<xs:complexType>
<xs:all>
</xs:all>
</xs:complexType>
</xs:element>
</xs:schema>