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:
parent
3d620370f7
commit
366ded2936
5
device/arista/x86_64-arista_common/plugins/ssd_util.py
Normal file
5
device/arista/x86_64-arista_common/plugins/ssd_util.py
Normal 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
|
Loading…
Reference in New Issue
Block a user