summaryrefslogtreecommitdiff
path: root/tests/topotests/ospfv3_basic_functionality/test_ospfv3_single_area.py
diff options
context:
space:
mode:
authorDonald Sharp <donaldsharp72@gmail.com>2022-08-12 20:29:47 -0400
committerGitHub <noreply@github.com>2022-08-12 20:29:47 -0400
commit0b368b50dd359fcc2972fc2be0cc62390b55211d (patch)
tree9e5de2b22e4b915c7683cb6731fe5964ab437584 /tests/topotests/ospfv3_basic_functionality/test_ospfv3_single_area.py
parentb481e15d7e38dcfc48ca2b00e5a19bb8be7248eb (diff)
parent97b4474de1ccc3b3b7eaad28c418fa5b5e6088c3 (diff)
Merge pull request #11785 from opensourcerouting/fix/remove_ospf6Enabled_from_JSON
ospf6d: Remove ospf6Enabled from JSON output
Diffstat (limited to 'tests/topotests/ospfv3_basic_functionality/test_ospfv3_single_area.py')
-rw-r--r--tests/topotests/ospfv3_basic_functionality/test_ospfv3_single_area.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_single_area.py b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_single_area.py
index c9824e79c5..d318ec0906 100644
--- a/tests/topotests/ospfv3_basic_functionality/test_ospfv3_single_area.py
+++ b/tests/topotests/ospfv3_basic_functionality/test_ospfv3_single_area.py
@@ -183,7 +183,7 @@ def test_ospfv3_p2p_tc3_p0(request):
step("Verify that interface is enabled in ospf.")
step("Verify that config is successful.")
dut = "r0"
- input_dict = {"r0": {"links": {"r3": {"ospf6": {"ospf6Enabled": True}}}}}
+ input_dict = {"r0": {"links": {"r3": {"ospf6": {}}}}}
result = verify_ospf6_interface(tgen, topo, dut=dut, input_dict=input_dict)
assert result is True, "Testcase {} : Failed \n Error: {}".format(tc_name, result)
@@ -339,7 +339,7 @@ def test_ospfv3_p2p_tc3_p0(request):
assert result is True, "Testcase {} :Failed \n Error: {}".format(tc_name, result)
step("Verify that interface is enabled in ospf.")
dut = "r0"
- input_dict = {"r0": {"links": {"r3": {"ospf6": {"ospf6Enabled": True}}}}}
+ input_dict = {"r0": {"links": {"r3": {"ospf6": {}}}}}
result = verify_ospf6_interface(tgen, topo, dut=dut, input_dict=input_dict)
assert result is True, "Testcase {} : Failed \n Error: {}".format(tc_name, result)
@@ -374,7 +374,7 @@ def test_ospfv3_p2p_tc3_p0(request):
step("Verify that interface is enabled in ospf.")
dut = "r0"
- input_dict = {"r0": {"links": {"r3": {"ospf6": {"ospf6Enabled": True}}}}}
+ input_dict = {"r0": {"links": {"r3": {"ospf6": {}}}}}
result = verify_ospf6_interface(tgen, topo, dut=dut, input_dict=input_dict)
assert result is True, "Testcase {} : Failed \n Error: {}".format(tc_name, result)
@@ -1172,7 +1172,6 @@ def test_ospfv3_show_p1(request):
"ospf6": {
"status": "up",
"type": "BROADCAST",
- "ospf6Enabled": True,
"attachedToArea": True,
"instanceId": 0,
"interfaceMtu": 1500,