Skip to content

Commit

Permalink
More schema changes for BGPaaS
Browse files Browse the repository at this point in the history
Change-Id: I48465a3bd2d4cb7a9739510789d8e6c247b76bdc
Related-Bug: 1518047
  • Loading branch information
Sachin Bansal committed Nov 25, 2015
1 parent c563fef commit 75d4b3d
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions src/schema/vnc_cfg.xsd
Expand Up @@ -1288,13 +1288,19 @@ targetNamespace="http://www.contrailsystems.com/2012/VNC-CONFIG/0">
'logical-interface', 'virtual-machine-interface', ['ref']) -->

<xsd:element name="bgp-as-a-service" type="ifmap:IdentityType"/>
<!--#IFMAP-SEMANTICS-IDL
Link('virtual-network-bgpaas', 'virtual-network', 'bgp-as-a-service',
['has']) -->
<xsd:element name="bgpaas-ip-address" type="IpAddressType"/>
<!--#IFMAP-SEMANTICS-IDL
Property('bgpaas-ip-address', 'bgp-as-a-service') -->
<xsd:element name="bgpaas-session-attributes" type="BgpSessionAttributes"/>
<!--#IFMAP-SEMANTICS-IDL
Property('bgpaas-session-attributes', 'bgp-as-a-service') -->

<xsd:element name="virtual-router" type="ifmap:IdentityType"/>
<xsd:element name="global-system-config-virtual-router"/>
<!--#IFMAP-SEMANTICS-IDL
<!--#IFMAP-SEMANTICS-IDL
Link('global-system-config-virtual-router',
'global-system-config', 'virtual-router', ['has']) -->
<xsd:element name="virtual-router-ip-address" type="IpAddressType"/>
Expand All @@ -1306,33 +1312,33 @@ targetNamespace="http://www.contrailsystems.com/2012/VNC-CONFIG/0">
<xsd:element name="port" type="xsd:integer"/>
</xsd:complexType>
<xsd:element name="bgp-as-a-service-parameters" type="BgpAsAServiceParameters"/>
<!--#IFMAP-SEMANTICS-IDL
<!--#IFMAP-SEMANTICS-IDL
Property('bgp-as-a-service-parameters', 'bgp-router') -->

<xsd:element name="virtual-router-virtual-machine"/>
<!--#IFMAP-SEMANTICS-IDL
<!--#IFMAP-SEMANTICS-IDL
Link('virtual-router-virtual-machine',
'virtual-router', 'virtual-machine', ['ref']) -->

<xsd:element name="virtual-network-routing-instance"/>
<!--#IFMAP-SEMANTICS-IDL
<!--#IFMAP-SEMANTICS-IDL
Exclude('virtual-network-routing-instance', ['backend']);
Link('virtual-network-routing-instance',
'virtual-network', 'bgp:routing-instance', ['has', 'derived']) -->
<xsd:element name="customer-attachment-virtual-machine-interface"/>
<!--#IFMAP-SEMANTICS-IDL
<!--#IFMAP-SEMANTICS-IDL
Exclude('customer-attachment-virtual-machine-interface',
['backend', 'frontend']);
Link('customer-attachment-virtual-machine-interface',
'bgp:customer-attachment', 'virtual-machine-interface', ['ref']) -->
<xsd:element name="customer-attachment-floating-ip"/>
<!--#IFMAP-SEMANTICS-IDL
<!--#IFMAP-SEMANTICS-IDL
Exclude('customer-attachment-floating-ip',
['backend', 'frontend']);
Link('customer-attachment-floating-ip',
'bgp:customer-attachment', 'floating-ip', ['ref']) -->
<xsd:element name="provider-attachment-virtual-router"/>
<!--#IFMAP-SEMANTICS-IDL
<!--#IFMAP-SEMANTICS-IDL
Exclude('provider-attachment-virtual-router',
['backend', 'frontend']);
Link('provider-attachment-virtual-router',
Expand Down

0 comments on commit 75d4b3d

Please sign in to comment.