[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"
This commit is contained in:
Nico Schottelius 2019-02-26 15:37:41 +01:00
parent 67afa855d0
commit 5bd7eb57a6

View file

@ -91,6 +91,7 @@ class L2Controller(object):
# https://en.wikipedia.org/wiki/Solicited-node_multicast_address # https://en.wikipedia.org/wiki/Solicited-node_multicast_address
ndp_prefix = "ff02::1:ff00:0/104" ndp_prefix = "ff02::1:ff00:0/104"
ndp_prefix = "ffff:ffff:ffff:ffff:ffff:ffff:ff00:0/104"
all_ports = range(1,5) all_ports = range(1,5)
# create multicast nodes # create multicast nodes