]> git.proxmox.com Git - mirror_frr.git/commitdiff
bgp_rfapi_basic_sanity: address PR comments (copyright, switch)
authorLou Berger <lberger@labn.net>
Tue, 28 Aug 2018 16:18:13 +0000 (16:18 +0000)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 28 Nov 2018 01:22:14 +0000 (20:22 -0500)
Signed-off-by: Lou Berger <lberger@labn.net>
tests/topotests/bgp_rfapi_basic_sanity/customize.py

index 8835ea16c74e78e7ca6d9e75ed193713a4e33cb3..a125c6582f3cd3e5408806f0b2a6d8e3a742cb9c 100644 (file)
@@ -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()