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

--schema and --required_profiles_dir argument usage confirm #186

Closed
Againxarcher opened this issue Nov 8, 2023 · 2 comments
Closed

--schema and --required_profiles_dir argument usage confirm #186

Againxarcher opened this issue Nov 8, 2023 · 2 comments

Comments

@Againxarcher
Copy link

Againxarcher commented Nov 8, 2023

Hi,

Below are the config file and profile that I used for running the Interop Validator.
interop_file.zip

And here is my command for running the tool.
It looks working and running successfully.

python3 RedfishInteropValidator.py -c ./config/grace_config.ini ./profile/OCPServerHardwareManagement.v1_0_1.json

But I still would like to know how to use --schema and --required_profiles_dir.
As i know the schema should download from here.
image

For --schema, is this for check the profile format?
For --required_profiles_dir, is this will be run with multiple profiles?

And also have one more question for argument "online_profiles".
As my understanding, this will download the profile from internet.
If so, how it works? How do I know the profile is suitable for our service?

@mraineri
Copy link
Contributor

Yes, --schema is used to check that the profile meets the schema definition for profiles. You would point it to a JSON file found in that 8013 file (such as RedfishInteroperabilityProfile.v1_6_0.json).

Yes, --required_profiles_dir is used with you have multiple profiles in question. More specifically, if you have one profile that is including other profiles with the RequiredProfiles term, and those profiles are in a different directory, you would use this argument to let the tool know where to get these referenced profiles.

The intent of online_profiles is to let the tool know if it can download profiles remotely or if it should prefer a local copy. The RequiredProfiles term can contain durable URIs to referenced profiles (the Repository term contains the URI), and if this argument is set to true, the tool can download the profile from the referenced URI. However, this may not work as expected today; there's an older issue (#109) regarding this.

@mraineri
Copy link
Contributor

mraineri commented Jun 7, 2024

Closing; no follow-up questions regarding this subject

@mraineri mraineri closed this as completed Jun 7, 2024
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

No branches or pull requests

2 participants