50 lines
2.0 KiB
XML
50 lines
2.0 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
elementFormDefault="qualified"
|
|
attributeFormDefault="unqualified">
|
|
|
|
<xs:include schemaLocation="../types/net.xsd"/>
|
|
<xs:include schemaLocation="../types/linux.xsd"/>
|
|
<xs:include schemaLocation="../types/he_ipv6.xsd"/>
|
|
|
|
<xs:complexType name="e_he_ipv6_cred">
|
|
<xs:all>
|
|
<xs:element name="user" type="xs:token" minOccurs="1"/>
|
|
<xs:element name="password" type="xs:token" minOccurs="1"/>
|
|
</xs:all>
|
|
<xs:attribute name="id" type="xs:ID" use="required"/>
|
|
</xs:complexType>
|
|
|
|
<xs:complexType name="e_he_ipv6_tunnel">
|
|
<xs:all>
|
|
<xs:element name="updateKey" type="xs:token" minOccurs="1"/>
|
|
<xs:element name="assignments" minOccurs="1" maxOccurs="1">
|
|
<xs:complexType>
|
|
<xs:sequence minOccurs="1" maxOccurs="unbounded">
|
|
<xs:element name="assign" minOccurs="1" maxOccurs="unbounded">
|
|
<xs:complexType>
|
|
<xs:all>
|
|
<xs:element name="ra" type="t_he_ipv6_ra" minOccurs="0" maxOccurs="1"/>
|
|
</xs:all>
|
|
<xs:attribute name="prefix" type="t_he_ipv6_prefix_local" use="optional" default="64"/>
|
|
<xs:attribute name="alloc" type="t_he_ipv6_prefix" use="optional" default="64"/>
|
|
<xs:attribute name="iface" type="t_linux_iface_name" use="required"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
<xs:attribute name="raProvider" type="t_he_ipv6_ra_providers" use="optional"/>
|
|
</xs:complexType>
|
|
<xs:unique name="uniq_he_assign">
|
|
<xs:selector xpath=".//*"/>
|
|
<!-- <xs:field xpath="@prefix"/> -->
|
|
<xs:field xpath="@alloc"/>
|
|
<xs:field xpath="@iface"/>
|
|
</xs:unique>
|
|
</xs:element>
|
|
</xs:all>
|
|
<xs:attribute name="id" type="xs:positiveInteger" use="required"/>
|
|
<xs:attribute name="creds" type="xs:IDREF" use="required"/>
|
|
</xs:complexType>
|
|
|
|
</xs:schema>
|