Create Gre Tunnel
Creates a GRE Tunnel on the Provider Gateway.
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/externalNetworks/{externalNetworkId}/providerGatewayServices/greTunnels
COPY
Path Parameters
string
externalNetworkId
Required
externalNetworkId
Request Body
ProviderGatewayGreTunnel
of type(s)
application/json
Optional
Show optional properties
{
"name": "string",
"destinationAddress": "string",
"tunnelAddresses": [
{
"sourceAddress": "string",
"edgeNodeRef": {},
"tunnelInterfaces": [
{}
]
}
]
}
{
"id": "string",
"name": "string",
"description": "string",
"destinationAddress": "string",
"tunnelAddresses": [
{
"sourceAddress": "string",
"edgeNodeRef": {
"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
"name": "string",
"type": "string"
},
"tunnelInterfaces": [
"string"
]
}
],
"active": false,
"mtu": 0,
"keepAlive": {
"active": false,
"sendAck": false,
"deadMultiplier": 0,
"interval": 0
},
"version": {
"version": 0
},
"realizedState": {
"status": "string"
},
"aggregatedConnectivityStatus": "string"
}
Responses
202
The request have been accepted and the task to monitor the request is in the Location header.
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"destinationAddress:"string","name:"string","tunnelAddresses":["string"]}' https://{api_host}/cloudapi/1.0.0/externalNetworks/{externalNetworkId}/providerGatewayServices/greTunnels
Availability
Added in 39.0
On This Page
Provider Gateway Gre Tunnels Operations
GET
List Gre Tunnels
POST
Create Gre Tunnel
GET
Get Gre Tunnel
PUT
Update Gre Tunnel
DELETE
Delete Gre Tunnel
GET
Get Gre Tunnel Statistics
GET
Get Gre Tunnel Connectivity Status