test bfd - DPO_PROTO_IP6 is part of DpoProto 21/8921/2
authorGabriel Ganne <gabriel.ganne@enea.com>
Thu, 19 Oct 2017 07:54:46 +0000 (09:54 +0200)
committerDave Barach <openvpp@barachs.net>
Sat, 21 Oct 2017 14:39:40 +0000 (14:39 +0000)
Change-Id: I63d336a1ba366a60a2a8f1124e3f37f742cccb65
Signed-off-by: Gabriel Ganne <gabriel.ganne@enea.com>
test/test_bfd.py

index 4cb6d37..8fb00cf 100644 (file)
@@ -1678,12 +1678,12 @@ class BFDFIBTestCase(VppTestCase):
         ip_2001_s_64 = VppIpRoute(self, "2001::", 64,
                                   [VppRoutePath(self.pg0.remote_ip6,
                                                 self.pg0.sw_if_index,
-                                                proto=DPO_PROTO_IP6)],
+                                                proto=DpoProto.DPO_PROTO_IP6)],
                                   is_ip6=1)
         ip_2002_s_64 = VppIpRoute(self, "2002::", 64,
                                   [VppRoutePath(self.pg0.remote_ip6,
                                                 0xffffffff,
-                                                proto=DPO_PROTO_IP6)],
+                                                proto=DpoProto.DPO_PROTO_IP6)],
                                   is_ip6=1)
         ip_2001_s_64.add_vpp_config()
         ip_2002_s_64.add_vpp_config()