summaryrefslogtreecommitdiffstats
path: root/test/vpp_ip_route.py
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-01-24 04:52:25 -0800
committerNeale Ranns <nranns@cisco.com>2019-01-25 19:54:49 +0000
commit311124e21b9b8ca11073d82408ffb81d98790969 (patch)
tree22b615488ec5bf0c9aac73a6716bcdeeccd5d80b /test/vpp_ip_route.py
parent9e47ac54c9fbc6eb7caf0998df50a3114b64ee11 (diff)
IPSEC: tests use opbject registry
this means we test the dumps - to some extent Change-Id: I8d90745701012012b41a7b3aaf9be97b4dd2bdf8 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'test/vpp_ip_route.py')
-rw-r--r--test/vpp_ip_route.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/vpp_ip_route.py b/test/vpp_ip_route.py
index d024f10c5e7..b3d12938d99 100644
--- a/test/vpp_ip_route.py
+++ b/test/vpp_ip_route.py
@@ -279,13 +279,13 @@ class VppRoutePath(object):
is_dvr=0,
next_hop_id=0xffffffff,
proto=DpoProto.DPO_PROTO_IP4):
+ self.proto = proto
self.nh_itf = nh_sw_if_index
self.nh_table_id = nh_table_id
self.nh_via_label = nh_via_label
self.nh_labels = labels
self.weight = 1
self.rpf_id = rpf_id
- self.proto = proto
if self.proto is DpoProto.DPO_PROTO_IP6:
self.nh_addr = inet_pton(AF_INET6, nh_addr)
elif self.proto is DpoProto.DPO_PROTO_IP4: