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>
This commit is contained in:

committed by
Neale Ranns

parent
63d3ac6789
commit
95c0ca42f2
@ -9,9 +9,8 @@ from scapy.layers.vxlan import VXLAN
|
||||
|
||||
from framework import VppTestCase, VppTestRunner
|
||||
from util import Host, ppp
|
||||
from vpp_sub_interface import VppDot1QSubint, VppDot1ADSubint
|
||||
from vpp_sub_interface import L2_VTR_OP, VppDot1QSubint, VppDot1ADSubint
|
||||
from vpp_gre_interface import VppGreInterface, VppGre6Interface
|
||||
from vpp_papi_provider import L2_VTR_OP
|
||||
from collections import namedtuple
|
||||
|
||||
Tag = namedtuple('Tag', ['dot1', 'vlan'])
|
||||
|
Reference in New Issue
Block a user