summaryrefslogtreecommitdiffstats
path: root/tests/topotests/bgp_local_asn_dot
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:56:25 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-05 09:56:25 +0000
commit289582b3dcbeb23328325d224c7db7de66a3a55f (patch)
tree989c36d57aab945c36e34c952f438746ce18b3bd /tests/topotests/bgp_local_asn_dot
parentReleasing progress-linux version 10.0.1-0.1~progress7.99u1. (diff)
downloadfrr-289582b3dcbeb23328325d224c7db7de66a3a55f.tar.xz
frr-289582b3dcbeb23328325d224c7db7de66a3a55f.zip
Merging upstream version 10.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/topotests/bgp_local_asn_dot')
-rw-r--r--tests/topotests/bgp_local_asn_dot/test_bgp_local_asn_dot_agg.py10
-rw-r--r--tests/topotests/bgp_local_asn_dot/test_bgp_local_asn_dot_topo1.py73
2 files changed, 62 insertions, 21 deletions
diff --git a/tests/topotests/bgp_local_asn_dot/test_bgp_local_asn_dot_agg.py b/tests/topotests/bgp_local_asn_dot/test_bgp_local_asn_dot_agg.py
index cb8fa1e..cfaab9b 100644
--- a/tests/topotests/bgp_local_asn_dot/test_bgp_local_asn_dot_agg.py
+++ b/tests/topotests/bgp_local_asn_dot/test_bgp_local_asn_dot_agg.py
@@ -48,7 +48,7 @@ from lib.common_config import (
verify_rib,
step,
check_address_types,
- check_router_status
+ check_router_status,
)
from lib.topolog import logger
@@ -163,7 +163,9 @@ def test_verify_bgp_local_as_agg_in_EBGP_p0(request):
"neighbor": {
neighbor: {
"dest_link": {
- "r3": {"local_asn": {"local_as": "1.110"}}
+ "r3": {
+ "local_asn": {"local_as": "1.110"}
+ }
}
}
}
@@ -190,7 +192,9 @@ def test_verify_bgp_local_as_agg_in_EBGP_p0(request):
"neighbor": {
neighbor: {
"dest_link": {
- dut: {"local_asn": {"remote_as": "1.110"}}
+ dut: {
+ "local_asn": {"remote_as": "1.110"}
+ }
}
}
}
diff --git a/tests/topotests/bgp_local_asn_dot/test_bgp_local_asn_dot_topo1.py b/tests/topotests/bgp_local_asn_dot/test_bgp_local_asn_dot_topo1.py
index e9234f5..bacef47 100644
--- a/tests/topotests/bgp_local_asn_dot/test_bgp_local_asn_dot_topo1.py
+++ b/tests/topotests/bgp_local_asn_dot/test_bgp_local_asn_dot_topo1.py
@@ -229,7 +229,9 @@ def test_verify_bgp_local_as_in_EBGP_p0(request):
"neighbor": {
neighbor: {
"dest_link": {
- "r3": {"local_asn": {"local_as": "1.110"}}
+ "r3": {
+ "local_asn": {"local_as": "1.110"}
+ }
}
}
}
@@ -256,7 +258,9 @@ def test_verify_bgp_local_as_in_EBGP_p0(request):
"neighbor": {
neighbor: {
"dest_link": {
- dut: {"local_asn": {"remote_as": "1.110"}}
+ dut: {
+ "local_asn": {"remote_as": "1.110"}
+ }
}
}
}
@@ -832,7 +836,9 @@ def test_verify_bgp_local_as_GR_EBGP_p0(request):
"neighbor": {
"r2": {
"dest_link": {
- "r3": {"local_asn": {"local_as": "1.110"}}
+ "r3": {
+ "local_asn": {"local_as": "1.110"}
+ }
}
}
}
@@ -861,7 +867,9 @@ def test_verify_bgp_local_as_GR_EBGP_p0(request):
"neighbor": {
"r4": {
"dest_link": {
- "r3": {"local_asn": {"local_as": "1.110"}}
+ "r3": {
+ "local_asn": {"local_as": "1.110"}
+ }
}
}
}
@@ -1395,7 +1403,9 @@ def test_verify_bgp_local_as_in_EBGP_aspath_p0(request):
"neighbor": {
neighbor: {
"dest_link": {
- "r3": {"local_asn": {"local_as": "1.110"}}
+ "r3": {
+ "local_asn": {"local_as": "1.110"}
+ }
}
}
}
@@ -1422,7 +1432,9 @@ def test_verify_bgp_local_as_in_EBGP_aspath_p0(request):
"neighbor": {
neighbor: {
"dest_link": {
- dut: {"local_asn": {"remote_as": "1.110"}}
+ dut: {
+ "local_asn": {"remote_as": "1.110"}
+ }
}
}
}
@@ -1593,7 +1605,10 @@ def test_verify_bgp_local_as_in_EBGP_aspath_p0(request):
{
"action": "permit",
"set": {
- "path": {"as_num": "1.1000 1.1000", "as_action": "prepend"}
+ "path": {
+ "as_num": "1.1000 1.1000",
+ "as_action": "prepend",
+ }
},
}
]
@@ -1778,7 +1793,9 @@ def test_verify_bgp_local_as_in_iBGP_p0(request):
"neighbor": {
"r4": {
"dest_link": {
- "r3": {"local_asn": {"local_as": "1.110"}}
+ "r3": {
+ "local_asn": {"local_as": "1.110"}
+ }
}
}
}
@@ -2137,7 +2154,9 @@ def test_verify_bgp_local_as_allow_as_in_iBGP_p0(request):
"neighbor": {
"r2": {
"dest_link": {
- "r3": {"local_asn": {"local_as": "1.110"}}
+ "r3": {
+ "local_asn": {"local_as": "1.110"}
+ }
}
}
}
@@ -2166,7 +2185,9 @@ def test_verify_bgp_local_as_allow_as_in_iBGP_p0(request):
"neighbor": {
"r4": {
"dest_link": {
- "r3": {"local_asn": {"local_as": "1.110"}}
+ "r3": {
+ "local_asn": {"local_as": "1.110"}
+ }
}
}
}
@@ -2484,7 +2505,9 @@ def test_verify_bgp_local_as_in_EBGP_port_reset_p0(request):
"neighbor": {
neighbor: {
"dest_link": {
- "r3": {"local_asn": {"local_as": "1.110"}}
+ "r3": {
+ "local_asn": {"local_as": "1.110"}
+ }
}
}
}
@@ -2511,7 +2534,9 @@ def test_verify_bgp_local_as_in_EBGP_port_reset_p0(request):
"neighbor": {
neighbor: {
"dest_link": {
- dut: {"local_asn": {"remote_as": "1.110"}}
+ dut: {
+ "local_asn": {"remote_as": "1.110"}
+ }
}
}
}
@@ -2824,7 +2849,9 @@ def test_verify_bgp_local_as_in_EBGP_negative2_p0(request):
"neighbor": {
neighbor: {
"dest_link": {
- "r3": {"local_asn": {"local_as": "1.110"}}
+ "r3": {
+ "local_asn": {"local_as": "1.110"}
+ }
}
}
}
@@ -2851,7 +2878,9 @@ def test_verify_bgp_local_as_in_EBGP_negative2_p0(request):
"neighbor": {
neighbor: {
"dest_link": {
- dut: {"local_asn": {"remote_as": "1.110"}}
+ dut: {
+ "local_asn": {"remote_as": "1.110"}
+ }
}
}
}
@@ -3164,7 +3193,9 @@ def test_verify_bgp_local_as_in_EBGP_negative3_p0(request):
"neighbor": {
neighbor: {
"dest_link": {
- "r3": {"local_asn": {"local_as": "1.110"}}
+ "r3": {
+ "local_asn": {"local_as": "1.110"}
+ }
}
}
}
@@ -3191,7 +3222,9 @@ def test_verify_bgp_local_as_in_EBGP_negative3_p0(request):
"neighbor": {
neighbor: {
"dest_link": {
- dut: {"local_asn": {"remote_as": "1.110"}}
+ dut: {
+ "local_asn": {"remote_as": "1.110"}
+ }
}
}
}
@@ -3354,7 +3387,9 @@ def test_verify_bgp_local_as_in_EBGP_restart_daemons_p0(request):
"neighbor": {
neighbor: {
"dest_link": {
- "r3": {"local_asn": {"local_as": "1.110"}}
+ "r3": {
+ "local_asn": {"local_as": "1.110"}
+ }
}
}
}
@@ -3381,7 +3416,9 @@ def test_verify_bgp_local_as_in_EBGP_restart_daemons_p0(request):
"neighbor": {
neighbor: {
"dest_link": {
- dut: {"local_asn": {"remote_as": "1.110"}}
+ dut: {
+ "local_asn": {"remote_as": "1.110"}
+ }
}
}
}