Skip to content
Snippets Groups Projects
Commit 6f4b4545 authored by JORGE SASIAIN's avatar JORGE SASIAIN
Browse files

Update index.rst

parent 3df39993
No related branches found
No related tags found
No related merge requests found
...@@ -10,6 +10,35 @@ Documentation for the NAT Resource Management tools ...@@ -10,6 +10,35 @@ Documentation for the NAT Resource Management tools
------------------ ------------------
Configuration file format
---------------------
The following example indicates the schema for the configuration file required to call the Resource Management client::
{
"mysql":{
"username":"mydbuser",
"password":"mydbpass",
"hostname":"localhost",
"dbname":"mydb"
},
"router":{
"username":"user",
"password":"pass",
"private-key":"/path/to/private/key"
"ssh-config":"/path/to/ssh-config"
}
}
All "mysql" parameters are mandatory. For "router", username is mandatory, and either password or private-key must be provided. ssh-config is optional.
Excuting the client
---------------------
To create a new router from its fqdn::
python3 cli.py create --config /path/to/resource_management_config.json --fqdn test.example.com
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment