-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: bgp_vpnv4_route_leak_basic add del static prefix
In bgp_vpnv4_route_leak_basic, remove and add back the static prefix 172.16.3.0/24 on VRF DONNA. Before the previous fixes, the 172.16.3.0/24 prefix re-appeared when it was added back in the VPN table but it was marked as invalid. Signed-off-by: Louis Scalbert <[email protected]>
- Loading branch information
1 parent
ce6e95c
commit 7712a51
Showing
7 changed files
with
308 additions
and
0 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
103 changes: 103 additions & 0 deletions
103
tests/topotests/bgp_vpnv4_route_leak_basic/r1/show_bgp_ipv4_vpn_del_donna_prefix.json
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,103 @@ | ||
{ | ||
"routerId": "10.0.4.1", | ||
"localAS": 99, | ||
"routes": { | ||
"routeDistinguishers": { | ||
"10.0.4.1:1": { | ||
"10.0.0.0/24": [ | ||
{ | ||
"valid": true, | ||
"pathFrom": "external", | ||
"path": "", | ||
"origin": "incomplete", | ||
"announceNexthopSelf": true, | ||
"nhVrfName": "DONNA", | ||
"nexthops": [ | ||
{ | ||
"ip": "0.0.0.0", | ||
"hostname": "r1", | ||
"afi": "ipv4", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"10.0.1.0/24": [ | ||
{ | ||
"valid": true, | ||
"pathFrom": "external", | ||
"path": "", | ||
"origin": "incomplete", | ||
"announceNexthopSelf": true, | ||
"nhVrfName": "EVA", | ||
"nexthops": [ | ||
{ | ||
"ip": "0.0.0.0", | ||
"hostname": "r1", | ||
"afi": "ipv4", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"10.0.2.0/24": [ | ||
{ | ||
"valid": true, | ||
"pathFrom": "external", | ||
"path": "", | ||
"origin": "incomplete", | ||
"announceNexthopSelf": true, | ||
"nhVrfName": "DONNA", | ||
"nexthops": [ | ||
{ | ||
"ip": "0.0.0.0", | ||
"hostname": "r1", | ||
"afi": "ipv4", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"10.0.3.0/24": [ | ||
{ | ||
"valid": true, | ||
"pathFrom": "external", | ||
"path": "", | ||
"origin": "incomplete", | ||
"announceNexthopSelf": true, | ||
"nhVrfName": "EVA", | ||
"nexthops": [ | ||
{ | ||
"ip": "0.0.0.0", | ||
"hostname": "r1", | ||
"afi": "ipv4", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"10.0.4.0/24": [ | ||
{ | ||
"valid": true, | ||
"pathFrom": "external", | ||
"path": "", | ||
"origin": "incomplete", | ||
"announceNexthopSelf": true, | ||
"nhVrfName": "default", | ||
"nexthops": [ | ||
{ | ||
"ip": "0.0.0.0", | ||
"hostname": "r1", | ||
"afi": "ipv4", | ||
"used": true | ||
} | ||
] | ||
} | ||
], | ||
"172.16.3.0/24": null, | ||
"172.16.101.0/24": null | ||
} | ||
} | ||
} | ||
} | ||
|
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