Since lldp docker was removed from the host on a multi ASIC chassis, stop_and_start_lldpmgrd fails for lldp.
lldp0/lldp1 should be used instead of lldp.
Summary:
Fixes # (issue)
Type of change
[ ] Bug fix
[ ] Testbed and Framework(new/improvement)
[x] Test case(new/improvement)
Back port request
[ ] 202012
[ ] 202205
[ ] 202305
[ ] 202311
[x] 202405
Approach
What is the motivation for this PR?
To use lldp0/lldp1 instead of lldp for stop_and_start_lldpmgrd.
Since lldp was removed from the host for multi ASICs chassis, this fails if we check lldp.
How did you do it?
Randomly choose either lldp0 or lldp1 for stop_and_start_lldpmgrd if the chassis is a multi ASICs.
How did you verify/test it?
Tested on a Multi ASICs chassis
Any platform specific information?
Supported testbed topology if it's a new test case?
Description of PR
Since lldp docker was removed from the host on a multi ASIC chassis, stop_and_start_lldpmgrd fails for lldp. lldp0/lldp1 should be used instead of lldp.
Summary: Fixes # (issue)
Type of change
Back port request
Approach
What is the motivation for this PR?
To use lldp0/lldp1 instead of lldp for stop_and_start_lldpmgrd. Since lldp was removed from the host for multi ASICs chassis, this fails if we check lldp.
How did you do it?
Randomly choose either lldp0 or lldp1 for stop_and_start_lldpmgrd if the chassis is a multi ASICs.
How did you verify/test it?
Tested on a Multi ASICs chassis
Any platform specific information?
Supported testbed topology if it's a new test case?
Documentation