summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorThomas Mangin <thomas.mangin@exa.net.uk>2020-04-01 14:55:53 +0100
committerThomas Mangin <thomas.mangin@exa.net.uk>2020-04-01 16:26:39 +0100
commiteeb257b6f812a0415e3ecfa7c10245c97efaa886 (patch)
tree8573cebdcf918ea67c09e560e91424cce3d337af /src/tests
parent18c7ed34520a806de26316370ed9938e733e090e (diff)
downloadvyos-1x-eeb257b6f812a0415e3ecfa7c10245c97efaa886.tar.gz
vyos-1x-eeb257b6f812a0415e3ecfa7c10245c97efaa886.zip
validate: T2182: IPv6 normalisation and % in interface name
The IPv6 address can be expressed in different ways: (for example all these are valid loopback ::1, 0::1, 0:0::0:001) The IPv6 need to be normalised when tested, and the best way to do this is to test it on-wire representation, the same can be done for IPv4. Also The interface name which returned by netifaces.ifaddresses can have a % in the 'addr' field, for example '::1%eth0', which would also break the test in is_intf_addr_assigned.
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions