grnet / synnefo

Synnefo is open source cloud software, used to create massively scalable IaaS clouds.
GNU General Public License v3.0
133 stars 45 forks source link

cyclades: Add floating IPs endpoint on Compute API #389

Closed kpelelis closed 7 years ago

kpelelis commented 7 years ago

Although in some latter versions of Compute, floating IPs endpoint is not supported, there are some clients that utilize it and will fail in any other case (e.g. Vagrant with Openstack driver). Previously in synnefo, we were implementing this endpoint but the response was not compliant to the Openstack specifications.

In that sense, we have slightly changed the api methods on api/floatingips.py in order to be more modular. More specifically, every api method that renders data, accepts a view parameter which is a function that will format the data appropriately.