Commit Graph

35 Commits

Author SHA1 Message Date
=
fc942c6202 refactor the read 2017-04-26 09:25:10 -06:00
Jake Champlin
2eaf6beff0 provider/opc: Fix Instance Label / Update Docs
Fix issue with an instances label causing a ForceNew if omitted.

Also updates mistyped docs for the `opc_compute_security_list` resource.

```
$ make testacc TEST=./builtin/providers/opc TESTARGS="-run=TestAccOPCInstance_emptyLabel"
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/21 09:57:48 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/opc -v -run=TestAccOPCInstance_emptyLabel -timeout 120m
=== RUN   TestAccOPCInstance_emptyLabel
--- PASS: TestAccOPCInstance_emptyLabel (574.79s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/opc    574.835s
```
2017-04-21 10:09:26 -04:00
tombuildsstuff
02ed0e4b09 Updating the error message 2017-04-10 12:28:17 +01:00
tombuildsstuff
d9eec24e6b Hooking up the Image List Entry tests 2017-04-10 12:26:22 +01:00
tombuildsstuff
bb2afcb38e Refactoring the Complete test / identifying Update as Update 2017-04-10 12:22:16 +01:00
tombuildsstuff
bacfefec42 Fixing the import list 2017-04-10 12:19:56 +01:00
Jake Champlin
2f88ac2e2b Cleanup vet errors 2017-04-07 12:06:45 -04:00
Jake Champlin
8d7db2cd38 fixup tests 2017-04-07 11:31:32 -04:00
Jake Champlin
4b281ba051 fixup tests 2017-04-07 11:00:26 -04:00
Jake Champlin
5c742572e4 fix data_source_network_interface test 2017-04-07 10:41:59 -04:00
Tom Harvey
4f66290ffc Merge pull request #13453 from tombuildsstuff/f-oracle-imports
provider/opc: Import support for IP Networks
2017-04-07 15:06:02 +01:00
Tom Harvey
4129afd884 Merge branch 'f-oracle-compute' into f-oracle-website 2017-04-07 14:52:08 +01:00
tombuildsstuff
8a5379479a Removing the unused ssh key 2017-04-07 13:06:16 +01:00
tombuildsstuff
18dc5559ba Import support for Image Lists 2017-04-07 11:06:51 +01:00
tombuildsstuff
41d4bc1622 Adding tests covering low latency storage 2017-04-07 10:42:27 +01:00
tombuildsstuff
6d859479dd Import support for Storage Volumes 2017-04-07 10:36:04 +01:00
tombuildsstuff
41595582dc adding back in snapshots 2017-04-07 09:23:03 +01:00
tombuildsstuff
2332256af6 Refactoring Bootable Storage Volumes 2017-04-07 09:02:46 +01:00
Matthew Frahry
29d4814992 Merge pull request #13424 from hashicorp/f-add-ip-address-associaitons
provider/opc: Adding ip address associations
2017-04-06 16:29:02 -06:00
=
d79b479ad2 final nit fix 2017-04-06 16:28:50 -06:00
=
1d02ed51c1 fixed nits 2017-04-06 16:27:22 -06:00
Jake Champlin
e620a0de0d remove defunct todo item 2017-04-06 14:22:32 -04:00
Jake Champlin
3433850c9c provider/opc: Add debug logging
Adds debug logging, fixes a failing instance acceptance test, and updates vendored dep
2017-04-06 13:59:16 -04:00
Jake Champlin
c51fb79bf3 provider/opc: Remove 'model' from instance networking
Removes `model` as a configurable attribute in instance networking.

Also adds missing `name` attribute from `ip_reservation` docs

```
$ make testacc TEST=./builtin/providers/opc TESTARGS="-run=TestAccOPCInstance_ipNetwork"
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/06 12:53:13 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/opc -v -run=TestAccOPCInstance_ipNetwork -timeout 120m
=== RUN   TestAccOPCInstance_ipNetwork
--- PASS: TestAccOPCInstance_ipNetwork (258.69s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/opc    258.721s
```

