diff options
author | Chris Luke <chrisy@flirble.org> | 2016-06-24 20:38:06 -0400 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2016-06-30 15:19:27 +0000 |
commit | bfd32fddb32a0927f85081c4a2364f5b3da5cfa5 (patch) | |
tree | 30ba98834bfb9c448d281bbd033b7b0c8618f0a2 /plugins/snat-plugin/snat/snat.h | |
parent | 371fa4411048c4f34a3f35dc0398e1b01c6928cd (diff) |
VPP-163 "show ip6 interface" ignores many addresses
The output of the CLI command "show ip6 interface" shows only the first
link-local address and any globally-scoped addresses. It ignores all
other valid address scopes.
This patch reworks that routine to cover the three main address scopes
("link-local", "global" and "local") and anything else it finds is
grouped under "other").
Rationale for this final grouping is that these other addresses fall under
ranges currently either "reserved" or "multicast" in scope. Whilst it's
good to show if these are present, they are not normally found as link
addresses.
DBGvpp# sh ip6 int tap-0
tap-0 is admin down
Link-local address(es):
fe80::e857:7fff:fe77:c1a9/64
Local unicast address(es):
fd50:7389:246b:4321::2/64
Joined group address(es):
ff02::1
ff02::2
ff02::16
ff02::1:ff77:c1a9
ff02::1:ff00:2
...
Change-Id: I1d750b3b39c54aa4eb75632d53089640601bcba5
Signed-off-by: Chris Luke <chrisy@flirble.org>
Diffstat (limited to 'plugins/snat-plugin/snat/snat.h')
0 files changed, 0 insertions, 0 deletions