diff options
| author | ckishimo <carles.kishimoto@gmail.com> | 2021-01-08 10:36:31 +0100 |
|---|---|---|
| committer | ckishimo <carles.kishimoto@gmail.com> | 2021-01-12 11:18:22 +0100 |
| commit | 65980a022453a26bafc80eecbea26297d18db7e1 (patch) | |
| tree | a8ffee8ada4891e8b93f5b92929617a885f45bf7 /tests/topotests/ospf_basic_functionality/test_ospf_lan.py | |
| parent | c6b59ef48c5eb0d7ebfceba33d14a5c95031ff11 (diff) | |
tests: remove old def for redistribution in ospf
Signed-off-by: ckishimo <carles.kishimoto@gmail.com>
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_lan.py')
| -rw-r--r-- | tests/topotests/ospf_basic_functionality/test_ospf_lan.py | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/topotests/ospf_basic_functionality/test_ospf_lan.py b/tests/topotests/ospf_basic_functionality/test_ospf_lan.py index d611c0539f..331f48bdea 100644 --- a/tests/topotests/ospf_basic_functionality/test_ospf_lan.py +++ b/tests/topotests/ospf_basic_functionality/test_ospf_lan.py @@ -183,42 +183,6 @@ def teardown_module(): pass -def red_static(dut, config=True): - """Local def for Redstribute static routes inside ospf.""" - global topo - tgen = get_topogen() - if config: - ospf_red = {dut: {"ospf": {"redistribute": [{"redist_type": "static"}]}}} - else: - ospf_red = { - dut: { - "ospf": { - "redistribute": [{"redist_type": "static", "del_action": True}] - } - } - } - result = create_router_ospf(tgen, topo, ospf_red) - assert result is True, "Testcase : Failed \n Error: {}".format(result) - - -def red_connected(dut, config=True): - """Local def for Redstribute connected routes inside ospf.""" - global topo - tgen = get_topogen() - if config: - ospf_red = {dut: {"ospf": {"redistribute": [{"redist_type": "connected"}]}}} - else: - ospf_red = { - dut: { - "ospf": { - "redistribute": [{"redist_type": "connected", "del_action": True}] - } - } - } - result = create_router_ospf(tgen, topo, ospf_red) - assert result is True, "Testcase: Failed \n Error: {}".format(result) - - def redistribute(dut, route_type, **kwargs): """Local def for redstribution of routes inside ospf.""" global topo |
