Joe Topjian
9f53f77ad9
provider/openstack: Ensure CIDRs Are Lower Case ( #6864 )
...
This commit ensures that CIDR arguments are converted into lower
case values, specifically for IPv6 addresses.
2016-05-25 11:24:07 +01:00
Seth Vargo
68a2a2299e
Use schema funcs for reading values from the env
2016-04-08 17:28:54 -04:00
Ian Duffy
47ac10d66b
Change resource.StateChangeConf to use an array for target states
...
Signed-off-by: Ian Duffy <ian@ianduffy.ie>
2016-01-21 01:20:41 +00:00
Joe Topjian
2503f0b01d
provider/openstack: Ensure valid Security Group Rule attribute combination
...
This commit ensures that a valid combination of security group rule attributes
is set before creating the security group.
2015-12-30 18:44:56 +00:00
Radek Simko
e7c88eab35
openstack: fix go vet error (bool modifier is %t)
2015-11-14 08:19:22 +00:00
Joe Topjian
3db7922b53
provider/openstack: Security Group Rule fixes
...
This commit fixes an issue with security group rules where the rules
were not being correctly computed due to a typo in the rule map.
Once rules were successfully computed, the rules then needed to be
converted into a Set so they can be correctly ordered.
2015-11-12 03:15:52 +00:00
Joe Topjian
29636dc51d
provider/openstack: Revert Security Group Rule Fix
...
This commit reverts the patch from #3796 .
It has been discovered that multiple rules are being reported out
of order when the configuration is applied multiple times. I feel
this is a larger issue than the bug this patch originally fixed,
so until I can resolve it, I am reverting the patch.
2015-11-09 17:31:40 +00:00
Joe Topjian
0e9397fc74
provider/openstack: Security Group Rules Fix
...
This commit fixes how security group rules are read by Terraform and
enables them to be correctly removed when the rule resource is
modified.
2015-11-06 21:52:30 +00:00
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