summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_prefix_sid2
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp_prefix_sid2')
-rw-r--r--tests/topotests/bgp_prefix_sid2/peer1/exabgp.cfg46
-rw-r--r--tests/topotests/bgp_prefix_sid2/r1/bgpd.conf3
-rw-r--r--tests/topotests/bgp_prefix_sid2/r1/vpnv6_rib_entry1.json4
-rw-r--r--tests/topotests/bgp_prefix_sid2/r1/vpnv6_rib_entry2.json4
4 files changed, 24 insertions, 33 deletions
diff --git a/tests/topotests/bgp_prefix_sid2/peer1/exabgp.cfg b/tests/topotests/bgp_prefix_sid2/peer1/exabgp.cfg
index 3819179..7a291a3 100644
--- a/tests/topotests/bgp_prefix_sid2/peer1/exabgp.cfg
+++ b/tests/topotests/bgp_prefix_sid2/peer1/exabgp.cfg
@@ -1,29 +1,27 @@
-group controller {
- neighbor 10.0.0.1 {
- router-id 10.0.0.101;
- local-address 10.0.0.101;
- local-as 2;
- peer-as 1;
+neighbor 10.0.0.1 {
+ router-id 10.0.0.101;
+ local-address 10.0.0.101;
+ local-as 2;
+ peer-as 1;
- family {
- ipv6 mpls-vpn;
- }
+ family {
+ ipv6 mpls-vpn;
+ }
- static {
- route 2001:1::/64 {
- rd 2:10;
- next-hop 2001::2;
- extended-community [ target:2:10 ];
- label 3;
- attribute [0x28 0xc0 0x050019000100150020010db800010001000000000000000100ffff00 ];
- }
- route 2001:2::/64 {
- rd 2:10;
- next-hop 2001::2;
- extended-community [ target:2:10 ];
- label 3;
- attribute [0x28 0xc0 0x050019000100150020010db800010001000000000000000100ffff00 ];
- }
+ static {
+ route 2001:1::/64 {
+ rd 2:10;
+ next-hop 2001::2;
+ extended-community [ target:2:10 ];
+ label 3;
+ attribute [0x28 0xc0 0x050019000100150020010db800010001000000000000000100ffff00 ];
+ }
+ route 2001:2::/64 {
+ rd 2:10;
+ next-hop 2001::2;
+ extended-community [ target:2:10 ];
+ label 3;
+ attribute [0x28 0xc0 0x050019000100150020010db800010001000000000000000100ffff00 ];
}
}
}
diff --git a/tests/topotests/bgp_prefix_sid2/r1/bgpd.conf b/tests/topotests/bgp_prefix_sid2/r1/bgpd.conf
index ddc1f07..b3ca0e1 100644
--- a/tests/topotests/bgp_prefix_sid2/r1/bgpd.conf
+++ b/tests/topotests/bgp_prefix_sid2/r1/bgpd.conf
@@ -1,5 +1,4 @@
log stdout notifications
-log monitor notifications
!log commands
!
!debug bgp zebra
@@ -22,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
diff --git a/tests/topotests/bgp_prefix_sid2/r1/vpnv6_rib_entry1.json b/tests/topotests/bgp_prefix_sid2/r1/vpnv6_rib_entry1.json
index 42293b1..65c51f1 100644
--- a/tests/topotests/bgp_prefix_sid2/r1/vpnv6_rib_entry1.json
+++ b/tests/topotests/bgp_prefix_sid2/r1/vpnv6_rib_entry1.json
@@ -1,10 +1,6 @@
{
"2:10":{
"prefix":"2001:1::\/64",
- "advertisedTo":{
- "10.0.0.101":{
- }
- },
"paths":[
{
"aspath":{
diff --git a/tests/topotests/bgp_prefix_sid2/r1/vpnv6_rib_entry2.json b/tests/topotests/bgp_prefix_sid2/r1/vpnv6_rib_entry2.json
index c9ad871..4a12c2a 100644
--- a/tests/topotests/bgp_prefix_sid2/r1/vpnv6_rib_entry2.json
+++ b/tests/topotests/bgp_prefix_sid2/r1/vpnv6_rib_entry2.json
@@ -1,10 +1,6 @@
{
"2:10":{
"prefix":"2001:2::\/64",
- "advertisedTo":{
- "10.0.0.101":{
- }
- },
"paths":[
{
"aspath":{