Skip to content

Commit

Permalink
Schema changes for bgp as service.
Browse files Browse the repository at this point in the history
For details, please refer:
https://bugs.launchpad.net/juniperopenstack/+bug/1649707/comments/17

Change-Id: I05b5936a264bb0f619e03a84e5532b2d46a356f6
Closes-bug: #1649707
  • Loading branch information
manishsing committed Jun 27, 2017
1 parent 69d4f95 commit 00173ac
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions src/schema/vnc_cfg.xsd
Expand Up @@ -1100,6 +1100,43 @@ targetNamespace="http://www.contrailsystems.com/2012/VNC-CONFIG/0">
Property('enable-security-logging', 'global-vrouter-config', 'optional', 'CRUD',
'Enable or disable security-logging in the system') -->

<xsd:complexType name="BgpAsServiceGlobalConfig">
<xsd:element name="extended-port-start" type="xsd:integer"/>
<xsd:annotation>
<xsd:documentation>
When BGP as service object is shared across multiple VMI, more ports are
needed to identify the session. However bgp router config object has
only one port. To handle this there is an extended port range created.
Other than original port present in bgp config object, new ports
for same config are derived(using original port) from the extended
range.
extended-port-start is the start of that range.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="extended-port-end" type="xsd:integer"/>
<xsd:annotation>
<xsd:documentation>
When BGP as service object is shared across multiple VMI, more ports are
needed to identify the session. However bgp router config object has
only one port. To handle this there is an extended port range created.
Other than original port present in bgp config object, new ports
for same config are derived(using original port) from the extended
range.
extended-port-end is the end of that range.
</xsd:documentation>
</xsd:annotation>
<xsd:element name="max-shared" type="xsd:integer"/>
<xsd:annotation>
<xsd:documentation>
Maximum number of shared VMI supported on single bgp-as-service object.
</xsd:documentation>
</xsd:annotation>
</xsd:complexType>
<xsd:element name="bgp-as-service-global-config" type="BgpAsServiceGlobalConfig"/>
<!--#IFMAP-SEMANTICS-IDL
Property('bgp-as-service-global-config', 'global-vrouter-config', 'optional', 'CRUD',
'Bgp as service global configuration parameters') -->

<xsd:element name="global-qos-config" type="ifmap:IdentityType"/>
<!--Identifier "global-qos-config" is used to hang global QoS properties
for vhost interface and fabric traffic
Expand Down Expand Up @@ -2170,6 +2207,15 @@ targetNamespace="http://www.contrailsystems.com/2012/VNC-CONFIG/0">
<!--#IFMAP-SEMANTICS-IDL
Property('bgpaas-suppress-route-advertisement', 'bgp-as-a-service', 'optional', 'CRUD',
'True when server should not advertise any routes to the client i.e. the client has static routes (typically a default) configured.') -->
<xsd:element name='bgpaas-shared' type='xsd:boolean'/>
<xsd:annotation>
<xsd:documentation>
Used to indicate if bgpaas object can be shared across multiple VMI.
</xsd:documentation>
</xsd:annotation>
<!--#IFMAP-SEMANTICS-IDL
Property('bgpaas-shared', 'bgp-as-a-service', 'required', 'CRUD',
'Determines if bgpaas object can be shred across VMI') -->

<xsd:element name="virtual-router" type="ifmap:IdentityType"/>
<xsd:element name="global-system-config-virtual-router"/>
Expand Down

0 comments on commit 00173ac

Please sign in to comment.