Karol Stepniewski
88fb724af8
Add optional cacert_file parameter to openstack provider
...
Official OpenStack clients support specifing custom CA certificate file
that should be used when communicating with OpenStack server. This patch
adds similar behavior to Terraform OpenStack provider, by:
- Using OS_CACERT environmental variable, if available
- Using cacert_file provider parameter, if configured
2016-02-11 22:56:11 -08:00
Joe Topjian
8d5a2d05a4
provider/openstack: Load Balancing Member Resource
...
This commit adds the openstack_lb_member_v1 resource. This resource models a
load balancing member which was previously coupled to the openstack_lb_pool_v1
resource.
By creating an actual member resource, load balancing members can now be
dynamically managed through terraform.
2015-12-17 07:29:58 +00:00
Jean Mertz
7d11b4b7e7
provider/openstack: openstack_networking_port_v2 resource
2015-11-03 05:35:05 +00:00
Joe Topjian
5251193f87
Allow empty api_key and endpoint_type
...
These two provider options are optional though if they are not set,
the user will be prompted to enter values.
By changing them to use the envDefaultFuncAllowMissing, the values
are still passed in the environment if they are set and safely
discarded if they are not.
2015-07-06 03:14:13 +00:00
Mitchell Hashimoto
ede6af8763
Merge pull request #1921 from jtopjian/openstack-servergroup-schedulerhints
...
provider/openstack: scheduler_hints and servergroups
2015-06-24 23:13:25 -07:00
Guillaume Giamarchi
8d26e10aba
go fmt
2015-06-07 23:50:51 +02:00
Guillaume Giamarchi
e04a6cacc5
Enpoint type configuration for OpenStack provider
...
Add the possibility to specify the endpoint type
(public, admin, internal). The default remains the
same (public).
2015-06-07 23:50:34 +02:00
Travis Truman
7fe29efc1d
Fixes #2212 by allowing OS_AUTH_TOKEN to set api_key config value
2015-06-04 14:27:18 -04:00
Joe Topjian
b74e74fc16
ServerGroup Resource
...
This commit adds a server group resource. Users can create server
groups with different policies. If a server is launched in a certain
group, the server will adhere to that policy. For example, servers
can be made to all launch on the same compute node or different compute
nodes.
2015-05-12 01:08:19 +00:00
Guillaume Giamarchi
b87c05e5a8
Allow to disable HTTPS certificate check
2015-04-15 21:54:44 +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
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
Guillaume Giamarchi
88a55a5d58
Enable FWaaS resources
2015-03-31 09:54:49 -06:00
Joe Topjian
c3c4840baf
openstack_compute_floatingip_v2
...
This commit adds a resource that allows the user to allocate,
deallocate, associate, and disassociate floating IPs through the
nova api.
2015-03-31 09:54:49 -06:00
Eric Bellemon
e9abf04e4b
Add router interface resource
2015-03-31 09:54:48 -06:00
Eric Bellemon
32d0e36709
Add router resource
2015-03-31 09:54:48 -06:00
Julien Vey
9aa9c90248
Add floating IP resource
2015-03-31 09:54:48 -06:00
Jon Perritt
761d58df2f
add container and volume resources
2015-03-31 09:54:48 -06:00
Jon Perritt
43564d1c5c
object storage container v1 ops
2015-03-31 09:54:47 -06:00
Jon Perritt
777c34cf7c
move lb member ops into lb pool file
2015-03-31 09:54:47 -06:00
Jon Perritt
3627368fc0
remove security group rule option from provider
2015-03-31 09:54:47 -06:00
Jon Perritt
17b137c972
go fmt
2015-03-31 09:54:47 -06:00
Jon Perritt
e6f3a19284
add defaultFunc for 'tenant_name'
2015-03-31 09:54:46 -06:00
Jon Perritt
5d2fe153c0
go fmt
2015-03-31 09:54:46 -06:00
Jon Perritt
9b54c569cc
use 'Default' to forgo prompt
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
bfe492d407
add options for openstack identity v3
2015-03-31 09:54:46 -06:00
Jon Perritt
b1b693e461
region is resource-specific; doesn't belong with auth
2015-03-31 09:54:46 -06:00
Jon Perritt
ac79c76b13
add lb resources
2015-03-31 09:54:45 -06:00
Jon Perritt
4761075790
crud for neutron networks
2015-03-31 09:54:45 -06:00
Jon Perritt
23d425072c
add/delete security groups and rules
2015-03-31 09:54:45 -06:00
Jon Perritt
01e41646d3
add/get/delete keypairs
2015-03-31 09:54:45 -06:00
Jon Perritt
48e92f8173
OS_REGION -> OS_REGION_NAME (thank you @hartzell)
2015-03-31 09:54:45 -06:00
Jon Perritt
f9fa748024
crud for openstack servers v2
2015-03-31 09:54:45 -06:00