enable to assign Floatin ip to server - python sdk

Bug #1722669 reported by Aouidene Imed
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-api-site
New
Undecided
Unassigned

Bug Description

I followed the instructions of getting/creating a new floating IP , but I can't assign it to the instance.
Actually, the problem is in this function :

 def add_ip_to_port(self, port, ip):
        ip['port_id'] = port.id
        return ip.update(self._session)

in _proxy.py

We can't assign ip['port_id'] = port.id ! the format of floating ip dosen't allow that !

That you

If you have a troubleshooting or support issue, use the following resources:

 - Ask OpenStack: http://ask.openstack.org
 - The mailing list: http://lists.openstack.org
 - IRC: 'openstack' channel on Freenode

-----------------------------------
Release: 0.1 on 2017-10-09 23:30
SHA: 54dd1826d96c134c9392801b55c18fa3f568eb38
Source: https://git.openstack.org/cgit/openstack/api-site/tree/doc/source/getting_started.rst
URL: https://developer.openstack.org/draft/firstapp-openstacksdk/getting_started.html

Tags: firstapp
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.