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

documentation details #290

Open
FlorianHeigl opened this issue Aug 1, 2022 · 2 comments
Open

documentation details #290

FlorianHeigl opened this issue Aug 1, 2022 · 2 comments

Comments

@FlorianHeigl
Copy link

FlorianHeigl commented Aug 1, 2022

please be so kind to give a working example for config.ini. I'm sure I'm thinking too complicated but so far the README.md only tells us that we can set common parameters in it, but not the actual variable names for those parameters. in fact, it is not mentioned anywhere at all.
also, if it were an .ini format, you'd need a [section] heading, which is also not known.
The parser in fact expects one though:

  File "/usr/lib64/python3.6/configparser.py", line 1080, in _read
    raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.

the dnssservers script help also mentions one can set multiple, but does not inform about the correct separators. should one try i.e. a comma, they'll get a message that the format (printed to screen as parsed) they used is not a supported one. They do not get any info about what makes a supported format.

@FlorianHeigl
Copy link
Author

FlorianHeigl commented Aug 1, 2022

For the record, I made it as far as this

[ConnectCfg]
bmcip=192.168.70.125
bmcusername=USERID
bmcpassword=PASSW0RD
systemid=""

I have no idea at the moment what the systemid constitutes, but with the above example I can query network info.

@jixj5
Copy link
Contributor

jixj5 commented Aug 2, 2022

Hi,
We're sorry for the confusion this has caused you.
1.systemid
It means ComputerSystem instance id(None: first instance, All: all instances), such as 1, it means /redfish/v1/systems/1 instance.
2.dnssservers
You can specify up to 3 DNS servers, use space to seperate them. example: 1.1.1.1 1.1.1.2.
We will enhance our help message to inform about the space separators.

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