[fwutil]: Add firmware management utility#520
[fwutil]: Add firmware management utility#520mudsut4ke wants to merge 1 commit intosonic-net:masterfrom
Conversation
|
|
||
| try: | ||
| platform_fwutil_class = getattr(module, PLATFORM_SPECIFIC_CLASS_NAME) | ||
| platform_fwutil = platform_fwutil_class() |
There was a problem hiding this comment.
where does this fwutil class defined?
There was a problem hiding this comment.
This class is defined on device plugin:
sonic-net/sonic-buildimage#2824
|
|
||
|
|
||
| # Loads platform specific fwutil module from source | ||
| def load_platform_fwutil(): |
There was a problem hiding this comment.
can you add this platform v2 api for this in the sonic-platform-common api?
There was a problem hiding this comment.
|
@lguohan , please help review another PR for this feature |
|
@mudsut4ke if my understanding is correct, for now, this utility is only applicable to Celestica platform? If so I would like to suggest adding this utility as platform-specific. Currently, we have a cli group "platform" under "config" command, you may add a subgroup for your platform and make these subgroup only exposed on your platform. |
|
@jleveque Can you review this design ? |
- What I did
- New command syntax:
- Example of command output
Signed-off-by: Wirut Getbamrung [email protected]