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

201911 fixes #4716 show ipv6 interface neighbor_ip N/A issue #938

Closed
wants to merge 1 commit into from
Closed

Conversation

tim-rj
Copy link
Contributor

@tim-rj tim-rj commented Jun 9, 2020

- Why I did it
When exec 'show ipv6 interfaces', the neighbor_ip will always be 'N/A' which will confuse the consumers. After checking we found that this is a show issue. As we know, there will be one local linked IPV6 address for every valid interface. In show/main.py, the interface's ipv6 neighbor ip will always be written by this local linked IPV6's neighbor_ip address which is 'N/A'. And i think this part code of 'show ipv6 interface' was copied from 'show ip interface' before, right? Yea, some change is necessary!
- What I did
This is bug fixing.
- How I did it
Code change.
- How to verify it
upgrate config_db.config attached in sonic-net/sonic-buildimage#4716 and show ipv6 interfaces

@tim-rj tim-rj changed the title 201911 fixes #4716 show ipv6 interfaces issuefix show ipv6 interface neighbor_ip N/A issue 201911 fixes #4716 show ipv6 interface neighbor_ip N/A issue Jun 9, 2020
@prsunny
Copy link
Contributor

prsunny commented Jun 9, 2020

Is this issue happening in master as well? If not, what is the fix in master? Ideally we want to cherry-pick bug fix from master to 201911.

@tim-rj
Copy link
Contributor Author

tim-rj commented Jun 11, 2020

Is this issue happening in master as well? If not, what is the fix in master? Ideally we want to cherry-pick bug fix from master to 201911.

Hi, this issue should exist in master as well, I will try to compile bsp module based on master's kernel as soon as possible. The key point to reproduce is that the port should 'UP' and has a local linked address, then the neighbor_ip will be written by 'N/A' .

@prsunny
Copy link
Contributor

prsunny commented Jun 12, 2020

Ok, then you should be raising the PR to master and can mark for cherry-pick to 201911.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants