Skip to content
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

Vpd tool write keyword #499

Open
wants to merge 1 commit into
base: 1110
Choose a base branch
from

Conversation

branupama
Copy link

No description provided.

@branupama branupama force-pushed the vpd-tool_WriteKeyword branch from 0e4ffd1 to 66171f7 Compare November 21, 2024 16:05
@branupama branupama marked this pull request as draft November 22, 2024 04:53
@branupama branupama force-pushed the vpd-tool_WriteKeyword branch from 66171f7 to 4792c1c Compare December 9, 2024 11:31
@branupama branupama changed the base branch from P11_Dev to 1110 December 9, 2024 11:31
@branupama branupama force-pushed the vpd-tool_WriteKeyword branch 2 times, most recently from dfcecb9 to 197757b Compare December 12, 2024 17:18
@branupama branupama marked this pull request as ready for review December 12, 2024 17:18
@souvik1914581
Copy link

Whether the user gives Dbus object path or hardware path internally
both primary and backup paths gets updated.

In our current code, For Bonnell like systems, the Backup path doesn't get updated (#516) . We should mention this here?

/**
* @brief API to write keyword's value.
*
* This API writes keyword's value by requesting DBus service(vpd-manager) who

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hosts the 'WriteKeyword' interface to update keyword's value.

WriteKeyword is a DBus method and not an interface?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@branupama
Copy link
Author

Whether the user gives Dbus object path or hardware path internally
both primary and backup paths gets updated.

In our current code, For Bonnell like systems, the Backup path doesn't get updated (#516) . We should mention this here?

Not required here, thats can independently exists as issue if so.

This commit implements VpdTool class writeKeyword API, which send Dbus
request to vpd-manager Dbus service, who hosts the writeKeyword
method to update keyword's value.

Whether the user gives Dbus object path or hardware path, primary and
backup, redundant EEPROM(if any) paths will get updated with given key
value.

Testing:
Tested for both DBus object path and EEPROM path’s, observed that
keyword’s values get updated in both primary and secondary paths.

Signed-off-by: Anupama B R <[email protected]>
@branupama branupama force-pushed the vpd-tool_WriteKeyword branch from ce1fb9e to 59ff39e Compare December 13, 2024 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants