-
Notifications
You must be signed in to change notification settings - Fork 659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fwutil]: Add firmware management utility #520
Conversation
|
||
try: | ||
platform_fwutil_class = getattr(module, PLATFORM_SPECIFIC_CLASS_NAME) | ||
platform_fwutil = platform_fwutil_class() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
where does this fwutil class defined?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you add this platform v2 api for this in the sonic-platform-common api?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, I will do it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@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 wgetbumr@celestica.com