Joe Topjian
5f8dc6cc34
provider/openstack: Remove Default Security Group Rules ( #11466 )
...
This commit removes the default security group rules that are automatically
created when a security group is created. These rules are usually
permissive egress rules which makes it difficult to add more strict egress
security group rules.
2017-01-29 16:07:33 +00:00
Joe Topjian
b593d6903d
provider/openstack: Volume Attachment Updates ( #11285 )
...
This commit adds a StateRefresh func for volume attachments. Mostly
this is to add a buffer of time between the request and the return
of the attachment to give time for the volume to become attached,
however, in some cases the refresh function could work as specified.
Docs have also been updated to reflect that a device could be specified,
but to use with caution.
2017-01-23 22:19:50 +00:00
Joe Topjian
e31269d721
provider/openstack: Fix Instance Metadata Deletion ( #11252 )
...
This commit fixes a bug where instance metadata removed from the
configuration was not removed from the actual instance.
2017-01-18 11:50:59 +00:00
Joe Topjian
d240ddcde8
provider/openstack: Increase deletion timeout for router interfaces ( #11250 )
2017-01-18 09:39:41 +00:00
Joe Topjian
91147fe11c
provider/openstack: LoadBalancer Security Groups ( #11074 )
...
* provider/openstack: LoadBalancer Security Groups
This commit adds the ability to specify security groups on a loadbalancer
resource.
* provider/openstack: LoadBalancer Security Groups Refactor
Moving common security group code into a dedicated function.
2017-01-12 16:00:32 +02:00
Joe Topjian
414b566d2e
provider/openstack: Updating LBaaSV1 acceptance tests ( #10979 )
2017-01-02 13:46:15 +00:00
Joe Topjian
af5baf7b13
provider/openstack: Network and Object Storage Acceptance Test Cleanup ( #10967 )
...
* provider/openstack: Updating Networking acceptance tests
* provider/openstack: Updating Object Storage acceptance tests
2016-12-31 18:09:56 +00:00
Joe Topjian
b55cf9d601
provider/openstack: Updating FWaaS and LBaaS v2 Acceptance Tests ( #10959 )
...
* provider/openstack: Updating FWaaS acceptance tests
* provider/openstack: Updating LBaaS v2 acceptance tests
2016-12-29 23:37:01 +00:00
Joe Topjian
64051f9214
provider/openstack: Updating Compute acceptance tests ( #10954 )
2016-12-29 16:01:30 +00:00
Joe Topjian
c8ac1f7f4e
provider/openstack: Acceptance Test Cleanup: Provider & Block Storage ( #10839 )
...
* provider/openstack: Updating provider test configuration
* provider/openstack: Updating Block Storage acceptance tests
2016-12-28 16:56:49 +00:00
Joe Topjian
b2417ce880
provider/openstack: 409 Response on Member Create
...
This commit accounts for a 409 response when a LBaaS v2 member is
being created. Rather than error out, this should be considered a
pending state.
2016-12-23 04:29:39 +00:00
Joe Topjian
504407c1cb
provider/openstack: Block Device Tests and Docs ( #10830 )
...
This commit adds some basic tests for block device functionality. It also
expands the existing block device documentation as well references the
new "volume attach" resources for further block storage functionality.
2016-12-19 10:29:37 +00:00
Joe Topjian
7843a5c6e6
provider/openstack: Handle Volume Creation Errors ( #10821 )
...
This commit makes the openstack_blockstorage_volume resources better able
to handle volume creation errors upon resource creation. The cause of this
change is because there could be some storage backend error that happens
during storage provisioning that won't manifest in an "err" but will set
the volume's status to "error". We now check for a status of "error" and
propagate the error up the stack.
2016-12-18 22:38:55 +00:00
Joe Topjian
fd40eb3421
provider/openstack: More Import and Region Fixes ( #10662 )
...
This has a few more import and region fixes from #10509
2016-12-12 09:14:38 +00:00
Joe Topjian
1c9853ec1b
provider/openstack: Fix Ordering of Port Allowed Address Pairs ( #10250 )
...
This commit changes allowed_address_pairs from a TypeList to a TypeSet
allowing for arbitrary ordering. This solves the issue where a user
specifies an address pair one way and OpenStack returns a different
order.
2016-12-05 15:36:37 +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
1aff30dd5e
Merge pull request #10260 from jtopjian/openstack-compute-volume-attach
...
provider/openstack: openstack_compute_volume_attach_v2 resource
2016-11-22 20:43:59 -07:00
Joe Topjian
d16ba26495
Merge pull request #10259 from jtopjian/openstack-blockstorage-volume-attach
...
provider/openstack: openstack_blockstorage_volume_attach_v2 resource
2016-11-22 09:28:31 -07:00
Joe Topjian
4cc46937e8
provider/openstack: blockstorage volume attach code review updates
2016-11-22 15:27:23 +00:00
Joe Topjian
74189c5211
provider/openstack: Add Swauth/Swift Authentication
...
This commit adds the ability to authenticate with Swauth/Swift. This can
be used in Swift-only environments that do not have a Keystone service
for authentication.
2016-11-22 04:26:06 +00:00
Joe Topjian
24d7ada0e4
provider/openstack: openstack_compute_volume_attach_v2 resource
...
This commit adds the openstack_compute_volume_attach_v2 resource. This
resource enables a volume to be attached to an instance by using the
OpenStack Compute (Nova) v2 volumeattach API.
2016-11-20 21:22:07 +00:00
Joe Topjian
672d4d20d7
provider/openstack: openstack_blockstorage_volume_attach_v2 resource
...
This commit adds the openstack_blockstorage_volume_attach_v2 resource. This
resource enables a volume to be attached to an instance by using the OpenStack
Block Storage (Cinder) v2 API.
2016-11-20 21:19:11 +00:00
Gavin Williams
b0981566ec
provider/openstack: Add 'value_specs' option to 'openstack_fw_firewall_v1' resource
...
Refactor to use common 'types.go' and 'MapValueSpecs' function.
Website docs updated to reflect changes.
2016-11-05 10:17:33 +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
e3246bc63e
provider/openstack: Add 'value_specs' option to 'openstack_fw_rule_v1' resource.
...
Refactor to use common 'types.go' and 'MapValueSpecs' function.
Website docs updated.
2016-11-04 07:19:50 +00:00
Joe Topjian
41adcb8388
Merge pull request #9832 from fatmcgav/openstack_fw_firewall_v1_admin_state_up_default
...
provider/openstack: resource_openstack_fw_firewall_v1 'admin_state_up' should default to 'true'
2016-11-03 19:35:10 -06:00
Gavin Williams
ea9cc43578
provider/openstack: resource_openstack_fw_firewall_v1 'admin_state_up' should default to 'true'
2016-11-03 12:15:04 +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
266b5ab598
provider/openstack: Openstack Provider Updates ( #9725 )
...
* provider/openstack: Adding Identity v3 compatible environment variables
* provider/openstack: Adding missing environment variables
* provider/openstack: line spacing for provider options
* provider/openstack: Making password sensitive
* provider/openstack: Adding descriptions to provider options
* provider/openstack: Clean up provider documentation
* provider/openstack: clean up EndpointType check
2016-11-01 13:16:39 +00:00
Joe Topjian
b269b417b0
provider/openstack: LoadBalancer v2 VIP Port ID ( #9727 )
...
This commit adds vip_port_id as an exported attribute to the
lb_loadbalancer_v2 resource.
2016-11-01 10:25:18 +00:00
Joe Topjian
a946eb4d91
Merge pull request #9617 from jtopjian/openstack-fwaas-proto-any
...
provider/openstack: Allow any protocol in openstack_fw_rule_v1
2016-10-26 12:56:11 -06:00
Gavin Williams
7438bbd7fe
provider/openstack: Add ValueSpecs option to 'openstack_compute_keypair_v2' resource,
...
refactor to use common types.go and 'MapValueSpecs'
2016-10-26 07:50:35 +01:00
Joe Topjian
d7bd40100c
provider/openstack: Allow any protocol in openstack_fw_rule_v1
...
This commit allows a protocol of "any" to be used in the firewall
rule resource, which will allow any protocol.
2016-10-26 02:14:08 +00:00
Joe Topjian
3929792ebc
Merge pull request #9552 from fatmcgav/openstack_networking_floatingip_add_value_specs
...
provider/openstack: Add 'value_specs' option to 'openstack_networking…
2016-10-25 19:35:38 -06:00
Gavin Williams
60ddc06b3d
provider/openstack: Add 'value_specs' option to 'openstack_networking_floatingip_v2' resource,
...
refactor into common types.go and use new 'MapValueSpecs' function.
Added supporting documentation.
2016-10-24 16:05:35 +01:00
Gavin Williams
b31b044785
provider/openstack: Add value_specs option to openstack_networking_port_v2.
...
Refactored to use common types.go
Add supporting documentation
2016-10-24 16:04:00 +01:00
Joe Topjian
17b1787ec2
provider/openstack: gophercloud migration: fixing dhcp and gateway configuration
2016-10-23 02:38:29 +00:00
Joe Topjian
1c6b69e342
provider/openstack: gophercloud migration: Make PortID a *string
2016-10-23 02:38:29 +00:00
Joe Topjian
0253dbe51b
provider/openstack: gophercloud migration: Accounting for 409 errors with LBaaSV2
2016-10-23 02:38:29 +00:00
Joe Topjian
1fce3ed9fd
provider/openstack: gophercloud migration: Fixing persistence update in lbaasv1
2016-10-23 02:38:28 +00:00
Joe Topjian
fbcd8f105b
provider/openstack: gophercloud migration: boot from volume updates
2016-10-23 02:38:28 +00:00
Joe Topjian
ea4209c61c
provider/openstack: gophercloud migration: Account for subnets and networks still in use
2016-10-23 02:38:28 +00:00
Joe Topjian
394c26c6cc
provider/openstack: gophercloud migration: Account for router interface still being in use
2016-10-23 02:38:27 +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
c3679d6c2d
provider/openstack: gophercloud migration: Fixing subnet test
2016-10-23 02:38:27 +00:00
Joe Topjian
ed0fe74d59
provider/openstack: gophercloud migration: Making GatewayIP computed
2016-10-23 02:38:27 +00:00
Joe Topjian
520b3dda82
provider/openstack: gophercloud migration: Spelling correction
2016-10-23 02:38:26 +00:00
Gavin Williams
28466f50a5
provider/openstack: gophercloud migration: Only set 'gateway_ip' to "" if 'no_gateway' == true.
2016-10-23 02:38:26 +00:00
Gavin Williams
8405a9f118
provider/openstack: gophercloud migration: Update openstack_networking_subnet_v2 to correctly handle Gateway IP
2016-10-23 02:38:26 +00:00
Gavin Williams
9c856a8f6f
provider/openstack: gophercloud migration: Removed unused import from types.go
2016-10-23 02:38:26 +00:00