Commit Graph

22 Commits

Author SHA1 Message Date
Joe Topjian
bd7ba34627 provider/openstack: Adding Timeouts to Network Resources (#12866) 2017-03-19 17:23:36 +00:00
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
Joe Topjian
520b3dda82 provider/openstack: gophercloud migration: Spelling correction 2016-10-23 02:38:26 +00:00
Gavin Williams
58c3c4ef8e provider/openstack: gophercloud migration: Migrate RouterCreateOpts to types.go 2016-10-23 02:38:25 +00:00
Gavin Williams
56cc232956 provider/openstack: gophercloud migration: Refactor existing resources to use 'MapValueSpecs' function 2016-10-23 02:38:24 +00:00
Joe Topjian
c11a4ef214 provider/openstack: gophercloud migration: updating error responses 2016-10-23 02:38:22 +00:00
Joe Topjian
2f957e24fe provider/openstack: gophercloud migration: networking router 2016-10-23 02:38:20 +00:00
Gavin Williams
b9eaa23f60 Add support for updating the External Gateway assigned to a Neutron router.
Added a simple acceptance test, but doesn't work.
2016-08-10 15:54:31 +01:00
Kirill Shirinkin
2dc254af13 provider/openstack Increase timeouts 2016-05-19 11:28:55 +02:00
Roberto Jung Drebes
65987a4b28 static routing entries for routers 2016-04-19 21:26:09 +00:00
Kirill Shirinkin
5824036ca6 provider/openstack: Add value_specs for routers 2016-04-11 10:23:01 +02:00
Seth Vargo
68a2a2299e Use schema funcs for reading values from the env 2016-04-08 17:28:54 -04:00
Kirill Shirinkin
63016155ea Add distributed routers support 2016-02-12 19:55:27 +01: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
cc54d9e0fd provider/openstack: State Changes for Networking Resources
This commit adds create and delete state change checks for the "core"
networking resources.
2015-11-03 05:12:22 +00:00
Guillaume Giamarchi
e453decec8 Fix OpenStack provider idempotency bugs 2015-10-07 22:39:12 +02:00
cvvs
eabaf8a088 provider/openstack: openstack router admin state
Change openstack router resource admin state from a string to a
boolean.

Same technique as mitchellh's fix in
https://github.com/hashicorp/terraform/pull/1745
2015-06-09 10:25:54 -06:00
Joe Topjian
feb5a3c6bb Fixing TestAccNetworkingV2RouterInterface_basic 2015-05-09 23:04:45 +00: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
Eric Bellemon
d03b420e62 Replace perigee.UnexpectedResponseCodeError with gophercloud.UnexpectedResponseCodeError 2015-03-31 09:54:49 -06:00
Eric Bellemon
32d0e36709 Add router resource 2015-03-31 09:54:48 -06:00