```
$ make testacc TEST=./builtin/providers/opc TESTARGS="-run=TestAccOPCInstance_sharedNetworking"
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/06 12:58:43 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/opc -v -run=TestAccOPCInstance_sharedNetworking -timeout 120m
=== RUN   TestAccOPCInstance_sharedNetworking
--- PASS: TestAccOPCInstance_sharedNetworking (253.15s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/opc    253.180s
```
2017-04-06 13:05:52 -04:00
Matthew Frahry
4bfd0fd15b Merge branch 'f-oracle-compute' into f-add-ip-address-associaitons 2017-04-06 10:48:39 -06:00
=
fb89a010af Adding ip address associations 2017-04-06 10:46:14 -06:00
Jake Champlin
bff6f5d609 Remove unnecessary nil check in return 2017-04-06 12:31:33 -04:00
Jake Champlin
3bd582b3d5 Add fixes from comments
- Adds docs to sidebar
- Changes `volume` to `volume_name` in volume snapshot
- Fixes tests
- Changes `parent_volume_bootable` to boolean, and converts to string for API

```
$ make testacc TEST=./builtin/providers/opc TESTARGS="-run=TestAccOPCStorageVolumeSnapshot_basic"
==> Checking that code complies with gofmt requirements...
go generate $(go list ./... | grep -v /terraform/vendor/)
2017/04/06 12:26:59 Generated command/internal_plugin_list.go
TF_ACC=1 go test ./builtin/providers/opc -v -run=TestAccOPCStorageVolumeSnapshot_basic -timeout 120m
=== RUN   TestAccOPCStorageVolumeSnapshot_basic
--- PASS: TestAccOPCStorageVolumeSnapshot_basic (24.45s)
PASS
ok      github.com/hashicorp/terraform/builtin/providers/opc    24.476s
```
2017-04-06 12:29:13 -04:00
Jake Champlin
e569fd3f6c provider/opc: Add Storage Volume Snapshots
Adds `storage_volume_snapshot` resource, and allows for creating a storage_volume from a storage volume snapshot.
Also adds documentation for additions, and tests.

```
TF_ACC=1 go test ./builtin/providers/opc -v -run=TestAccOPCStorageVolume -timeout 120m
=== RUN   TestAccOPCStorageVolumeSnapshot_importBasic
--- PASS: TestAccOPCStorageVolumeSnapshot_importBasic (24.72s)
=== RUN   TestAccOPCStorageVolumeSnapshot_basic
--- PASS: TestAccOPCStorageVolumeSnapshot_basic (24.01s)
=== RUN   TestAccOPCStorageVolume_Basic
--- PASS: TestAccOPCStorageVolume_Basic (12.99s)
=== RUN   TestAccOPCStorageVolume_Complete
--- PASS: TestAccOPCStorageVolume_Complete (13.91s)
=== RUN   TestAccOPCStorageVolume_MaxSize
--- PASS: TestAccOPCStorageVolume_MaxSize (14.47s)
=== RUN   TestAccOPCStorageVolume_Update
--- PASS: TestAccOPCStorageVolume_Update (22.36s)
=== RUN   TestAccOPCStorageVolume_FromSnapshot
--- PASS: TestAccOPCStorageVolume_FromSnapshot (32.28s)
```
2017-04-06 02:07:38 -04:00
Jake Champlin
871d33d90d Fix instance attributes 2017-04-05 18:14:11 -04:00
Jake Champlin
9062ddded3 Add Storage Volumes to instances
- Adds storage volumes to instances
- Updates go-oracle-terraform vendor
- Adds clarification between ip/shared network in docs
- make 'bootable.image_list' a required parameter in the storage_volume resource
- Add storage volume test + docs
2017-04-05 16:40:05 -04:00
Jake Champlin
d05af76607 add image_list_entry resource 2017-04-04 16:28:11 -04:00
Jake Champlin
1f9cf2f4c3 update tests, fix instances 2017-04-04 14:36:51 -04:00
Jake Champlin
15d93749e8 fix data_source_vnic_test 2017-04-04 10:21:10 -04:00
Jake Champlin
edc524df55 provider/opc: Update OPC Provider
Updates the OPC provider to a fully working version.
2017-04-03 18:24:57 -04:00