sonic-buildimage/device/nokia/x86_64-nokia_ixr7250e_36x400g-r0/plugins/led_control.py
Marty Y. Lok f33b659aff Added Nokia IXR7250E support (#7809)
Why I did it
Support Nokia ixr7250E IMM and Supervisor cards

How I did it
Added modules x86_64-nokia_ixr7250e_sup-r0 and x86_64-nokia_ixr7250e_36x400g-r0 ../device/nokia directory.
Modified the platform/broadcom/one-image.mk to include NOKIA_IXR7250_PLATFORM_MODULE
Modified the platform/broadcom/rule.mk to include the platform-module-nokia.mk
2021-08-25 12:21:39 -07:00

18 lines
364 B
Python

#
# Name: led_control.py, version: 1.0
#
# Description: Module contains the Nokia specific LED control
# class object creation.
#
# Copyright (c) 2019, Nokia
# All rights reserved.
#
try:
from platform_ndk import nokia_led_mgmt
except ImportError as e:
raise ImportError("%s - required module not found" % e)
LedControl = nokia_led_mgmt.getLedControl()