Insert the attributes for the current VDC or a VDC which you want the current VDC to connect. Enables the name of the VDC, the end points that can be used to communicate with it, and a secret key used to encrypt traffic between VDCs to be set.
vdcName | VDC name for which mapping needs to be inserted |
Requires one of the following roles:
SYSTEM_ADMIN
SERVICE
The following conditions must be met in order to call this operation.
VDC must exist
All parameters are required unless otherwise stated.
Field | Description | Type | Notes |
vdc_insert | |||
vdcName | Name of VDC to be inserted | String | |
interVdcEndPoints | End points for the VDC | String | |
interVdcCmdEndPoints | Control Plane end points for the VDC | String |
Valid Values:
|
secretKeys | Secret key to encrypt communication between VDC | String | |
managementEndPoints | The management end points for the VDC | String |
Valid Values:
|
Response indicating Success or Failure to insert VDC
PUT https://192.168.0.0:4443/object/vdcs/vdc/vdc1 Content-Type: application/xml X-SDS-AUTH-TOKEN=BAAcRGtUUmNOZHNpbitMaEVhZUhhdWtad1J3WDRRPQMAUAQADTEzNzk1NDIwMjQ4MzACAAEABQA5dXJuOnN0b3JhZ2VvczpUb2tlbjoxYmVhNGJiMy04M2MwLTRlOGItODc4Ni1iYWYxYmM4NTZkNTY6AgAC0A8= <vdc_insert> <vdcName>vdc1</vdcName> <interVdcEndPoints>10.245.134.106,10.245.134.107,10.245.134.108</interVdcEndPoints> <secretKeys>12345</secretKeys> </vdc_insert>
HTTP/1.1 200 OK Content-Type: application/xml