CLI interface for nova management.
alias of ProjectCommands
Bases: object
Class for managing agent builds.
Creates a new agent build.
Deletes an existing agent build.
Lists all agent builds.
arguments: <none>
Update an existing agent build.
Bases: object
Class for managing the api database.
Sync the database up to the most recent version.
Print the current database version.
Bases: object
Commands for managing cells.
Bases: object
Commands for managing cells v2.
Bases: object
Class for managing the main database.
Move up to max_rows deleted rows from production tables to shadow tables.
Contract database schema.
Expand database schema.
Migrate database schema.
Lists and optionally deletes database records where instance_uuid is NULL.
Sync the database up to the most recent version.
Print the current database version.
Bases: object
Class for managing fixed ip.
Lists all fixed ips (optionally by host).
Mark fixed ip as reserved
arguments: address
Mark fixed ip as free to use
arguments: address
Bases: object
Class for managing floating ip.
Iterate over hosts within an address range.
If an explicit range specifier is missing, the parameter is interpreted as a specific individual address.
Creates floating ips for zone by range.
Deletes floating ips by range.
Lists all floating ips (optionally by host).
Note: if host is given, only active floating IPs are returned
Bases: object
Get logging information.
Get all of the errors from the log files.
Get <num_entries> of the nova syslog events.
Bases: object
List hosts.
Show a list of all physical hosts. Filter by zone. args: [zone]
Bases: object
Class for managing networks.
Creates fixed ips for host by range.
Deletes a network.
List all created networks.
Associate/Disassociate Network with Project and/or Host arguments: network project host leave any field blank to ignore it
Bases: object
Class for managing projects.
Create, update or display quotas for project/user
If no quota key is provided, the quota will be displayed. If a valid quota key is provided and it does not exist, it will be created. Otherwise, it will be updated.
Deletes data associated with project.
Bases: object
Enable and disable running services.
Describes cpu/memory/hdd info for host.
Parameters: | host – hostname. |
---|
Disable scheduling for a service.
Enable scheduling for a service.
Show a list of all running services. Filter by host & service name
Bases: object
Runs a bpython shell.
Falls back to Ipython/python shell if unavailable
Runs an Ipython shell.
Falls back to Python shell if unavailable
Runs a python shell.
Falls back to Python shell if unavailable
Runs a Python interactive interpreter.
Runs the script from the specified path with flags set properly.
arguments: path
Bases: object
Class for managing VM instances.
Show a list of all instances.
Bases: object
Class for managing VPNs.
Change the ip and port for a vpn.
this will update all networks associated with a project not sure if that’s the desired behavior or not, patches accepted
Parse options and call the appropriate class/method.
Get all callable methods of an object that don’t start with underscore
returns a list of tuples of the form (method_name, method)
Helper function to convert various volume id types to internal id. args: [object_id], e.g. ‘vol-0000000a’ or ‘volume-0000000a’ or ‘10’
Decorator to validate the network plugin.