Commit d8e27145 authored by Jonathon Duerig's avatar Jonathon Duerig

Added a bgp_prefix top level entity to deal with this global resource...

Added a bgp_prefix top level entity to deal with this global resource temporarily. We should talk at some point about a permanent solution.
parent 3b61ce12
......@@ -161,8 +161,11 @@
<xs:element name="rspec" type="rspec:RSpecContents"/>
<xs:complexType name="RSpecContents">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="rspec:node"/>
<xs:element ref="rspec:link"/>
<xs:element ref="rspec:node"/>
<xs:element ref="rspec:link"/>
<xs:element ref="rspec:bgp_prefix"/>
<xs:attribute name="generated" type="xs:dateTime"/>
<xs:attribute name="valid_until" type="xs:dateTime"/>
......@@ -43,6 +43,12 @@ InterfaceRef &=
RSpecContents &=
attribute type { "advertisement" }
attribute type { "advertisement" } &
BgpPrefix = element bgp_prefix {
attribute address { text } &
attribute netmask { text }
start = RSpec
......@@ -13,4 +13,10 @@
<xs:schema xmlns:xs="" elementFormDefault="qualified" targetNamespace="" xmlns:rspec="">
<xs:include schemaLocation="rspec-ad-common.xsd"/>
<xs:element name="bgp_prefix">
<xs:attribute name="address" use="required"/>
<xs:attribute name="netmask" use="required"/>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment