topotests: convert bgp_prefix_sid2 to exabgp 4

Convert bgp_prefix_sid2 to exabgp 4

Do not advertise prefixes to exabgp to avoid an issue where exabgp
resets the bgp session with the following notification:

> invalid ipv6 mpls-vpn next-hop length 48 expected 24 or 40

Signed-off-by: Louis Scalbert <louis.scalbert@6wind.com>
This commit is contained in:
Louis Scalbert 2023-11-27 17:04:32 +01:00
parent 811ad11a7e
commit 5533f18dc6
4 changed files with 24 additions and 32 deletions

View File

@ -1,4 +1,3 @@
group controller {
neighbor 10.0.0.1 {
router-id 10.0.0.101;
local-address 10.0.0.101;
@ -26,4 +25,3 @@ group controller {
}
}
}
}

View File

@ -21,5 +21,7 @@ router bgp 1
!
address-family ipv6 vpn
neighbor 10.0.0.101 activate
neighbor 10.0.0.101 route-map DENY_ALL out
exit-address-family
!
route-map DENY_ALL deny 10

View File

@ -1,10 +1,6 @@
{
"2:10":{
"prefix":"2001:1::\/64",
"advertisedTo":{
"10.0.0.101":{
}
},
"paths":[
{
"aspath":{

View File

@ -1,10 +1,6 @@
{
"2:10":{
"prefix":"2001:2::\/64",
"advertisedTo":{
"10.0.0.101":{
}
},
"paths":[
{
"aspath":{