Move all functionality out of nova manage and into APIs

Registered by Sean Dague

The general direction is that nova-manage should be deprecated for everything except the db-sync command. There are however pieces of functionality needed for OpenStack, like ip pool creation, which only exist in nova-manage. That should be moved out into the API by enhancing existing extensions so that nova-manage no longer contains functions which don't exist anywhere else.

Blueprint information

Status:
Complete
Approver:
Vish Ishaya
Priority:
High
Drafter:
Sean Dague
Direction:
Needs approval
Assignee:
Christopher Yeoh
Definition:
Approved
Series goal:
Accepted for grizzly
Implementation:
Implemented
Milestone target:
milestone icon 2013.1
Started by
Vish Ishaya
Completed by
Christopher Yeoh

Related branches

Sprints

Whiteboard

Ongoing analysis is being updated here: http://wiki.openstack.org/NovaManageDBAnalysis

Updated analysis with:
- which nova-manage commands already have REST API support to implement them
- which commands are already implemented in nova client
- where we need new REST APIs
- where we need nova client support

Gerrit topic: https://review.openstack.org/#q,topic:bp/apis-for-nova-manage,n,z

Addressed by: https://review.openstack.org/14735
    Adds REST API support for Fixed IPs

Addressed by: https://review.openstack.org/14741
    REST API support for nova client to display availability zones when listing physical hosts

Addressed by: https://review.openstack.org/#/c/14742/
    Add ability of nova client to display availability zones when listing hosts

Addressed by: https://review.openstack.org/14809
    Detailed fixed ip lookup.

Addressed by: https://review.openstack.org/15164
    Adds API for bulk creation/deletion of floating IPs

Addressed by: https://review.openstack.org/15206
    Add REST API support for list/enable/disable nova services

Addressed by: https://review.openstack.org/#/c/15625/
   Add nova client support for nova-manage service command

Addressed by: https://review.openstack.org/15491
    Add more association support to network API

Addressed by: https://review.openstack.org/15831
    Add agent build API support for list/create/delete/modify agent build

Addressed by: https://review.openstack.org/#/c/15874/
   Add nova client support for nova-manage agent command

Addressed by: https://review.openstack.org/15854
    Add vpn ip/port setting support for CloudPipe

Addressed by:https://review.openstack.org/#/c/16842/
   Add nova client support for nova-manage account scrub

Gerrit topic: https://review.openstack.org/#q,topic:api_samples_updates,n,z

Addressed by: https://review.openstack.org/16141
    update api_samples add os-services module

(?)

Work Items

Work items:
[ivan-zhu] Add ability of nova client to display availability zones when listing physical hosts: DONE
[cyeoh-0] Adds REST API support for Fixed IPs: DONE
[ivan-zhu] Add REST API to list/enable/disable/describe nova services: DONE
[cyeoh-0] Add "nova-manage fixed" commands (list/reserve/unreserve) functionality to nova client: DONE
[cyeoh-0] Add REST API for bulk creation of floating IPs and to list floating IPs: DONE
[cyeoh-0] Add nova client support for bulk creation and listing of floating IPs: DONE
[cyeoh-0] Extend Network API extension to support the nova-manage network commands: DONE
[cyeoh-0] Add nova client support for nova network command: DONE
[ivan-zhu] Add nova client support for nova-manage service command: DONE
[cyeoh-0] Extend CloudPipe REST API to support changing ip and port for vpn: DONE
[cyeoh-0] Add nova client support for nova-manage vpn (CloudPipe) command: DONE
[ivan-zhu] Add REST APIs required for nova-manage agent command: DONE
[ivan-zhu] Add nova-manage agent command functionality to nova client: DONE
[ivan-zhu] Add "nova-manage account scrub" command functionality to nova client: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.