Commit Graph

19 Commits

Author SHA1 Message Date
Joe Topjian
c4c480bb92 provider/openstack: Safe SecGroup Delete
This commit enables security groups to be deleted in a safe way by
checking their state over a period of time.

This fixes occurrences when the API says the instance is deleted but
it is still in the process of being deleted by OpenStack and thus the
security group returns an error saying that there are still instances
attached to the group.
2015-10-30 13:03:26 +00:00
Panagiotis Moustafellos
e4845f75cc removed extra parentheses 2015-10-08 15:48:04 +03:00
Joe Topjian
fe0a7a5ec5 Allow Blank Region
When OS_REGION_NAME is not set, fall back to a blank string. This
will cause gophercloud to use the cloud's only region in
single-region clouds.
2015-04-11 05:10:10 +00:00
Julien Vey
2e37784065 Fix general comments by @phinze 2015-03-31 09:54:50 -06:00
Joe Topjian
f5feb7fbbb Allows "self" to be discovered and recorded correctly. 2015-03-31 09:54:50 -06:00
Eric Bellemon
d03b420e62 Replace perigee.UnexpectedResponseCodeError with gophercloud.UnexpectedResponseCodeError 2015-03-31 09:54:49 -06:00
Long Nguyen
42fb14f19a Added self option to security groups 2015-03-31 09:54:49 -06:00
Joe Topjian
79e5c419c3 Fixing rule/rules and re-arranged order for schema consistency 2015-03-31 09:54:49 -06:00
Jon Perritt
633e98dffe security group rule fix; still not exporting rule ID 2015-03-31 09:54:49 -06:00
Jon Perritt
fafa946871 handle 404 (Not Found) in Get operations 2015-03-31 09:54:48 -06:00
Jon Perritt
6b2f2df042 'rules' -> 'rule' 2015-03-31 09:54:47 -06:00
Jon Perritt
1aba665ad7 refactor service clients to *Config 2015-03-31 09:54:47 -06:00
Jon Perritt
ea7c075273 add security group rules ops to security groups file 2015-03-31 09:54:47 -06:00
Jon Perritt
d86cb6be1c fix diff bug in 'Read' functions 2015-03-31 09:54:46 -06:00
Jon Perritt
5d2fe153c0 go fmt 2015-03-31 09:54:46 -06:00
Jon Perritt
d51ee3111e always need both name and description when updating 2015-03-31 09:54:46 -06:00
Jon Perritt
2214331b3c export 'region' from 'Read' operations 2015-03-31 09:54:46 -06:00
Jon Perritt
dc99dd1f05 add versioning to files 2015-03-31 09:54:46 -06:00
Jon Perritt
8579c8693a make 'region' resource-specific; create new client for each crud operation 2015-03-31 09:54:46 -06:00