Implement ssd_util plugin for Arista products (#11981)

Why I did it
Some Arista products do not have an SSD but use an eMMC instead.
The SsdUtil plugin is therefore extended to support both.

How I did it
Implemented ssd_util.py platform plugin loaded by ssdutil.
This plugin fallback to the default SONiC implementation if the arista one can't be found.

How to verify it
Run show platform ssdhealth on a product with an eMMC
This commit is contained in:
Samuel Angebault 2022-09-21 08:56:14 +02:00 committed by Ying Xie
parent 3d620370f7
commit 366ded2936

View File

@ -0,0 +1,5 @@
# pylint: disable=unused-import
try:
from arista.utils.sonic_ssd import SsdUtil
except ImportError:
from sonic_platform_base.sonic_ssd.ssd_generic import SsdUtil