Skip to content
Snippets Groups Projects
Commit 8be73c6e authored by Erik Reid's avatar Erik Reid
Browse files

allow attribute 'inactive' on interface descriptions

parent c48d67fa
Branches
Tags
No related merge requests found
...@@ -15,12 +15,21 @@ CONFIG_SCHEMA = """<?xml version="1.1" encoding="UTF-8" ?> ...@@ -15,12 +15,21 @@ CONFIG_SCHEMA = """<?xml version="1.1" encoding="UTF-8" ?>
<xs:anyAttribute processContents="skip" /> <xs:anyAttribute processContents="skip" />
</xs:complexType> </xs:complexType>
<!-- NOTE: 'unit' content isn't validated --> <!-- NOTE: 'unit' content isn't validated -->
<xs:complexType name="juniper-interface"> <xs:complexType name="juniper-interface">
<xs:sequence> <xs:sequence>
<xs:choice minOccurs="1" maxOccurs="unbounded"> <xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string" /> <xs:element name="name" minOccurs="1" maxOccurs="1" type="xs:string" />
<xs:element name="description" minOccurs="0" maxOccurs="1" type="xs:string" /> <xs:element name="description" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="inactive" type="xs:string" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" /> <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</xs:choice> </xs:choice>
</xs:sequence> </xs:sequence>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment