diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2023-02-01 15:39:18 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-02-01 15:39:18 -0500 |
| commit | 33303f08bf179431326a65f394b76f5c0ca1e71e (patch) | |
| tree | b1d2c5e517de3658dd5e3d90beda169d485d27c1 /tests/topotests/lib/ospf.py | |
| parent | b54ec1733b4cbf52911a3922026bc5112e2810be (diff) | |
| parent | f932966b02478cf3a3dd443d98eea7cc95c8379a (diff) | |
Merge pull request #12713 from opensourcerouting/fix/json_naming_deprecation
*: Drop deprecated incorrect JSON fields with wrong naming
Diffstat (limited to 'tests/topotests/lib/ospf.py')
| -rw-r--r-- | tests/topotests/lib/ospf.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/topotests/lib/ospf.py b/tests/topotests/lib/ospf.py index e7ea7d32ba..59ae1a2559 100644 --- a/tests/topotests/lib/ospf.py +++ b/tests/topotests/lib/ospf.py @@ -1533,11 +1533,11 @@ def verify_ospf_summary(tgen, topo, dut, input_dict, ospf=None, expected=True): ----- input_dict = { "11.0.0.0/8": { - "Summary address": "11.0.0.0/8", - "Metric-type": "E2", - "Metric": 20, - "Tag": 0, - "External route count": 5 + "summaryAddress": "11.0.0.0/8", + "metricType": "E2", + "metric": 20, + "tag": 0, + "externalRouteCount": 5 } } result = verify_ospf_summary(tgen, topo, dut, input_dict) @@ -1586,7 +1586,7 @@ def verify_ospf_summary(tgen, topo, dut, input_dict, ospf=None, expected=True): for ospf_summ, summ_data in ospf_summary_data.items(): if ospf_summ not in show_ospf_json: continue - summary = ospf_summary_data[ospf_summ]["Summary address"] + summary = ospf_summary_data[ospf_summ]["summaryAddress"] if summary in show_ospf_json: for summ in summ_data: |
