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: enable verbose flag #504

Draft
wants to merge 2 commits into
base: P11_Dev
Choose a base branch
from

Conversation

branupama
Copy link

No description provided.

The API reads the keyword’s value for a given DBus object path or
hardware path. Stores the result to user given path if provided
otherwise shows the result on console.

Only read keyword’s value from DBus and printing result on the
console is implemented in this commit.

Test result:
'''
root@p10bmc:/tmp# ./vpd-tool -O /system/chassis/motherboard -R VSYS -K BR -r
{
    "/system/chassis/motherboard": {
        "BR": "S0"
    }
}
'''

Signed-off-by: Anupama B R <[email protected]>
This commit adds code to enable verbose flag in vpd-tool. Verbose flag
is used for displaying all logs, including error logs in vpd-tool
application.

This commit enables all the logs related to read keyword’s value.

Signed-off-by: Anupama B R <[email protected]>
@branupama branupama marked this pull request as draft November 25, 2024 09:21
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.

1 participant