diff options
author | Vratko Polak <vrpolak@cisco.com> | 2019-07-10 16:18:26 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-07-10 20:16:59 +0000 |
commit | 7b0e8a9dee0f874c4b7317e9132064dbab8fd34a (patch) | |
tree | 6363b0625c9b00a1e9eea0bd45d027353dc464f2 /resources/libraries/python/TestConfig.py | |
parent | 82094363f6077e1b28845719db3a6191c0c93a99 (diff) |
Fix few pylint violations
+ Stop attempting to check test/ as module inits are not there.
Change-Id: Ia4e498061be3e3118b07e98c9c2f761f2454653e
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python/TestConfig.py')
-rw-r--r-- | resources/libraries/python/TestConfig.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/libraries/python/TestConfig.py b/resources/libraries/python/TestConfig.py index 1f8af5d457..a5bd5650a2 100644 --- a/resources/libraries/python/TestConfig.py +++ b/resources/libraries/python/TestConfig.py @@ -132,11 +132,11 @@ class TestConfig(object): ip=src_ip, ip_len=128 if src_ip.version == 6 else 32)) commands.append( - 'vxlan_add_del_tunnel src {src_ip} dst {dst_ip} vni {vni}\n' - .format(src_ip=src_ip, dst_ip=dst_ip, + 'vxlan_add_del_tunnel src {srcip} dst {dstip} vni {vni}\n'\ + .format(srcip=src_ip, dstip=dst_ip, vni=vni_start + i)) commands.append( - 'create_vlan_subif sw_if_index {sw_idx} vlan {vlan}\n' + 'create_vlan_subif sw_if_index {sw_idx} vlan {vlan}\n'\ .format(sw_idx=Topology.get_interface_sw_index( node, node_vlan_if), vlan=i + 1)) VatExecutor().write_and_execute_script(node, tmp_fn, commands) |