Skip to content

[202012][swss] Only run tunnel packet handler on dualtor devices#11626

Merged
theasianpianist merged 1 commit intosonic-net:202012from
theasianpianist:tunnel-pkt-run-202012
Aug 5, 2022
Merged

[202012][swss] Only run tunnel packet handler on dualtor devices#11626
theasianpianist merged 1 commit intosonic-net:202012from
theasianpianist:tunnel-pkt-run-202012

Conversation

@theasianpianist
Copy link
Contributor

@theasianpianist theasianpianist commented Aug 4, 2022

Why I did it

Tunnel packet handler running on non dualtor devices generates error logs

How I did it

At SWSS docker init time, check the device subtype and enable tunnel packet handler only if it is dualtor

How to verify it

  • Apply changes to dualtor device, verify that tunnel packet handler is running after restarting swss
  • Apply changes to non dualtor device, verify that tunnel packet handler is not running and does not show in supervisorctl status after restarting swss (verified on both T0 and T1 devices)
  • The SWSS docker built from this PR has been validated on both dualtor and non-dualtor devices

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Lawrence Lee <lawlee@microsoft.com>
@theasianpianist theasianpianist changed the base branch from master to 202012 August 4, 2022 21:03
@theasianpianist theasianpianist requested a review from prsunny August 4, 2022 22:07
@theasianpianist theasianpianist changed the title [202012] Only run tunnel packet handler on dualtor devices [202012][swss] Only run tunnel packet handler on dualtor devices Aug 4, 2022
@theasianpianist theasianpianist merged commit 663bf00 into sonic-net:202012 Aug 5, 2022
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.

2 participants