forked from FRRouting/frr
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
topotests: add bgp test to check the ADJ-RIB-OUT label value
This test ensures that when r1 changes the label value, then the new value is automatically propagated to remote peer. This demonstrates that the ADJ-RIB-OUT to r2 has been correctly updated. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com> Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
- Loading branch information
1 parent
33d2e18
commit 6f1e250
Showing
2 changed files
with
84 additions
and
0 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
tests/topotests/bgp_vpnv4_ebgp/r2/bgp_ipv4_vpn_route_1723101.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,50 @@ | ||
{ | ||
"444:1":{ | ||
"prefix":"172.31.0.1/32", | ||
"advertisedTo":{ | ||
"192.168.0.1":{ | ||
} | ||
}, | ||
"paths":[ | ||
{ | ||
"aspath":{ | ||
"string":"65500", | ||
"segments":[ | ||
{ | ||
"type":"as-sequence", | ||
"list":[ | ||
65500 | ||
] | ||
} | ||
], | ||
"length":1 | ||
}, | ||
"origin":"incomplete", | ||
"metric":0, | ||
"valid":true, | ||
"bestpath":{ | ||
"overall":true, | ||
"selectionReason":"First path received" | ||
}, | ||
"extendedCommunity":{ | ||
"string":"RT:52:101" | ||
}, | ||
"remoteLabel":102, | ||
"nexthops":[ | ||
{ | ||
"ip":"192.168.0.1", | ||
"afi":"ipv4", | ||
"metric":0, | ||
"accessible":true, | ||
"used":true | ||
} | ||
], | ||
"peer":{ | ||
"peerId":"192.168.0.1", | ||
"routerId":"192.0.2.1", | ||
"type":"external" | ||
} | ||
} | ||
] | ||
} | ||
} |
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