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.
EXPERIMENTAL. Create a cell mapping and host mappings for a cell.
Users not dividing their cloud into multiple cells will be a single cell v2 deployment and should specify:
nova-manage cell_v2 map_cell_and_hosts –config-file <nova.conf>
Users running multiple cells can add a cell v2 by specifying:
nova-manage cell_v2 map_cell_and_hosts –config-file <cell nova.conf>
Bases: object
Class for managing the main database.
Move up to max_rows deleted rows from production tables to shadow tables.
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.
Decorator which print the deprecation message before the decorated function is called
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.