This PR adds support for NSX-T Edge Gateway in VDC Groups.
NSX-T Edge Gateway now supports VDC Groups by switching from OrgVdc to OwnerRef field.
Additional methods NsxtEdgeGateway.MoveToVdc(), Org.GetNsxtEdgeGatewayByNameAndOwnerId(),
VdcGroup.GetNsxtEdgeGatewayByName(), VdcGroup.GetAllNsxtEdgeGateways(), org.GetVdcGroupById
test Test_NsxtEdgeVdcGroup which aims to test all the new added things.
test function test_CreateVdcGroup is moved to separate file govcd/vdc_group_common_test.go so that it can be shared on multiple build tags and reused and create
This PR adds support for NSX-T Edge Gateway in VDC Groups.
OrgVdc
toOwnerRef
field. Additional methodsNsxtEdgeGateway.MoveToVdc()
,Org.GetNsxtEdgeGatewayByNameAndOwnerId()
,VdcGroup.GetNsxtEdgeGatewayByName()
,VdcGroup.GetAllNsxtEdgeGateways()
,org.GetVdcGroupById
OwnerIsVdcGroup()
,OwnerIsVdc()
,VdcGroup.GetCapabilities()
,VdcGroup.IsNsxt()
Additionally
Test_NsxtEdgeVdcGroup
which aims to test all the new added things.test_CreateVdcGroup
is moved to separate filegovcd/vdc_group_common_test.go
so that it can be shared on multiple build tags and reused and create