Connect to the cloud
| Parameters: |
|
|---|---|
| Returns: | CloudManagement object |
Execute high-level text command with specified destructor
| Parameters: |
|
|---|
Registers ansible modules by provided paths
Allows to use custom ansible modules in NodeCollection.run_task method
| Parameters: | path – list of paths to folders with ansible modules |
|---|
Execute task on specified hosts within the cloud.
| Parameters: |
|
|---|---|
| Returns: | Ansible execution result (list of records) |
Get nodes in the cloud
This function returns NodesCollection representing all nodes in the cloud or only those that has specified FQDNs. :param fqdns list of FQDNs or None to retrieve all nodes :return: NodesCollection
Get service with specified name
| Parameters: | name – name of the serives |
|---|---|
| Returns: | Service |
Lists all networks supported by nodes returned by this driver
| Returns: | [String] list of network names |
|---|
Lists all services supported by this driver
| Returns: | [String] list of service names |
|---|
Verify connection to the cloud.
Pause service execution
Send SIGSTOP to Service into network on all nodes or on particular subset. If sec is defined - it mean Service will be stopped for a wile.
| Parameters: |
|
|---|
Get nodes where this Service is running
| Returns: | NodesCollection |
|---|
Terminate Service abruptly on all nodes or on particular subset
| Parameters: | nodes – NodesCollection |
|---|
Plug Service into network on all nodes or on particular subset
| Parameters: | nodes – NodesCollection |
|---|
Restart Service on all nodes or on particular subset
| Parameters: | nodes – NodesCollection |
|---|
Start Service on all nodes or on particular subset
| Parameters: | nodes – NodesCollection |
|---|
Terminate Service gracefully on all nodes or on particular subset
| Parameters: | nodes – NodesCollection |
|---|
Resume service execution
Send SIGCONT to Service into network on all nodes or on particular subset.
| Parameters: | nodes – NodesCollection |
|---|
Unplug Service out of network on all nodes or on particular subset
| Parameters: | nodes – NodesCollection |
|---|
Connect nodes to <network_name> network
| Parameters: | network_name – name of network |
|---|
Disconnect nodes from <network_name> network
| Parameters: | network_name – name of network |
|---|
Fill all node’s RAM
Pick one Node out of collection
| Returns: | NodeCollection consisting just one node |
|---|
Power off all nodes abruptly
Power on all nodes abruptly
Reboot all nodes gracefully
Reset (cold restart) all nodes
Revert snapshot for all nodes
Run ansible task on node colection
| Parameters: |
|
|---|---|
| Returns: | AnsibleExecutionRecord with results of task |
Create snapshot for all nodes