Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BGPaaSv2: Parse and process gateway address for bgp peer
Change-Id: Id4e7e2b26ac1650f0426680af233f924ca630668 Partial-Bug: 1552952
- Loading branch information
Nischal Sheth
committed
Mar 7, 2016
1 parent
37b2721
commit 4ada41f
Showing
12 changed files
with
311 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<config> | ||
<bgp-router name='local'> | ||
<address>192.168.1.1</address> | ||
<autonomous-system>64512</autonomous-system> | ||
<identifier>192.168.1.1</identifier> | ||
</bgp-router> | ||
<routing-instance name="test"> | ||
<vrf-target>target:64512:1</vrf-target> | ||
<bgp-router name='bgpaas-server'> | ||
<router-type>bgpaas-server</router-type> | ||
<autonomous-system>64512</autonomous-system> | ||
<session to='vm1:0'> | ||
<family-attributes> | ||
<address-family>inet</address-family> | ||
</family-attributes> | ||
<family-attributes> | ||
<address-family>inet6</address-family> | ||
</family-attributes> | ||
<family-attributes> | ||
<address-family>inet-vpn</address-family> | ||
</family-attributes> | ||
</session> | ||
<session to='vm2:0'> | ||
<family-attributes> | ||
<address-family>inet</address-family> | ||
</family-attributes> | ||
<family-attributes> | ||
<address-family>inet6</address-family> | ||
</family-attributes> | ||
<family-attributes> | ||
<address-family>inet-vpn</address-family> | ||
</family-attributes> | ||
</session> | ||
</bgp-router> | ||
<bgp-router name='vm1'> | ||
<router-type>bgpaas-client</router-type> | ||
<autonomous-system>65001</autonomous-system> | ||
<address>10.0.0.1</address> | ||
<gateway-address>10.0.0.254</gateway-address> | ||
<ipv6-gateway-address>::ffff:10.0.0.254</ipv6-gateway-address> | ||
<source-port>1024</source-port> | ||
<session to='bgpaas-server:0'> | ||
<family-attributes> | ||
<address-family>inet</address-family> | ||
</family-attributes> | ||
<family-attributes> | ||
<address-family>inet6</address-family> | ||
</family-attributes> | ||
<family-attributes> | ||
<address-family>inet-vpn</address-family> | ||
</family-attributes> | ||
</session> | ||
</bgp-router> | ||
<bgp-router name='vm2'> | ||
<router-type>bgpaas-client</router-type> | ||
<autonomous-system>65002</autonomous-system> | ||
<address>10.0.0.2</address> | ||
<gateway-address>10.0.0.254</gateway-address> | ||
<ipv6-gateway-address>::ffff:10.0.0.254</ipv6-gateway-address> | ||
<source-port>1025</source-port> | ||
<session to='bgpaas-server:0'> | ||
<family-attributes> | ||
<address-family>inet</address-family> | ||
</family-attributes> | ||
<family-attributes> | ||
<address-family>inet6</address-family> | ||
</family-attributes> | ||
<family-attributes> | ||
<address-family>inet-vpn</address-family> | ||
</family-attributes> | ||
</session> | ||
</bgp-router> | ||
</routing-instance> | ||
</config> |
Oops, something went wrong.