Error in docs for creating new Floating IP

Bug #1636180 reported by Vinicius G Ferreira
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Won't Fix
Undecided
Manikantha Srinivas Tadi

Bug Description

According to the docs on this link:

http://developer.openstack.org/api-ref/networking/v2/index.html?expanded=create-floating-ip-detail#floating-ips-floatingips

we should pass an object such as this for creating a new floating IP:

{
    "floatingip": {
        "floating_network_id": "376da547-b977-4cfe-9cba-275c80debf57"
    }
}

But using this object throw us an error. Instead we need to use a much simpler object, without the "floatingip" key. It would result in something like this:

body = {"floating_network_id": public_network.id}

Please fix the API docs to spare anybody else's time.
Thanks!

Revision history for this message
Anne Gentle (annegentle) wrote :

Source files are in openstack/neutron-lib/api-ref I believe, so moving but to track with neutron.

no longer affects: openstack-api-site
Changed in neutron:
assignee: nobody → Manikantha Srinivas Tadi (manikantha-tadi)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron-lib (master)

Fix proposed to branch: master
Review: https://review.openstack.org/411647

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron-lib (master)

Change abandoned by boden (<email address hidden>) on branch: master
Review: https://review.openstack.org/411647
Reason: This patch has been idle for over 4 weeks; abandoning. Please push a new patch if there's still work to be had here.

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Bug closed due to lack of activity, please feel free to reopen if needed.

Changed in neutron:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.