Validate Avn Spec

Validate Avn Spec

Returns Validation report

Request
URI
POST
https://sfo-vcf01.rainpole.io/v1/avns/validations
COPY
Request Body

Provide the spec to create the AVNs

AvnsCreationSpec of type(s) application/json
Required

Show optional properties

{
    "avns": [
        {
            "gateway": "192.168.31.1",
            "mtu": "1600",
            "name": "vRealize-AVN",
            "regionType": "REGION_A",
            "subnet": "192.168.31.0",
            "subnetMask": "255.255.255.0"
        }
    ],
    "edgeClusterId": "3f39d4a1-78d2-11e8-af85-f1cf26258cdc"
}
{
    "avns": [
        {
            "domainName": "rainpole.io",
            "gateway": "192.168.31.1",
            "id": "3f39d4a1-78d2-11e8-af85-f1cf26258cdc",
            "mtu": "1600",
            "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": "30"
        }
    ],
    "edgeClusterId": "3f39d4a1-78d2-11e8-af85-f1cf26258cdc"
}
array of Avn
avns
Required

The list of AVNs to be created

string
edgeClusterId
Required

The UUID of the Edge Cluster to associate AVNs

Responses
200

Validation of AVN Creation spec completed

Returns Validation of type(s) application/json
{
    "additionalProperties": {
        "additionalProperties": "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": {
                    "context": "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"
        }
    ]
}
object
additionalProperties
Optional

additionalProperties

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

validationChecks
Optional

List of one or more validation checks that are performed as part of the validation


500

Unexpected error

Returns Error of type(s) application/json
{
    "arguments": [
        "string"
    ],
    "causes": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "context": {
        "context": "string"
    },
    "errorCode": "string",
    "errorType": "string",
    "message": "string",
    "nestedErrors": [
        "Error Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

The arguments used to localize the message, Can be used by scripts to automate the error processing.

array of ErrorCause
causes
Optional

The underlying cause exceptions.

object
context
Optional

The error context (e.g. the component where it occurred).

string
errorCode
Optional

The minor error code

string
errorType
Optional

The error type

string
message
Optional

The localized error message

array of Error
nestedErrors
Optional

The nested errors when the error is a composite one

string
referenceToken
Optional

A reference token correlating the error with the relevant detailed error logs. Should be sent to the service provider when reporting issues.

string
remediationMessage
Optional

The localized remediation error message