summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp_rfapi_basic_sanity/customize.py
diff options
context:
space:
mode:
authorLou Berger <lberger@labn.net>2018-08-28 16:18:13 +0000
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-11-27 20:22:14 -0500
commitccabd6181957dbcba8a5b0bc41df93b998870825 (patch)
tree35b6afaa4f45fa9652af59fcbd425d518deaaf69 /tests/topotests/bgp_rfapi_basic_sanity/customize.py
parent197d4fdad45db084523650d110d3440a6d63d0c5 (diff)
bgp_rfapi_basic_sanity: address PR comments (copyright, switch)
Signed-off-by: Lou Berger <lberger@labn.net>
Diffstat (limited to 'tests/topotests/bgp_rfapi_basic_sanity/customize.py')
-rw-r--r--tests/topotests/bgp_rfapi_basic_sanity/customize.py9
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()