Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Overview

Excerpt Include
ESLP:Complete users API (snippet)
ESLP:Complete users API (snippet)
nopaneltrue

...

Sample Request

Code Block
languagetext
themeMidnight
POST https://api.armor.com/l2l/
{
  "name":"ME4",
  "psk":"Secur3_K3Y",
  "peerIp":"10.1.1.3",
  "dhGroup":"dh2",
  "isEnabled":true,
  "enablePfs":true,
  "localSubnets":[
     "100.64.0.66/32"
  ],
  "peerSubnets":[
     "10.1.0.0/24"
  ],
  "authentication":"psk",
  "encryption":"aes256",
  "localIp":"146.88.118.5",
  "edgeId":4,
  "peerId":"10.1.1.0"
}

...

ParameterDescriptionFormatRequired or optionalExample
nameName of tunnelStringRequiredME4
pskPre-shared keyStringRequiredSecur3_K3Y
dhGroupDiffie-Hellman groupStringRequireddh2
isEnabledFlag to enable to disableBoolRequiredtrue
enablePfsEnable perfect forward secrecyBoolRequiredtrue
localSubnetsLocal subnets to tunnelArrayRequired100.64.0.66/32
peerSubnetsPeer subnets to tunnelArrayRequired10.1.0.0/24
authenticationType of authenticationStringRequiredpsk
encryptionType of encryption to useStringRequiredaes256
localIpLocal Peer IP addressStringRequired146.88.118.5
edgeIdid of edge in which the tunnel is establishedIntegerRequired4
peerIdRemote peer addressStringRequired10.1.1.0

Sample Return

StatusResponse
200
Code Block
languagetext
themeMidnight
{
  "location": "DFW01",
  "zone": "DFW01T01-VC03",
  "lastModified": "2015-01-06T23:06:09.893",
  "peerId": "1.2.3.4",
  "encryption": "3des",
  "enablePfs": true,
  "dhGroup": "dh2",
  "localSubnets": [
    "100.64.0.64/32"
  ],
  "peerSubnets": [
    "10.1.1.0/24"
  ],
  "psk": null,
  "authentication": "psk",
  "configurationId": 4,
  "id": 24,
  "name": "ME",
  "localIp": "146.88.118.5",
  "peerIp": "1.2.3.4",
  "isEnabled": true,
  "notes": null,
  "tags": []
}
400
Code Block
languagetext
themeMidnight
Bad Request
Excerpt
hiddentrue

Output

Excerpt Include
ESLP:Output results (snippet)
ESLP:Output results (snippet)
nopaneltrue

ReturnTypeDescriptionPossible valuesExample