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

Json key val #2687

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Json key val #2687

wants to merge 2 commits into from

Conversation

ikegami-t
Copy link
Contributor

No description provided.

This is to output a command result as json key and value.

Signed-off-by: Tokunori Ikegami <[email protected]>
This is to use the command result NSID created by TP.

Signed-off-by: Tokunori Ikegami <[email protected]>
@ikegami-t
Copy link
Contributor Author

This is to check the NSID and NS if created correctly by the TP as mentioned by the issue comment #2668 (comment).

@igaw
Copy link
Collaborator

igaw commented Feb 7, 2025

Sorry you lost me here. What's the purpose with these changes?

@ikegami-t
Copy link
Contributor Author

No problem. The purpose is to output the json nsid key and value as below then I think that the TP can check the NS if created correctly. Thank you.

tokunori@tokunori-desktop:~/nvme-cli$ nvme-build create-ns /dev/nvme0 -s -1 -c 1 -f 0 -o json
{
  "create-ns":"Success, created",
  "nsid":"1"
}

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.

2 participants