Closed targuan closed 6 years ago
FYI, we agreed on /10 for link-local addresses after reviewing some documents on it:
https://github.com/napalm-automation/napalm-base/issues/304
A bit of ambiguity on whether we should use /64 or /10 for this.
Only other comment I have is that I need to verify how we handle secondary addresses by default. In other words, whether we do anything to differentiate between a secondary or primary address in the returned data structure.
Thanks for your feebacks. I've updated my PR according to your remarks.
The secondary address form is correct. So this should be right.
Fix #204 As proposed in the issue by ktbyers I used
show ip[v6] interface
.I changed the documentation of get_interfaces_ip in the code as N/A was not accepted on link-local ipv6 prefix_length because it was not an integer. I replaced N/A by 64 which seems to be the prefix length of such addresses.