using floating-ip-associate/disassociate

Registered by Sahid Orentino

Using floating-ip-{associate|disassociate}

This patch implements a blueprint to add more consistency into
nova command, especially for the subcommand "floating-ip-*"

Currently when we want to associate or disassociate an ip with
nova we have to use add-floating-ip and remove-floating-ip. This
is not consitent with the actual scheme of the subcommands:

example:
  nova image-*
  nova flavor-*
  nova floating-ip-*

 + In the client v1.1 this patch displays a deprecated message when printing
   the help message for add-floating-ip and remove-floating-ip.
 + In the client v3 this patch replaces add-floating-ip with
   floating-ip-associate and remove-floating-ip with floating-ip-disassociate.

Implement blueprint commands-floating-ip

$:~/python-novaclient$ nova help | grep floating
    add-floating-ip DEPRECATED, use floating-ip-associate instead.
    floating-ip-associate
                        Associate a floating IP address to a server.
    floating-ip-bulk-create
                        Bulk create floating ips by range.
    floating-ip-bulk-delete
                        Bulk delete floating ips by range.
    floating-ip-bulk-list
                        List all floating ips.
    floating-ip-create Allocate a floating IP for the current tenant.
    floating-ip-delete De-allocate a floating IP.
    floating-ip-disassociate
                        Remove a floating IP address from a server.
    floating-ip-list List floating ips for this tenant.
    floating-ip-pool-list
                        List all floating ip pools.
    remove-floating-ip DEPRECATED, use floating-ip-disassociate instead.

Blueprint information

Status:
Complete
Approver:
Andrew Laski
Priority:
Low
Drafter:
Sahid Orentino
Direction:
Approved
Assignee:
Sahid Orentino
Definition:
Approved
Series goal:
Proposed for liberty
Implementation:
Implemented
Milestone target:
None
Started by
Andrew Laski
Completed by
Sahid Orentino

Related branches

Sprints

Whiteboard

I'm thinking about add a log deprecated when we use {add/remove}-floating-ip

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

Addressed by: https://review.openstack.org/62641
    Using floating-ip-{associate|disassociate}

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.