Tests: Trivial. Define constants once.

Change-Id: Iaf106962598d04708e8740e016d5c55ff35432c9
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
This commit is contained in:
Paul Vinciguerra
2019-03-17 08:42:58 -07:00
committed by Neale Ranns
parent e2e8f02165
commit b5f15bddc5

View File

@ -15,10 +15,7 @@ from vpp_papi import VPP, mac_pton
from hook import Hook
from vpp_l2 import L2_PORT_TYPE
# from vnet/vnet/mpls/mpls_types.h
MPLS_IETF_MAX_LABEL = 0xfffff
MPLS_LABEL_INVALID = MPLS_IETF_MAX_LABEL + 1
from vpp_ip_route import MPLS_IETF_MAX_LABEL, MPLS_LABEL_INVALID
class L2_VTR_OP: