Joe Topjian
b2f9a3a6fd
provider/openstack: Detect Region for Importing Resources ( #10509 )
...
* provider/openstack: Detect Region for Importing Resources
This commit changes the way the OpenStack region is detected and set.
Any time a region is required, the region attribute will first be
checked. Next, the OS_REGION_NAME environment variable will be checked.
While schema.EnvDefaultFunc handles this same situation, it is not
applicable when importing resources.
* provider/openstack: No longer ignore region in importing tests
* provider/openstack: Network and Subnet Import Fixes
This commit fixes the OpenStack Network and Subnet resources so that
importing of those resources is successful.
2016-12-04 14:24:07 +00:00
Gavin Williams
d3b2c15a2c
provider/openstack: Add 'value_specs' option to 'openstack_fw_policy_v1' resource
...
Refactor to use common 'types.go' and 'MapValueSpecs' function.
Website docs updated to reflect additions
2016-11-04 19:06:25 +00:00
Gavin Williams
53eea2121e
provider/openstack: Don't default 'shared' value, instead only set if specified.
...
Documentation updated to reflect removal of default value.
Fixes #9829
2016-11-03 11:21:39 +00:00
Joe Topjian
7df2a66623
provider/openstack: gophercloud migration: Allow Firewall v1 Policy to cleanly delete
2016-10-23 02:38:27 +00:00
Joe Topjian
8f21117fb7
provider/openstack: gophercloud migration: fwaas policy response error handling
2016-10-23 02:38:22 +00:00
Joe Topjian
c11a4ef214
provider/openstack: gophercloud migration: updating error responses
2016-10-23 02:38:22 +00:00
Joe Topjian
a1d76c8d07
provider/openstack: gophercloud migration: fwaas
2016-10-23 02:38:19 +00:00
Joe Topjian
8d8becdfdb
provider/openstack: Support Import of OpenStack FWaaS Resources ( #7471 )
2016-07-03 16:37:35 +01:00
Steven Crossan
ca2d230a2c
provider/openstack: Change rules type to List
...
Allows for ordering of rules that are applied to the firewall policy,
including addition and removal of rules in certain positions.
2016-06-16 12:27:01 +01:00
Seth Vargo
68a2a2299e
Use schema funcs for reading values from the env
2016-04-08 17:28:54 -04:00
Trevor Pounds
0cd0ff0f8e
Use built-in schema.HashString.
2016-02-07 16:29:34 -08:00
Anthony Scalisi
198e1a5186
remove various typos
2015-09-11 11:56:20 -07:00
Joe Topjian
a6b9a63231
Fixing TestAccFWFirewallV1
2015-05-10 04:38:36 +00:00
Alexander Dupuy
2ccaaf204d
fix copy/paste typo in OpenStack FW error messages
2015-05-05 14:01:49 +02: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
Guillaume Giamarchi
ba880b136b
Code clean-up
2015-03-31 09:54:50 -06:00
Guillaume Giamarchi
83160acf69
Return Read call result in Create & Update
2015-03-31 09:54:50 -06:00
Guillaume Giamarchi
bdeca31731
remove boilerplate code using CheckDeleted
2015-03-31 09:54:50 -06:00
Guillaume Giamarchi
16a963313f
FWaaS version is actually v1 not v2
...
Rename files and methods.
Confusion have been made between neutron
version and FWaaS extension version.
2015-03-31 09:54:50 -06:00