From 5bd7eb57a6d06c77cb733737656279afadfb607f Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 26 Feb 2019 15:37:41 +0100 Subject: [PATCH] [NDP] try different notation of IPv6 address Getting this error: Invalid match key: Error while parsing 1 - Invalid input, could not cast to integer, try in hex with 0x prefix Invalid match key: Error while parsing 2 - Invalid input, could not cast to integer, try in hex with 0x prefix Invalid match key: Error while parsing 3 - Invalid input, could not cast to integer, try in hex with 0x prefix Invalid match key: Error while parsing 4 - Invalid input, could not cast to integer, try in hex with 0x prefix Suspecting that the code is not able to parse "ff02::1:ff00:0/104" --- p4app/controller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/p4app/controller.py b/p4app/controller.py index 4c027b5..c073fa5 100644 --- a/p4app/controller.py +++ b/p4app/controller.py @@ -91,6 +91,7 @@ class L2Controller(object): # https://en.wikipedia.org/wiki/Solicited-node_multicast_address ndp_prefix = "ff02::1:ff00:0/104" + ndp_prefix = "ffff:ffff:ffff:ffff:ffff:ffff:ff00:0/104" all_ports = range(1,5) # create multicast nodes