summaryrefslogtreecommitdiffstats
path: root/test/test_ip_mcast.py
diff options
context:
space:
mode:
authorNeale Ranns <neale.ranns@cisco.com>2018-10-04 08:36:56 -0700
committerDave Barach <openvpp@barachs.net>2018-10-04 17:50:59 +0000
commit3e42ebe6ab460ba3eb0a6e334c084c9a669fbc4f (patch)
treec13869d45c47f7067a693cc87f43b261e1380ded /test/test_ip_mcast.py
parent2329e090fc4c158988d4f14b1edb6a8623149679 (diff)
MFIB-API: when programming an (S,G) fix the grp-len
Change-Id: I97052d29080501de53fe95499c860faf0765e81d Signed-off-by: Neale Ranns <neale.ranns@cisco.com>
Diffstat (limited to 'test/test_ip_mcast.py')
-rw-r--r--test/test_ip_mcast.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_ip_mcast.py b/test/test_ip_mcast.py
index 1a39e9a9d81..cca4f802089 100644
--- a/test/test_ip_mcast.py
+++ b/test/test_ip_mcast.py
@@ -217,7 +217,7 @@ class TestIPMcast(VppTestCase):
route_1_1_1_1_232_1_1_1 = VppIpMRoute(
self,
"1.1.1.1",
- "232.1.1.1", 64,
+ "232.1.1.1", 27, # any grp-len is ok when src is set
MRouteEntryFlags.MFIB_ENTRY_FLAG_NONE,
[VppMRoutePath(self.pg0.sw_if_index,
MRouteItfFlags.MFIB_ITF_FLAG_ACCEPT),
@@ -425,7 +425,7 @@ class TestIPMcast(VppTestCase):
route_2001_ff01_1 = VppIpMRoute(
self,
"2001::1",
- "ff01::1", 256,
+ "ff01::1", 0, # any grp-len is ok when src is set
MRouteEntryFlags.MFIB_ENTRY_FLAG_NONE,
[VppMRoutePath(self.pg0.sw_if_index,
MRouteItfFlags.MFIB_ITF_FLAG_ACCEPT,