Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advertise ipv6 link local address #1402

Merged
merged 3 commits into from
Feb 5, 2021
Merged

Conversation

sumukhatv
Copy link
Contributor

- What I did
Modify the neighbor_advertiser script to advertise ipv6 link local address
This PR resolves sonic-net/sonic-buildimage#6599
- How I did it
Add ipv6 link local address to the slice returned by the neighbor advertiser script
- How to verify it
Added the verification logic to the neighbor_advertiser test
- Previous command output (if the output of a command-line utility has changed)

- New command output (if the output of a command-line utility has changed)

@sumukhatv sumukhatv requested a review from prsunny February 5, 2021 00:54
@lgtm-com
Copy link

lgtm-com bot commented Feb 5, 2021

This pull request introduces 1 alert when merging edc2196 into 5cff775 - view on LGTM.com

new alerts:

  • 1 for Unnecessary pass

ip = IPNetwork(keys[1])
if str(ip.ip).startswith("fe80"):
ipv6_addr.append(str(ip.ip))
ipv6_prefix.append(ip.prefixlen)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For link-local, the prefix length should be always set to 128.

@lgtm-com
Copy link

lgtm-com bot commented Feb 5, 2021

This pull request introduces 1 alert when merging e2ecf4c into a6e322a - view on LGTM.com

new alerts:

  • 1 for Unnecessary pass

@prsunny prsunny requested a review from yxieca February 5, 2021 04:01
@sumukhatv sumukhatv merged commit e6cce21 into sonic-net:master Feb 5, 2021
@sumukhatv sumukhatv deleted the neigh_adv branch February 5, 2021 05:56
abdosi pushed a commit that referenced this pull request Feb 12, 2021
@abdosi
Copy link
Contributor

abdosi commented Feb 12, 2021

@sumukhatv / @prsunny i have cherry-picked in 201911. Test file could not get cherry-picked. Please see if things are fine with python2 and there is no exception.

anand-kumar-subramanian pushed a commit to anand-kumar-subramanian/sonic-utilities that referenced this pull request Mar 2, 2021
@qiluo-msft
Copy link
Contributor

This commit could not be cleanly cherry-pick to 202012. Please submit another PR.

prsunny pushed a commit that referenced this pull request Sep 15, 2021
Modify the neighbor_advertiser script to advertise ipv6 link local address
Master PRs:
*Advertise ipv6 link local address #1402
*Refactor neighbor_advertiser script and use mock for testing #1427
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 28, 2022
603ac53 (HEAD -> 201911, origin/201911) Advertise ipv6 link local address (sonic-net#1402)
9b0680c [acl_loader] Fix default DENY rule for V6 dataplane ACLs (sonic-net#1281)
25e64ce [show] Fix `show ip bgp sum` (sonic-net#1194)
4709da0 Revert "Add FW dump with new SAI implementation (sonic-net#1298)" (sonic-net#1408)

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Neighbor Advertiser] IPv6 link-local not advertised
4 participants