sonic-net / sonic-platform-daemons

Platform module daemons for SONiC
Other
23 stars 152 forks source link

[ycabled] remove restriction of at least a single physical y_cable to be present for correct start of all ycable threads #468

Open vdahiya12 opened 6 months ago

vdahiya12 commented 6 months ago

Description

This PR is meant to change ycabled logic where there would be no restriction of physically having a cable to be present to launch all threads. The way this is accomplished is removing the presence list param to be removed for all occurrences. This way even if all cables are physically not plugged and ycabled has CONFIG_DB populated than it will be still correctly launch all threads.

Motivation and Context

How Has This Been Tested?

Putting the changes to physical testbed as well as UT

Additional Information (Optional)

prgeor commented 5 months ago

@vdahiya12 can you fix the bulid failure