OpenIxia/Tokalabs
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Tokalabs: sdloAssistant.py By: Hubert Gee A library that sends Tokalabs REST APIs from your client to the Tokalabs controller. This repo includes a Python script that reserves and releases a sandbox called reserveSandbox.py. This reservation script isn't the only style. Just an example. This example takes in two args: 1> -sandbox 2> -reserve or -release The Sandbox yml file should have the followings: sdloControllerIp: 10.10.10.2 <-- The Tokalabs controller IP user: admin <-- Tokalabs login password: password <-- Tokalabs login password sandbox: testbed_1 <-- The name of a sandbox Usage: To reserve a sandbox: python reserveSandbox.py -sandbox testbed_1.yml -reserve To release a sandbox: python reserveSandbox.py -sandbox testbed_1.yml -release The sdloAssistant.py library has many more common configuration APIs. Please open it up to explore all the functions.