Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
e2e8f02
)
Tests: Trivial. Define constants once.
50/18350/2
author
Paul Vinciguerra
<pvinci@vinciconsulting.com>
Sun, 17 Mar 2019 15:42:58 +0000
(08:42 -0700)
committer
Neale Ranns
<nranns@cisco.com>
Mon, 18 Mar 2019 14:06:38 +0000
(14:06 +0000)
Change-Id: Iaf106962598d04708e8740e016d5c55ff35432c9
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
test/vpp_papi_provider.py
patch
|
blob
|
history
diff --git
a/test/vpp_papi_provider.py
b/test/vpp_papi_provider.py
index
98fbb2f
..
95c22dd
100644
(file)
--- a/
test/vpp_papi_provider.py
+++ b/
test/vpp_papi_provider.py
@@
-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: