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

[muxorch] return true if the nbr IP is in the skip_neighbors list #2407

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

Ndancejic
Copy link
Contributor

Orchagent was not programming neighbor IP to h/w L3 host table during
initialization because they were set as Standby. When the links became
active, SoC IPs were added to the skip_neighbors_ list and never
programmed. fix:

  • Added public method MuxCable::getSkipNeighborsSet()
  • check if nbr is in skip_neighbors_ when checking if cable is Active

Signed-off-by: Nikola Dancejic ndancejic@microsoft.com

related to: #2369

Orchagent was not programming neighbor IP to h/w L3 host table during
initialization because they were set as Standby. When the links became
active, SoC IPs were added to the skip_neighbors_ list and never
programmed. fix:

- Added public method MuxCable::getSkipNeighborsSet()
- check if nbr is in skip_neighbors_ when checking if cable is Active

Signed-off-by: Nikola Dancejic <ndancejic@microsoft.com>
@Ndancejic Ndancejic requested a review from prsunny as a code owner August 4, 2022 20:53
@linux-foundation-easycla
Copy link

CLA Missing ID CLA Not Signed

Copy link
Collaborator

@prsunny prsunny left a comment

Choose a reason for hiding this comment

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

Changes lgtm. Can you add a test as well?

@prsunny
Copy link
Collaborator

prsunny commented Aug 5, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@prsunny
Copy link
Collaborator

prsunny commented Aug 5, 2022

@Ndancejic , are the test failures due to the change?

@Ndancejic
Copy link
Contributor Author

Ndancejic commented Aug 8, 2022

/easycla

@prsunny
Copy link
Collaborator

prsunny commented Aug 8, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@prsunny
Copy link
Collaborator

prsunny commented Aug 9, 2022

/easycla

@yxieca yxieca merged commit 2cb70a3 into sonic-net:master Aug 9, 2022
yxieca pushed a commit that referenced this pull request Aug 9, 2022
)

Orchagent was not programming neighbor IP to h/w L3 host table during
initialization because they were set as Standby. When the links became
active, SoC IPs were added to the skip_neighbors_ list and never
programmed. fix:

- Added public method MuxCable::getSkipNeighborsSet()
- check if nbr is in skip_neighbors_ when checking if cable is Active

Signed-off-by: Nikola Dancejic <ndancejic@microsoft.com>

Co-authored-by: Ubuntu <dancejic@dancejic-vm.tmcjvzftiwdebn3deov5sqribb.xx.internal.cloudapp.net>
Ndancejic added a commit to Ndancejic/sonic-swss that referenced this pull request Aug 16, 2022
PR sonic-net#2407 added a check which returned true in isNeighborActive if it is
in the skip_neighbors_ list, but only checked for Mux in Subnet. This
extends that check to Mux Ports and Nexthop Muxes.

Signed-off-by: Nikola Dancejic <ndancejic@microsoft.com>
prsunny pushed a commit that referenced this pull request Aug 17, 2022
…() (#2415)

* [muxorch] Returning true if nbr in skip_neighbor_ in isNeighborActive()

PR #2407 added a check which returned true in isNeighborActive if it is
in the skip_neighbors_ list, but only checked for Mux in Subnet. This
extends that check to Mux Ports and Nexthop Muxes.
yxieca pushed a commit that referenced this pull request Aug 17, 2022
…() (#2415)

* [muxorch] Returning true if nbr in skip_neighbor_ in isNeighborActive()

PR #2407 added a check which returned true in isNeighborActive if it is
in the skip_neighbors_ list, but only checked for Mux in Subnet. This
extends that check to Mux Ports and Nexthop Muxes.
yxieca pushed a commit that referenced this pull request Aug 18, 2022
…() (#2415)

* [muxorch] Returning true if nbr in skip_neighbor_ in isNeighborActive()

PR #2407 added a check which returned true in isNeighborActive if it is
in the skip_neighbors_ list, but only checked for Mux in Subnet. This
extends that check to Mux Ports and Nexthop Muxes.
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.

None yet

4 participants