Skip to content
Permalink
Browse files

bgp_rfapi_basic_sanity: address PR comments (copyright, switch)

Signed-off-by: Lou Berger <lberger@labn.net>
  • Loading branch information...
louberger committed Aug 28, 2018
1 parent 6be4cf9 commit 4e07b3becead224d4f954a4f43a74137a7638106
Showing with 5 additions and 4 deletions.
  1. +5 −4 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 @@ def build(self, *_args, **_opts):
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()

0 comments on commit 4e07b3b

Please sign in to comment.
You can’t perform that action at this time.