Skip to content

Commit

Permalink
[sonic-cfggen]: fix bgpd and zebra template for sonic-cfggen test
Browse files Browse the repository at this point in the history
I took the original patch (bebb7a0) into 201803 branch need to also
adapt the patch since we do not have commit (d423841) in 201803 branch.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
  • Loading branch information
lguohan committed May 2, 2018
1 parent 8a5013b commit b29d835
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
36 changes: 18 additions & 18 deletions src/sonic-config-engine/tests/sample_output/bgpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ router bgp 65100
network fc00:1::32/64
exit-address-family
network 192.168.0.1/27
neighbor 10.0.0.57 remote-as 64600
neighbor 10.0.0.57 description ARISTA01T1
address-family ipv4
neighbor 10.0.0.57 allowas-in 1
neighbor 10.0.0.57 activate
maximum-paths 64
exit-address-family
neighbor 10.0.0.59 remote-as 64600
neighbor 10.0.0.59 description ARISTA02T1
address-family ipv4
Expand All @@ -55,25 +48,25 @@ router bgp 65100
neighbor 10.0.0.63 activate
maximum-paths 64
exit-address-family
neighbor fc00::7a remote-as 64600
neighbor fc00::7a description ARISTA03T1
address-family ipv6
neighbor fc00::7a allowas-in 1
neighbor fc00::7a activate
maximum-paths 64
exit-address-family
neighbor fc00::7e remote-as 64600
neighbor fc00::7e description ARISTA04T1
address-family ipv6
neighbor fc00::7e allowas-in 1
neighbor fc00::7e activate
maximum-paths 64
exit-address-family
neighbor fc00::72 remote-as 64600
neighbor fc00::72 description ARISTA01T1
neighbor fc00::7a remote-as 64600
neighbor fc00::7a description ARISTA03T1
address-family ipv6
neighbor fc00::72 allowas-in 1
neighbor fc00::72 activate
neighbor fc00::7a allowas-in 1
neighbor fc00::7a activate
maximum-paths 64
exit-address-family
neighbor 10.0.0.57 remote-as 64600
neighbor 10.0.0.57 description ARISTA01T1
address-family ipv4
neighbor 10.0.0.57 allowas-in 1
neighbor 10.0.0.57 activate
maximum-paths 64
exit-address-family
neighbor fc00::76 remote-as 64600
Expand All @@ -83,6 +76,13 @@ router bgp 65100
neighbor fc00::76 activate
maximum-paths 64
exit-address-family
neighbor fc00::72 remote-as 64600
neighbor fc00::72 description ARISTA01T1
address-family ipv6
neighbor fc00::72 allowas-in 1
neighbor fc00::72 activate
maximum-paths 64
exit-address-family
!
maximum-paths 64
!
Expand Down
4 changes: 2 additions & 2 deletions src/sonic-config-engine/tests/sample_output/zebra.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ password zebra
enable password zebra
!
! Enable link-detect (default disabled)
interface PortChannel01
interface PortChannel03
link-detect
!
interface PortChannel02
link-detect
!
interface PortChannel03
interface PortChannel01
link-detect
!
interface PortChannel04
Expand Down

0 comments on commit b29d835

Please sign in to comment.