Skip to content

Correct the peer forwarding state table#281

Merged
yxieca merged 1 commit intosonic-net:masterfrom
lolyu:fix_peer_state_table
Aug 10, 2022
Merged

Correct the peer forwarding state table#281
yxieca merged 1 commit intosonic-net:masterfrom
lolyu:fix_peer_state_table

Conversation

@lolyu
Copy link
Contributor

@lolyu lolyu commented Aug 10, 2022

Description

Fixes: sonic-net/sonic-linkmgrd#101

ycabled failed to toggle peer forwarding state for active-active ports.
Use ConsumerStateTable to listen to HW_FORWARDING_STATE_PEER.

Signed-off-by: Longxiang Lyu [email protected]

Motivation and Context

As the description

How Has This Been Tested?

On a dualtor-mixed testbed, shutdown a port on upper ToR, verified the lower ToR could toggle the nic_simulator upper ToR forwarding state to standby.

Additional Information (Optional)

@lolyu lolyu requested review from vdahiya12, yxieca and zjswhhh August 10, 2022 08:04
@lolyu
Copy link
Contributor Author

lolyu commented Aug 10, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@yxieca yxieca merged commit c7b7543 into sonic-net:master Aug 10, 2022
yxieca pushed a commit that referenced this pull request Aug 10, 2022
Description
Fixes: sonic-net/sonic-linkmgrd#101

ycabled failed to toggle peer forwarding state for active-active ports.
Use ConsumerStateTable to listen to HW_FORWARDING_STATE_PEER.

Signed-off-by: Longxiang Lyu [email protected]

Motivation and Context
As the description

How Has This Been Tested?
On a dualtor-mixed testbed, shutdown a port on upper ToR, verified the lower ToR could toggle the nic_simulator upper ToR forwarding state to standby.

Signed-off-by: Longxiang Lyu <[email protected]>
dprital added a commit to dprital/sonic-buildimage that referenced this pull request Aug 29, 2022
Update sonic-platform-daemons submodule pointer to include the following:
* [ycabled] enable telemetry for 'active-active'; fix gRPC portid ordering ([sonic-net#284](sonic-net/sonic-platform-daemons#284))
* [ycabled] remove some spurious logs ([sonic-net#282](sonic-net/sonic-platform-daemons#282))
* Correct the peer forwarding state table ([sonic-net#281](sonic-net/sonic-platform-daemons#281))
* add psu input voltage and current ([sonic-net#276](sonic-net/sonic-platform-daemons#276))
* [ycabled] add capability to enable/disable telemetry ([sonic-net#279](sonic-net/sonic-platform-daemons#279))

Signed-off-by: dprital <[email protected]>
lotus-nexthop pushed a commit to lotus-nexthop/sonic-platform-daemons that referenced this pull request Oct 28, 2025
* Skip CDB and VDM for flat memory modules

* Improve code coverage

* Fix test failure

* Fix test failure

* Fix test failure
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.

[active-active] Wrong table name used for toggling PEER's forwarding state

3 participants