-
JORGE SASIAIN authoredJORGE SASIAIN authored
index.rst 1.32 KiB
NAT Resource Management
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