diff options
author | Paul Vinciguerra <pvinci@vinciconsulting.com> | 2019-03-28 13:07:00 -0700 |
---|---|---|
committer | Neale Ranns <nranns@cisco.com> | 2019-03-29 19:33:33 +0000 |
commit | 95c0ca42f2d02e7562775f7c1e6535a586a26186 (patch) | |
tree | 73d1eaa17af6a1315c36d5985b87b320e055ca1a /test/test_gbp.py | |
parent | 63d3ac6789740d58884aa4f7c91a96f592ae79d7 (diff) |
tests: test/vpp_l2.py fix missing name.
test/vpp_l2.py:213:26: F821 undefined name 'L2_VTR_OP'
self.itf.set_vtr(L2_VTR_OP.L2_DISABLED)
Move L2_VTR_OP enum to vpp_sub_interface.py where the VTR code is found.
Change-Id: I9eb9a3a2c679813c221ce1d0c4fa8aac6076c443
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'test/test_gbp.py')
-rw-r--r-- | test/test_gbp.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/test_gbp.py b/test/test_gbp.py index c5f5192ea7e..17e9f93e938 100644 --- a/test/test_gbp.py +++ b/test/test_gbp.py @@ -20,10 +20,9 @@ from vpp_ip_route import VppIpRoute, VppRoutePath, VppIpTable, \ VppIpInterfaceAddress, VppIpInterfaceBind, find_route from vpp_l2 import VppBridgeDomain, VppBridgeDomainPort, \ VppBridgeDomainArpEntry, VppL2FibEntry, find_bridge_domain_port, VppL2Vtr -from vpp_sub_interface import VppDot1QSubint +from vpp_sub_interface import L2_VTR_OP, VppDot1QSubint from vpp_ip import VppIpAddress, VppIpPrefix from vpp_papi import VppEnum, MACAddress -from vpp_papi_provider import L2_VTR_OP from vpp_vxlan_gbp_tunnel import find_vxlan_gbp_tunnel, INDEX_INVALID, \ VppVxlanGbpTunnel from vpp_neighbor import VppNeighbor |