1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/lib/fog/openstack/models
Thomas Kadauke b00761705a Fix autoincrement when creating a flavor if private flavors exist.
Before, only public flavors were considered when finding the next free ID. That could lead to the case where the calculated ID was already taken which lead to a conflict. This happened whenever the user tried to create a private flavor via fog and then another (private OR public) flavor afterwards. Now, we also take private flavors into account, so the conflict cannot happen anymore.

As a side effect, it is now also possible to just return all private flavors, using the :is_public => false filter on the list_flavors_detail API call or the flavors collection.
2013-06-18 17:58:07 +02:00
..
compute Fix autoincrement when creating a flavor if private flavors exist. 2013-06-18 17:58:07 +02:00
identity OpenStack: get identity tests passing in real mode 2013-01-28 13:07:22 -05:00
image [openstack|image] Define get method for images 2013-05-22 23:47:33 +02:00
network [openstack|network] Add support for OpenStack Networking LBaaS extension 2013-05-21 14:41:31 +02:00
storage [openstack|storage] intial import 2013-01-23 20:26:17 +01:00
volume [openstack] Updates reference to service 2013-01-07 21:01:18 +00:00
meta_parent.rb Implement fog support for the Openstack Compute API v1.1. Includes 2011-09-26 02:51:45 -04:00