Validate Edge Cluster Spec

Validate Edge Cluster Spec

Validate an Edge Cluster spec

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

NSX-T Edge cluster creation data to be validated

EdgeClusterCreationSpec of type(s) application/json
Required

Show optional properties

{
    "edgeAdminPassword": "string",
    "edgeAuditPassword": "string",
    "edgeClusterName": "string",
    "edgeClusterProfileSpec": {
        "bfdAllowedHop": 0,
        "bfdDeclareDeadMultiple": 0,
        "bfdProbeInterval": 0,
        "edgeClusterProfileName": "string",
        "standbyRelocationThreshold": 0
    },
    "edgeClusterProfileType": "One among: DEFAULT, CUSTOM",
    "edgeClusterType": "One among: NSX-T",
    "edgeFormFactor": "One among: XLARGE, LARGE, MEDIUM, SMALL",
    "edgeNodeSpecs": [
        {
            "clusterId": "string",
            "edgeNodeName": "string",
            "edgeTep1IP": "string",
            "edgeTep2IP": "string",
            "edgeTepGateway": "string",
            "edgeTepVlan": 0,
            "interRackCluster": false,
            "managementGateway": "string",
            "managementIP": "string"
        }
    ],
    "edgeRootPassword": "string",
    "mtu": 0,
    "tier0Name": "string",
    "tier0RoutingType": "One among: EBGP, STATIC",
    "tier0ServicesHighAvailability": "One among: ACTIVE_ACTIVE, ACTIVE_STANDBY",
    "tier1Name": "string"
}
{
    "asn": 0,
    "edgeAdminPassword": "string",
    "edgeAuditPassword": "string",
    "edgeClusterName": "string",
    "edgeClusterProfileSpec": {
        "bfdAllowedHop": 0,
        "bfdDeclareDeadMultiple": 0,
        "bfdProbeInterval": 0,
        "edgeClusterProfileName": "string",
        "standbyRelocationThreshold": 0
    },
    "edgeClusterProfileType": "One among: DEFAULT, CUSTOM",
    "edgeClusterType": "One among: NSX-T",
    "edgeFormFactor": "One among: XLARGE, LARGE, MEDIUM, SMALL",
    "edgeNodeSpecs": [
        {
            "clusterId": "string",
            "edgeNodeName": "string",
            "edgeTep1IP": "string",
            "edgeTep2IP": "string",
            "edgeTepGateway": "string",
            "edgeTepVlan": 0,
            "firstNsxVdsUplink": "One among: uplink1, uplink2, uplink3, uplink4",
            "interRackCluster": false,
            "managementGateway": "string",
            "managementIP": "string",
            "managementVlanId": 0,
            "secondNsxVdsUplink": "One among: uplink1, uplink2, uplink3, uplink4",
            "uplinkNetwork": [
                {
                    "asnPeer": 0,
                    "bgpPeerPassword": "string",
                    "bgpPeers": [
                        {
                            "asn": 0,
                            "ip": "string",
                            "password": "string"
                        }
                    ],
                    "peerIP": "string",
                    "uplinkInterfaceIP": "string",
                    "uplinkVlan": 0
                }
            ],
            "vmManagementNetworkName": "string"
        }
    ],
    "edgeRootPassword": "string",
    "internalTransitSubnets": [
        "string"
    ],
    "mtu": 0,
    "tier0Name": "string",
    "tier0RoutingType": "One among: EBGP, STATIC",
    "tier0ServicesHighAvailability": "One among: ACTIVE_ACTIVE, ACTIVE_STANDBY",
    "tier1Name": "string",
    "tier1Unhosted": false,
    "transitSubnets": [
        "string"
    ]
}
integer As int64 As int64
asn
Optional

ASN to be used for the edge cluster

string
edgeAdminPassword
Required

Edge Password for admin user

string
edgeAuditPassword
Required

Edge Password for audit

string
edgeClusterName
Required

Name for the edge cluster.

edgeClusterProfileSpec
Required

This specification contains edge cluster profile configurations

string
edgeClusterProfileType
Required

Type of edge cluster profile

string
edgeClusterType
Required

Type of edge cluster

string
edgeFormFactor
Required

Edge Form Factor

edgeNodeSpecs
Required

Specifications for Edge Node. Number of Edge Nodes cannot exceed 8 if HA mode is ACTIVE-ACTIVE and can not exceed 2 if HA mode is ACTIVE-STANDBY

string
edgeRootPassword
Required

Edge Password for root user.

array of string
internalTransitSubnets
Optional

Subnet addresses in CIDR notation that are used to assign addresses to logical links connecting service routers and distributed routers

integer As int32 As int32
mtu
Required

Maximum transmission unit

string
tier0Name
Required

Name for the Tier-0

string
tier0RoutingType
Required

Tier 0 Routing type -eg eBGP, Static

string
tier0ServicesHighAvailability
Required

High-availability Mode for Tier-0

string
tier1Name
Required

Name for the Tier-1

boolean
tier1Unhosted
Optional

Select whether Tier-1 being created per this spec is hosted on the new Edge cluster or not (default value is false, meaning hosted)

array of string
transitSubnets
Optional

Transit subnet addresses in CIDR notation that are used to assign addresses to logical links connecting Tier-0 and Tier-1s

Responses
200

OK

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


202

Accepted

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


400

Bad Request

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


500

InternalServerError

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