holy shit, more restructuring
This commit is contained in:
parent
c4467cc5ea
commit
d221947a89
@ -23,14 +23,16 @@
|
||||
<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="radvd" type="xs:boolean" use="optional" default="false"/>
|
||||
<xs:attribute name="radvdDns" type="xs:boolean" use="optional" default="false"/>
|
||||
<xs:attribute name="raProvider" type="t_he_ipv6_ra_providers" use="optional"/>
|
||||
</xs:complexType>
|
||||
<xs:unique name="uniq_he_assign">
|
||||
<xs:selector xpath=".//*"/>
|
||||
|
@ -17,4 +17,18 @@
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:complexType name="t_he_ipv6_ra">
|
||||
<xs:all>
|
||||
<xs:element name="dns" type="xs:boolean" default="false"/>
|
||||
<xs:element name="dhcpv6" type="xs:boolean" default="false"/>
|
||||
</xs:all>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:simpleType name="t_he_ipv6_ra_providers">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="dnsmasq"/>
|
||||
<xs:enumeration value="radvd"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
|
||||
</xs:schema>
|
||||
|
Loading…
Reference in New Issue
Block a user