366ded2936
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
6 lines
168 B
Python
6 lines
168 B
Python
# pylint: disable=unused-import
|
|
try:
|
|
from arista.utils.sonic_ssd import SsdUtil
|
|
except ImportError:
|
|
from sonic_platform_base.sonic_ssd.ssd_generic import SsdUtil
|