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

Developer APIs for SDDC stretched cluster #104

Open
3 tasks done
Aishwarya2 opened this issue Apr 17, 2020 · 2 comments
Open
3 tasks done

Developer APIs for SDDC stretched cluster #104

Aishwarya2 opened this issue Apr 17, 2020 · 2 comments

Comments

@Aishwarya2
Copy link

Aishwarya2 commented Apr 17, 2020

  • I am using the latest SDK version
  • This API is compatible with my vCenter version (You can get the info from the Java API Reference Documentation)
  • I have searched existing issues

Environment

  • sdk binding version:
  • Java version:
  • vSphere version:

  • Operating System/Shell (used to run SDK-based apps):

Steps or code snippet to reproduce

Actual behavior

Expected behavior

I am currently looking for a way to provision stretched cluster SDDCs and perform operations such as Add/Remove host, Add/remove cluster etc through APIs. Currently, there's a way to provision stretched cluster SDDC only through vmc console UI

@sumitAgrawal007
Copy link
Contributor

Hi,
you can find the latest vmc APIs here https://code.vmware.com/apis/603/vmware-cloud-on-aws#/sddc.
Let me know if you still need help.

@Aishwarya2
Copy link
Author

I wanted to clarify that I am not looking for documentation on VMC APIs. Presently, the only way to provision a stretched cluster SDDC is through the VMC Console UI

The API for provisioning SDDC has the following request payload when trying to provision a stretched cluster through UI. I got the payload from the network call made in the developer console of firefox browser when I provisioned a stretched cluster SDDC through vmc console UI:

{
"name":"testStretchCluster",
"num_hosts":6,
"provider":"AWS",
"deployment_type":"MultiAZ",
"region":"",
"account_link_sddc_config":[
{
"customer_subnet_ids":[
"",
""
],
"connected_account_id":""
}
],
"sddc_type":"DEFAULT",
"host_instance_type":"i3.metal",
"skip_creating_vxlan":true
}

This does not look any different from trying to provision a multiAZ SDDC. It looks like creating a stretched cluster SDDC calls some other API in the background. What's the difference in payload when provisioning a multi-AZ SDDC versus stretched cluster SDDC?

It seems like there are no developer APIs available that deals with any stretched cluster SDDC operations. If I am wrong, could you point me to the right resource? If not, please consider this as a feature request

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

No branches or pull requests

2 participants