Create Network Extension

Create Network Extension

Create Layer 2 Extension

Request
URI
POST
https://{api_host}/hybridity/api/l2Extensions
COPY
Request Body
Required
{
    "gateway": "172.16.4.126",
    "netmask": "255.255.255.128",
    "destination": {
        "endpointId": "string",
        "resourceId": "string"
    },
    "sourceNetwork": {
        "networkId": "string",
        "networkType": "string"
    },
    "destinationNetwork": {
        "gatewayId": "string"
    },
    "sourceAppliance": {
        "applianceId": "string"
    },
    "features": {
        "proximityRouting": false,
        "egressOptimization": false
    }
}
string
gateway
Optional

IP address of gateway

string
netmask
Optional

255.255.255.128

object
destination
Optional

destination

object
sourceNetwork
Optional

sourceNetwork

object
destinationNetwork
Optional

Details for creating destination side network.

object
sourceAppliance
Optional

sourceAppliance

object
features
Optional

features

Authentication
This operation uses the following authentication methods.
Responses
200

Status 200

Returns InlineHybridityApiL2Extensions200Response of type(s) application/json
{
    "id": "string"
}
string
id
Optional

Job ID


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{}' https://{api_host}/hybridity/api/l2Extensions