diff options
author | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-04-01 14:55:53 +0100 |
---|---|---|
committer | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-04-01 16:26:39 +0100 |
commit | eeb257b6f812a0415e3ecfa7c10245c97efaa886 (patch) | |
tree | 8573cebdcf918ea67c09e560e91424cce3d337af /src/conf_mode/flow_accounting_conf.py | |
parent | 18c7ed34520a806de26316370ed9938e733e090e (diff) | |
download | vyos-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/conf_mode/flow_accounting_conf.py')
0 files changed, 0 insertions, 0 deletions