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

Update Org VDC Networks #292

Merged
merged 13 commits into from
Mar 19, 2020
Merged

Conversation

dataclouder
Copy link
Contributor

@dataclouder dataclouder commented Mar 4, 2020

Adds the ability of updating Org VDC networks in place. Until now, we could only remove and re-create them.

Added methods orgVdcNetwork.Update, orgVdcNetwork.UpdateAsync, and OrgVdcNetwork.Rename

Copy link
Collaborator

@Didainius Didainius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not much comments from me. I will have a second look together with provider PR.

@dataclouder dataclouder marked this pull request as ready for review March 16, 2020 06:31
Copy link
Contributor

@vbauzys vbauzys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few comments :)

* Add refresh at the end of the functions for OrgVDCNetwork and
  EdgeGateway
* Update tests to check that the object is updated.
Copy link
Collaborator

@Didainius Didainius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests passed for me in 9.5

Copy link
Contributor

@vbauzys vbauzys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, passed tests with 9.5

Copy link
Collaborator

@lvirbalas lvirbalas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, I would only like to ask to extend the PR description (and commit message) to include narrative what was not possible before and what the additions allow to do now more specifically (from the perspective of casual user who will be reading this PR description after clicking link in the changelog after referencing it with the next release).

@dataclouder
Copy link
Contributor Author

LGTM, I would only like to ask to extend the PR description (and commit message) to include narrative what was not possible before and what the additions allow to do now more specifically (from the perspective of casual user who will be reading this PR description after clicking link in the changelog after referencing it with the next release).

Previously, we could not update networks: we had to remove and re-create them. That's what the Update functions are about

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants