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/vpp_papi_provider.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/vpp_papi_provider.py')
-rw-r--r-- | test/vpp_papi_provider.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/test/vpp_papi_provider.py b/test/vpp_papi_provider.py index ed2eee1dc84..91832b57e4f 100644 --- a/test/vpp_papi_provider.py +++ b/test/vpp_papi_provider.py @@ -12,22 +12,9 @@ from collections import deque from six import moves, iteritems from vpp_papi import VPP, mac_pton from hook import Hook -from vpp_l2 import L2_PORT_TYPE from vpp_ip_route import MPLS_IETF_MAX_LABEL, MPLS_LABEL_INVALID -class L2_VTR_OP: - L2_DISABLED = 0 - L2_PUSH_1 = 1 - L2_PUSH_2 = 2 - L2_POP_1 = 3 - L2_POP_2 = 4 - L2_TRANSLATE_1_1 = 5 - L2_TRANSLATE_1_2 = 6 - L2_TRANSLATE_2_1 = 7 - L2_TRANSLATE_2_2 = 8 - - class QOS_SOURCE: EXT = 0 VLAN = 1 |