Skip to content

Commit

Permalink
tests: test nexthop-local unchanged with reflector
Browse files Browse the repository at this point in the history
Test nexthop-local unchanged with route-reflector.

Signed-off-by: Louis Scalbert <[email protected]>
  • Loading branch information
louis-6wind committed Oct 11, 2024
1 parent 5f035ed commit 1005c14
Show file tree
Hide file tree
Showing 6 changed files with 273 additions and 38 deletions.
64 changes: 56 additions & 8 deletions tests/topotests/bgp_nexthop_ipv6/r1/show_bgp_ipv6_step1.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@
"ip": "fd00:0:2::2",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:r2:eth-sw",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -48,7 +54,13 @@
"ip": "fd00:0:2::4",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:r4:eth-sw",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -61,7 +73,13 @@
"ip": "fd00:0:3::5",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:rr:eth-sw",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -74,7 +92,13 @@
"ip": "fd00:0:4::6",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:rr:eth-sw",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -100,7 +124,13 @@
"ip": "fd00:0:2::2",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:r2:eth-sw",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -126,7 +156,13 @@
"ip": "fd00:0:2::4",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:r4:eth-sw",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -139,7 +175,13 @@
"ip": "fd00:0:3::5",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:rr:eth-sw",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -152,7 +194,13 @@
"ip": "fd00:0:4::6",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:rr:eth-sw",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand Down
64 changes: 56 additions & 8 deletions tests/topotests/bgp_nexthop_ipv6/r2/show_bgp_ipv6_step1.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@
"ip": "fd00:0:2::1",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:r1:eth-sw",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand Down Expand Up @@ -48,7 +54,13 @@
"ip": "fd00:0:2::4",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:r4:eth-sw",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -61,7 +73,13 @@
"ip": "fd00:0:3::5",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:rr:eth-sw",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -74,7 +92,13 @@
"ip": "fd00:0:4::6",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:rr:eth-sw",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -87,7 +111,13 @@
"ip": "fd00:0:2::1",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:r1:eth-sw",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand Down Expand Up @@ -126,7 +156,13 @@
"ip": "fd00:0:2::4",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:r4:eth-sw",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -139,7 +175,13 @@
"ip": "fd00:0:3::5",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:rr:eth-sw",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -152,7 +194,13 @@
"ip": "fd00:0:4::6",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:rr:eth-sw",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand Down
16 changes: 2 additions & 14 deletions tests/topotests/bgp_nexthop_ipv6/r5/show_bgp_ipv6_step1.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,7 @@
"ip": "fd00:0:3::9",
"hostname": "rr",
"afi": "ipv6",
"scope": "global"
},
{
"ip": "link-local:rr:eth-r5",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"scope": "global",
"used": true
}
]
Expand Down Expand Up @@ -155,13 +149,7 @@
"ip": "fd00:0:3::9",
"hostname": "rr",
"afi": "ipv6",
"scope": "global"
},
{
"ip": "link-local:rr:eth-r5",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"scope": "global",
"used": true
}
]
Expand Down
64 changes: 56 additions & 8 deletions tests/topotests/bgp_nexthop_ipv6/r6/show_bgp_ipv6_step1.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,13 @@
"ip": "fd00:0:2::1",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:rr:eth-r6",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -22,7 +28,13 @@
"ip": "fd00:0:2::2",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:rr:eth-r6",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -48,7 +60,13 @@
"ip": "fd00:0:2::4",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:rr:eth-r6",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -61,7 +79,13 @@
"ip": "fd00:0:3::5",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:rr:eth-r6",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -87,7 +111,13 @@
"ip": "fd00:0:2::1",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:rr:eth-r6",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -100,7 +130,13 @@
"ip": "fd00:0:2::2",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:rr:eth-r6",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -126,7 +162,13 @@
"ip": "fd00:0:2::4",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:rr:eth-r6",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand All @@ -139,7 +181,13 @@
"ip": "fd00:0:3::5",
"hostname": "rr",
"afi": "ipv6",
"scope": "global",
"scope": "global"
},
{
"ip": "link-local:rr:eth-r6",
"hostname": "rr",
"afi": "ipv6",
"scope": "link-local",
"used": true
}
]
Expand Down
Loading

0 comments on commit 1005c14

Please sign in to comment.