go-vmware-nsxt icon indicating copy to clipboard operation
go-vmware-nsxt copied to clipboard

Support communication with multiple managers (proposal)

Open mengdie-song opened this issue 5 years ago • 1 comments

It seems that the project for now only supports connection with one manager (https://github.com/vmware/go-vmware-nsxt/blob/master/configuration.go#L36).

In the case of connection with multiple managers, we would want to connect to different MPs and load balance requests(e.g round robin) . Now we have to implement this logic from the clients whoever invoke this library. If we enhance this part in this common library, then we can avoid duplicate efforts from different callers. What's more, we can further add keep-alive scheme to this library to maintain the available endpoints list.

@annakhm What do you think ? I can work on this enhancement if you think it is feasible.

mengdie-song avatar Nov 27 '20 06:11 mengdie-song

Hi @mengdie-song, we expect to have MP APIs published under https://github.com/vmware/vsphere-automation-sdk-go in coming months. Lets consider adding features there, as this repository is much behind in terms of API.

annakhm avatar Nov 28 '20 00:11 annakhm