Admin CLI

Registered by Vish Ishaya

all nova-manage features should be moved into admin apis. In order to access these admin apis, we should be using a cli specifically designed for this purpose. Right now we are cluttering up python-novaclient with a bunch of admin methods.

Blueprint information

Status:
Not started
Approver:
Vish Ishaya
Priority:
Undefined
Drafter:
OpenStack DevOps Drivers
Direction:
Needs approval
Assignee:
OpenStack DevOps
Definition:
Approved
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Work items:

create a new nova/admin subpackage: TODO
move the majority of the contents of bin/nova-manage into nova/admin/api.py: TODO
create nova/admin/shell.py with functions that utilize the API in nova.admin.api and decorate like the current bin/nova-manage (and, for example, novaclient/v1_1/shell.py): TODO
update bin/nova-manage to utilize the shell.py module: TODO
[vishvananda] identify the manage-specific functions/methods/classes in python-novaclient: TODO
move manage-specific functions/methods/classes from python-novaclient to nova.admin.api and nova.admin.shell: TODO

(?)

Work Items