-
Notifications
You must be signed in to change notification settings - Fork 75
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 for NSX-T Alb General Settings #403
Conversation
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
@@ -0,0 +1,2 @@ | |||
* Added type `NsxtAlbConfig` and functions `NsxtEdgeGateway.UpdateAlbSettings`, `NsxtEdgeGateway.GetAlbSettings`, | |||
`NsxtEdgeGateway.DisableAlb` [GH-403] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe worth mentioning the helper function too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The helper function is a private one made for testing that should not be mentioned in the changes log.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, I am on this one with dataclouder - it is an internal function used for testing only.
@@ -78,3 +78,34 @@ func (vcd *TestVCD) Test_GetAllAlbServiceEngineGroups(check *C) { | |||
err = controller.Delete() | |||
check.Assert(err, IsNil) | |||
} | |||
|
|||
// spawnAlbControllerCloudServiceEngineGroup is a helper function to spawn NSX-T ALB Controller,ALB Cloud, and ALB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// spawnAlbControllerCloudServiceEngineGroup is a helper function to spawn NSX-T ALB Controller,ALB Cloud, and ALB | |
// spawnAlbControllerCloudServiceEngineGroup is a helper function to spawn NSX-T ALB Controller, ALB Cloud and ALB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -0,0 +1,2 @@ | |||
* Added type `NsxtAlbConfig` and functions `NsxtEdgeGateway.UpdateAlbSettings`, `NsxtEdgeGateway.GetAlbSettings`, | |||
`NsxtEdgeGateway.DisableAlb` [GH-403] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The helper function is a private one made for testing that should not be mentioned in the changes log.
Signed-off-by: Dainius Serplis <dserplis@vmware.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This PR starts adding NSX-T ALB support for Tenant view. It is in tenant view, but still requires System user (just like creating an edge gateway)
This is the first resource in series to allow controlling ALB on NSX-T Edge Gateway. It still requires system user to modify, just as creating an edge gateway, but is presented in Tenants view
From technical standpoint it adds type
NsxtAlbConfig
and functionsNsxtEdgeGateway.UpdateAlbGeneralSettings
,NsxtEdgeGateway.GetAlbGeneralSettings
,NsxtEdgeGateway.DisableAlb
as well as tests.It also adds another testing helper function
spawnAlbControllerCloudServiceEngineGroup
which does all Provider side configuration of NSX-T ALB and will be required for all tests in Tenant view.Tests on tag
alb
have passed on 10.1 (ALB is not supported there), 10.2 and 10.3