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/requests/compute
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
..
add_fixed_ip.rb
add_flavor_access.rb Add API calls to manage flavor access across tenants 2013-05-30 17:37:46 +02:00
allocate_address.rb
associate_address.rb
attach_volume.rb
boot_from_snapshot.rb
change_server_password.rb
confirm_resize_server.rb
create_flavor.rb Fix autoincrement when creating a flavor if private flavors exist. 2013-06-18 17:58:07 +02:00
create_image.rb
create_key_pair.rb
create_security_group.rb
create_security_group_rule.rb
create_server.rb
create_volume.rb
create_volume_snapshot.rb
delete_flavor.rb
delete_image.rb
delete_key_pair.rb
delete_meta.rb
delete_metadata.rb
delete_security_group.rb
delete_security_group_rule.rb
delete_server.rb
delete_snapshot.rb
delete_volume.rb
detach_volume.rb
disassociate_address.rb
get_address.rb
get_console_output.rb
get_flavor_details.rb
get_host_details.rb
get_image_details.rb
get_limits.rb
get_metadata.rb
get_quota.rb
get_quota_defaults.rb
get_security_group.rb
get_server_details.rb
get_server_volumes.rb
get_snapshot_details.rb
get_usage.rb
get_vnc_console.rb
get_volume_details.rb
list_address_pools.rb
list_addresses.rb
list_all_addresses.rb
list_flavors.rb
list_flavors_detail.rb Fix autoincrement when creating a flavor if private flavors exist. 2013-06-18 17:58:07 +02:00
list_hosts.rb
list_images.rb
list_images_detail.rb
list_key_pairs.rb
list_metadata.rb
list_private_addresses.rb
list_public_addresses.rb
list_security_groups.rb
list_servers.rb
list_servers_detail.rb
list_snapshots.rb
list_tenants.rb
list_tenants_with_flavor_access.rb Add API calls to manage flavor access across tenants 2013-05-30 17:37:46 +02:00
list_usages.rb
list_volumes.rb
live_migrate_server.rb
migrate_server.rb
pause_server.rb
reboot_server.rb
rebuild_server.rb
release_address.rb
remove_fixed_ip.rb
remove_flavor_access.rb Add API calls to manage flavor access across tenants 2013-05-30 17:37:46 +02:00
rescue_server.rb
reset_server_state.rb
resize_server.rb
resume_server.rb
revert_resize_server.rb
server_action.rb
server_actions.rb
server_diagnostics.rb
set_metadata.rb
set_tenant.rb
suspend_server.rb
unpause_server.rb
update_meta.rb
update_metadata.rb
update_quota.rb
update_server.rb