From 95c0ca42f2d02e7562775f7c1e6535a586a26186 Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Thu, 28 Mar 2019 13:07:00 -0700 Subject: 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 --- test/test_vtr.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'test/test_vtr.py') diff --git a/test/test_vtr.py b/test/test_vtr.py index d69dd20dc51..63e1cc7ae05 100644 --- a/test/test_vtr.py +++ b/test/test_vtr.py @@ -9,8 +9,7 @@ from scapy.layers.inet import IP, UDP from util import Host from framework import VppTestCase, VppTestRunner -from vpp_sub_interface import VppDot1QSubint, VppDot1ADSubint -from vpp_papi_provider import L2_VTR_OP +from vpp_sub_interface import L2_VTR_OP, VppDot1QSubint, VppDot1ADSubint from collections import namedtuple Tag = namedtuple('Tag', ['dot1', 'vlan']) -- cgit 1.2.3-korg