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

Add support External Network backed NSX-T Segment #399

Merged
merged 5 commits into from
Sep 30, 2021

Conversation

Didainius
Copy link
Collaborator

@Didainius Didainius commented Sep 15, 2021

VCD 10.3 introduced a new type of NSX-T External networks - Segment backed networks which can then be consumed by Direct VDC network. This PR adds support for this type of network and related tests.

Signed-off-by: Dainius Serplis <[email protected]>
@Didainius Didainius marked this pull request as ready for review September 17, 2021 12:51
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.

Just one ask for the "elevated API" concept description.

@@ -0,0 +1,3 @@
* External network type ExternalNetworkV2 uses elevated API (maximum available from 33.0, 35.0 and 36.0) [GH-339]
Copy link
Collaborator

Choose a reason for hiding this comment

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

This sentence is geeky :) Could we somehow make it more friendly for the casual reader? Few suggestions:

  • "elevated API ..." - maybe add "version"?
  • What about explaining what "elevated" means in this context in more detail?
    Thanks!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I have tried to improve the message. How does it look now?

One thing I am not sure about is if we should put any internal links to docs. I could - but we never done this before I think.

We introduced this generic functionality for API version elevation in previous release so that NSX-T Nat Rules can consume latest API.

There is a function https://github.com/Didainius/go-vcloud-director/blob/faf5992f7e4f4338cc76afff924cdc650af2409c/govcd/openapi_endpoints.go#L107 which is used in our resources and some elevations with explanations:
https://github.com/Didainius/go-vcloud-director/blob/faf5992f7e4f4338cc76afff924cdc650af2409c/govcd/openapi_endpoints.go#L59-L71

Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
Signed-off-by: Dainius Serplis <[email protected]>
@Didainius Didainius merged commit 98d8594 into vmware:master Sep 30, 2021
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.

4 participants