module documentation
IP pool related commands
| Function | |
Add a network to the cluster. |
| Function | |
Map a network to a node group. |
| Function | |
Unmap a network from a node group. |
| Function | |
List network fields. |
| Function | |
List Ip pools and their properties. |
| Function | |
Undocumented |
| Function | |
Remove an IP address pool from the cluster. |
| Function | |
Rename a network. |
| Function | |
Modifies an IP address pool's parameters. |
| Function | |
Show network information. |
| Variable | commands |
Undocumented |
| Function | _ |
Gets list of groups to operate on. |
| Function | _ |
Undocumented |
| Constant | _LIST |
Undocumented |
Add a network to the cluster.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | a list of length 1 with the network name to create |
| Returns | |
| int | the desired exit code |
Map a network to a node group.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | Network, mode, physlink and node groups |
| Returns | |
| int | the desired exit code |
Unmap a network from a node group.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | Network and node groups |
| Returns | |
| int | the desired exit code |
List network fields.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | fields to list, or empty for all |
| Returns | |
| int | the desired exit code |
List Ip pools and their properties.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | networks to list, or empty for all |
| Returns | |
| int | the desired exit code |
Remove an IP address pool from the cluster.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | a list of length 1 with the id of the IP address pool to remove |
| Returns | |
| int | the desired exit code |
Rename a network.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | a list of length 2, [old_name, new_name] |
| Returns | |
| int | the desired exit code |
Modifies an IP address pool's parameters.
| Parameters | |
| opts | the command line options selected by the user |
| args:list | should contain only one element, the node group name |
| Returns | |
| int | the desired exit code |
Show network information.
| Parameters | |
| _ | Undocumented |
| args:list | should either be an empty list, in which case we show information about all nodes, or should contain a list of networks (names or UUIDs) to be queried for information |
| Returns | |
| int | the desired exit code |
Gets list of groups to operate on.
If groups doesn't contain groups, a list of all groups in the cluster is returned.
| Parameters | |
cl:luxi.Client | Undocumented |
| groups:list | Undocumented |
| Returns | |
| list | Undocumented |