[{"label":"Latest (4.4.0)","version":"latest"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail
Validate AVNs
DescriptionReturns Validation report
Request
URLURL
https://sfo-vcf01.rainpole.io/v1/avns/validations
Request Body
Request Body
{
"avns": [
{
"gateway": "192.168.31.1",
"mtu": 0,
"name": "vRealize-AVN",
"regionType": "REGION_A",
"subnet": "192.168.31.0",
"subnetMask": "255.255.255.0"
}
],
"edgeClusterId": "3f39d4a1-78d2-11e8-af85-f1cf26258cdc"
}
string
edgeClusterId
Required
The UUID of the Edge Cluster to associate AVNs
Response
Response
Response BodyResponse Body
200 OK returns
Validation
of type(s) application/json
Validation of AVN Creation spec completed
{
"additionalProperties": {
"key": "string"
},
"description": "string",
"executionStatus": "One among: IN_PROGRESS, FAILED, COMPLETED, SKIPPED, CANCELLED, CANCELLATION_IN_PROGRESS",
"id": "string",
"resultStatus": "One among: SUCCEEDED, FAILED, FAILED_WITH_WARNINGS, CANCELLATION_IN_PROGRESS",
"validationChecks": [
{
"description": "string",
"errorResponse": {
"arguments": [
"string"
],
"causes": [
{
"message": "string",
"type": "string"
}
],
"context": {
"key": "string"
},
"errorCode": "string",
"errorType": "string",
"message": "string",
"nestedErrors": "Error Object",
"referenceToken": "string",
"remediationMessage": "string"
},
"nestedValidationChecks": "ValidationCheck Object",
"resultStatus": "One among: IN_PROGRESS, SUCCEEDED, FAILED, SKIPPED, CANCELLED, CANCELLATION_IN_PROGRESS",
"severity": "One among: WARNING, ERROR, INFO"
}
]
}
map of
string
additionalProperties
Optional
string
description
Optional
Description of the validation
string
executionStatus
Optional
Execution status of the validation
string
id
Optional
ID of the validation
string
resultStatus
Optional
Result status of the validation after it has completed its execution
array of
ValidationCheck
validationChecks
Optional
List of one or more validation checks that are performed as part of the validation
Errors
Code SamplesCode Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"avns":[{"domainName":"rainpole.io","gateway":"192.168.31.1","id":"3f39d4a1-78d2-11e8-af85-f1cf26258cdc","mtu":0,"name":"vRealize-AVN","portGroupName":"sfo-m01-seg01-pg","regionType":"REGION_A","routerName":"sfo-m01-ec01-t1-gw01","subnet":"192.168.31.0","subnetMask":"255.255.255.0","vlanId":0}],"edgeClusterId":"3f39d4a1-78d2-11e8-af85-f1cf26258cdc"}' https://sfo-vcf01.rainpole.io/v1/avns/validations
[{"label":"Latest (4.4.0)","version":"latest"},{"version":"4.3.1"},{"link":"https://developer.vmware.com/apis/1127/vmware-cloud-foundation","version":"4.3"},{"link":"https://developer.vmware.com/apis/1078/vmware-cloud-foundation","version":"4.2"},{"link":"https://developer.vmware.com/apis/1033/vmware-cloud-foundation","version":"4.1"},{"link":"https://developer.vmware.com/apis/1003/vmware-cloud-foundation","version":"4.0.1"},{"link":"https://developer.vmware.com/apis/939/vmware-cloud-foundation","version":"4.0"}]
vcf-for-vxrail