Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NAT rule support IDs and external or Org networks #282

Merged
merged 29 commits into from
Jul 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
18db1f2
Adding meta data creation with update support
vbauzys Jun 20, 2019
72722b6
Merge branch 'master' into vdc-metadata
vbauzys Jul 4, 2019
cd550d4
Add metadata functionality
vbauzys Jul 5, 2019
6eb7ea7
Address comments
vbauzys Jul 5, 2019
1ff0368
Change func names
vbauzys Jul 5, 2019
55009eb
Fix naming
vbauzys Jul 8, 2019
bd71e0b
Improve error message
vbauzys Jul 8, 2019
71df2ab
git push origin masterMerge branch 'master' of github.com:terraform-p…
vbauzys Jul 8, 2019
6dd5640
bump govcd version to PR
vbauzys Jul 15, 2019
6828239
Add implementation for support network type and handling IDs.
vbauzys Jul 15, 2019
6585559
Add missing file
vbauzys Jul 15, 2019
e247d25
Merge branch 'master' of github.com:terraform-providers/terraform-pro…
vbauzys Jul 15, 2019
6e8b128
Merge branch 'master' into nat_extNet_support
vbauzys Jul 15, 2019
e2f9b15
Improve changelog
vbauzys Jul 15, 2019
2607d2c
Fix
vbauzys Jul 16, 2019
4df154d
Improve comments
vbauzys Jul 17, 2019
b1bf437
Add update unit tests
vbauzys Jul 17, 2019
a8b5121
bump govcd to latest version
vbauzys Jul 18, 2019
24c4dc4
Changes according latest govcd changes
vbauzys Jul 18, 2019
3ee3b67
Add improvements
vbauzys Jul 19, 2019
668ccb1
Add comment fix
vbauzys Jul 19, 2019
89028b2
Add improvements in comments
vbauzys Jul 19, 2019
72a10b4
Add comment fix
vbauzys Jul 19, 2019
103a0f5
Add comment fix
vbauzys Jul 19, 2019
43cba68
Removed comments
vbauzys Jul 19, 2019
6d2d64a
Bump govcd version
vbauzys Jul 19, 2019
05b96e6
Change test timeout from 90m to 120m
vbauzys Jul 22, 2019
300c845
Add check for case when two diff type netw has same name
vbauzys Jul 22, 2019
0a4bd77
Add comment fix
vbauzys Jul 22, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,19 @@ FEATURES:
* **New build commands** `make test-env-init` and `make test-env-apply` can configure an empty vCD to run the test suite. See `TESTING.md` for details.
* `resource/vcd_org_vdc` added Org VDC update and full state read - [GH-275]
* `resource/vcd_org_vdc` added Org VDC metadata support - [GH-276]
* `resource/vcd_snat` added ability to choose network name and type. [GH-282]
* `resource/vcd_dnat` added ability to choose network name and type. [GH-282]

IMPROVEMENTS:
* `resource/vcd_org_vdc`: Fix ignoring of resource guarantee values - [GH-265]
* `resource/vcd_org_vdc`: Org VDC state ID changed from name to vCD ID - [GH-275]
* Change resource handling to use locking mechanism when resource parallel handling is not supported by vCD. [GH-255]
* Fix issue when vApp is power cycled during member VM deletion. [GH-261]

BUG FIXES:

* `resource/vcd_dnat and resource/vcd_snat` - fix resource destroy as it would still leave NAT rule in edge gateway. Fix works if network_name and network_type is used. [GH-282]

## 2.3.0 (May 29, 2019)

IMPROVEMENTS:
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ go 1.12

require (
github.com/hashicorp/terraform v0.12.0
github.com/vmware/go-vcloud-director/v2 v2.3.0-beta.2
github.com/vmware/go-vcloud-director/v2 v2.3.0-beta.3
)
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -301,8 +301,8 @@ github.com/ulikunitz/xz v0.5.5/go.mod h1:2bypXElzHzzJZwzH67Y6wb67pO62Rzfn7BSiF4A
github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk=
github.com/vmihailenco/msgpack v4.0.1+incompatible h1:RMF1enSPeKTlXrXdOcqjFUElywVZjjC6pqse21bKbEU=
github.com/vmihailenco/msgpack v4.0.1+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk=
github.com/vmware/go-vcloud-director/v2 v2.3.0-beta.2 h1:3lB0heHFS+0SKcuWsQAx2YZXoxDeZXeHsEme5sYaTHw=
github.com/vmware/go-vcloud-director/v2 v2.3.0-beta.2/go.mod h1:HonlGxbjJ1NAibWh99eE4/S2l6ZOZ5KJzKK1rh2a9vc=
github.com/vmware/go-vcloud-director/v2 v2.3.0-beta.3 h1:PRs0pkY3Uvt5YmASrGvbPobqU/V5hYc7hlDEPCI7jEM=
github.com/vmware/go-vcloud-director/v2 v2.3.0-beta.3/go.mod h1:HonlGxbjJ1NAibWh99eE4/S2l6ZOZ5KJzKK1rh2a9vc=
github.com/xanzy/ssh-agent v0.2.1/go.mod h1:mLlQY/MoOhWBj+gOGMQkOeiEvkx+8pJSI+0Bx9h2kr4=
github.com/xiang90/probing v0.0.0-20160813154853-07dd2e8dfe18/go.mod h1:UETIi67q53MR2AWcXfiuqkDkRtnGDLqkBTpCHuJHxtU=
github.com/xlab/treeprint v0.0.0-20161029104018-1d6e34225557/go.mod h1:ce1O1j6UtZfjr22oyGxGLbauSBp2YVXpARAosm7dHBg=
Expand Down
8 changes: 4 additions & 4 deletions scripts/runtest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ function acceptance_test {
if [ -n "$VERBOSE" ]
then
echo "# check for config file"
echo "TF_ACC=1 go test -tags '$tags' -v -timeout 90m ."
echo "TF_ACC=1 go test -tags '$tags' -v -timeout 120m ."
fi

if [ -z "$DRY_RUN" ]
then
check_for_config_file
TF_ACC=1 go test -tags "$tags" -v -timeout 90m .
TF_ACC=1 go test -tags "$tags" -v -timeout 120m .
fi
}

Expand All @@ -111,13 +111,13 @@ function multiple_test {
if [ -n "$VERBOSE" ]
then
echo "# check for config file"
echo "TF_ACC=1 go test -v -timeout 90m -tags 'api multivm multinetwork' -run '$filter' ."
echo "TF_ACC=1 go test -v -timeout 120m -tags 'api multivm multinetwork' -run '$filter' ."
fi

if [ -z "$DRY_RUN" ]
then
check_for_config_file
TF_ACC=1 go test -v -timeout 90m -tags 'api multivm multinetwork' -run "$filter" .
TF_ACC=1 go test -v -timeout 120m -tags 'api multivm multinetwork' -run "$filter" .
fi
}

Expand Down
Loading