sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
730 stars 1.4k forks source link

Create a Python library to house common general SONiC-related APIs #4999

Open jleveque opened 4 years ago

jleveque commented 4 years ago

There is currently a lot of duplicated code in many SONiC repos, and other shared code is located in various packages. We need to centralize this common functionality in a Python library which resides in sonic-buildimage that we can import from sonic-daemon-base, sonic-utilities, sonic-platform-common, sonic-platform-daemons, etc., and eliminate duplicate code in the process. Examples of this functionality include:

Plan of action:

jleveque commented 4 years ago

First step toward resolving this: https://github.com/Azure/sonic-buildimage/pull/5003