sonic-net / sonic-mgmt

Configuration management examples for SONiC
Other
173 stars 689 forks source link

stop_and_start_lldpmgrd should be tested for lldp0/lldp1 since lldp was removed from the host #13579

Open mannytaheri opened 3 days ago

mannytaheri commented 3 days ago

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