diff options
Diffstat (limited to 'tests/topotests/bgp_rfapi_basic_sanity/customize.py')
| -rw-r--r-- | tests/topotests/bgp_rfapi_basic_sanity/customize.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/topotests/bgp_rfapi_basic_sanity/customize.py b/tests/topotests/bgp_rfapi_basic_sanity/customize.py index 8835ea16c7..a125c6582f 100644 --- a/tests/topotests/bgp_rfapi_basic_sanity/customize.py +++ b/tests/topotests/bgp_rfapi_basic_sanity/customize.py @@ -3,8 +3,9 @@ # # Part of NetDEF Topology Tests # -# Copyright (c) 2017 by +# Copyright (c) 2017-2018 by # Network Device Education Foundation, Inc. ("NetDEF") +# Modified by LabN Consulting, L.L.C. # # Permission to use, copy, modify, and/or distribute this software # for any purpose with or without fee is hereby granted, provided @@ -103,9 +104,9 @@ class ThisTestTopo(Topo): switch[1].add_link(tgen.gears['r3'], nodeif='r3-eth0') switch[1].add_link(tgen.gears['r4'], nodeif='r4-eth0') - switch[1] = tgen.add_switch('sw2') - switch[1].add_link(tgen.gears['r2'], nodeif='r2-eth2') - switch[1].add_link(tgen.gears['r3'], nodeif='r3-eth1') + switch[2] = tgen.add_switch('sw2') + switch[2].add_link(tgen.gears['r2'], nodeif='r2-eth2') + switch[2].add_link(tgen.gears['r3'], nodeif='r3-eth1') def ltemplatePreRouterStartHook(): cc = ltemplateRtrCmd() |
