Action |
Method |
Payload Required |
API |
To create secure overlay configuration |
POST |
Yes |
/api/config/secure-overlays |
To get secure overlay configuration |
GET |
No |
/api/config/secure-overlays?deep |
To delete secure overlay configuration |
DELETE |
No |
/api/config/secure-overlays |
To get secure overlay state data |
GET |
No |
/api/operational/secure-overlays |
Example for secure overlay payload
<secure-overlay>
<name>mgmthub</name>
<local-bridge>wan-br</local-bridge>
<local-system-ip-addr>34.34.34.4</local-system-ip-addr>
<remote-interface-ip-addr>10.85.189.36</remote-interface-ip-addr>
<remote-system-ip-addr>10.19.18.251</remote-system-ip-addr>
<remote-id>mgmt-hub.cloudvpn.com</remote-id>
<psk>
<local-psk>Cisco1234Admin</local-psk>
<remote-psk>Cisco1234Admin</remote-psk>
</psk>
</secure-overlay>
Property |
Type |
Description |
Mandatory |
---|---|---|---|
name |
String |
Name of secure overlay connection. |
Yes |
description |
String |
Description of secure overlay connection |
No |
local-bridge |
String |
Local bridge name for overlay (default wan-br) |
No |
local-system-ip-addr |
String |
Local overlay system IPv4 address. |
Yes |
local-system-ip-subnet |
String |
Local overlay subnet. H.H.H.H/N Default is /32 |
No |
remote-interface-ip-addr |
String |
Remote interface IPv4 address |
Yes |
remote-system-ip-addr |
String |
Remote system IPv4 address |
Yes |
remote-id |
String |
Remote id for overlay - IP or FQDN (default remote-interface-ip-addr) |
No |
ike-cipher |
String |
IKE algorithms. Possible values: aes128-sha1-modp1536 Default: aes128-sha1-modp1536 |
No |
esp-cipher |
String |
ESP algorithms. Possible values: aes128-sha1 Default: aes128-sha1 |
No |
psk |
String |
Pre-shared-key for authentication |
No |
psk local-psk |
String |
Local pre-shared-key |
Yes |
psk remote-psk |
String |
Remote pre-shared-key |
Yes |
Example: POST Secure Overlay APIs
curl -k -v -u "admin:123#Admin" -H Accept:application/vnd.yang.data+xml -H Content-Type:application/vnd.yang.data+xml -X POST https://209.165.201.1/api/config/secure-overlays -d '
<secure-overlay>
<name>mgmthub</name>
<local-bridge>wan-br</local-bridge>
<local-system-ip-addr>10.0.0.1</local-system-ip-addr>
<remote-interface-ip-addr>10.0.0.1</remote-interface-ip-addr>
<remote-system-ip-addr>10.0.0.2</remote-system-ip-addr>
<remote-id>mgmt-hub.cloudvpn.com</remote-id>
<psk>
<local-psk>1234Admin</local-psk>
<remote-psk>1234Admin</remote-psk>
</psk>
</secure-overlay>'
Example: POST create secure overlaywith int-mgmt-net ip as local system ip address
curl -k -v -u "admin:admin" -H Accept:application/vnd.yang.data+xml -H Content-Type:application/vnd.yang.data+xml -X POST https://209.165.201.1/api/config/secure-overlays -d '
<secure-overlay>
<name>mgmthub</name>
<local-bridge>wan-br</local-bridge>
<local-system-ip-addr>10.0.0.4</local-system-ip-addr>
<local-system-ip-bridge>int-mgmt-net</local-system-ip-bridge>
<remote-interface-ip-addr>10.0.0.1</remote-interface-ip-addr>
<remote-system-ip-addr>10.0.0.2</remote-system-ip-addr>
<remote-id>mgmt-hub.cloudvpn.com</remote-id>
<psk>
<local-psk>Cisco1234Admin</local-psk>
<remote-psk>Cisco1234Admin</remote-psk>
</psk>
</secure-overlay>'
Example: GET Secure Overlay APIs
curl -k -v -u "admin:123#Admin" -X GET "https://209.165.201.1/api/config/secure-overlays?deep"
Example: GET Secure Overlay APIs
curl -k -v -u "admin:123#Admin" -X GET "https://209.165.201.1/api/operational/secure-overlays?deep"
Example: DELETE Secure Overlay APIs
curl -k -v -u "admin:123#Admin" -X DELETE "https://209.165.201.1/api/config/secure-overlays"
Single IP Configuration APIs
Action |
Method |
Payload Required |
API |
To create single IP configuration |
POST |
Yes |
/api/config/single-ip-mode |
To get single IP configuration |
GET |
No |
/api/config/single-ip-mode |
To delete single IP configuration |
DELETE |
No |
/api/config/single-ip-mode |
To get single IP configuration state information |
GET |
No |
/api/operational/single-ip-mode |
Example for single IP configuration payload
<single-ip-mode>
<vm-name>ROUTER.ROUTER</vm-name>
</single-ip-mode>"
Property |
Type |
Description |
Mandatory |
---|---|---|---|
vm-name |
String |
Name of VM taking the public IP. |
Yes |
Example: POST Single IP configuration APIs
curl -k -v -u "admin:123#Admin" -H Accept:application/vnd.yang.data+xml -H Content-Type:application/vnd.yang.data+xml -X PUT https://209.165.201.1/api/config/single-ip-mode -d "
<single-ip-mode>
<vm-name>ROUTER.ROUTER</vm-name>
</single-ip-mode>"
Example: GET Single IP configuration APIs
curl -k -v -u "admin:123#Admin" -X GET "https://209.165.201.1/api/config/single-ip-mode"
Example: GET Single IP configuration APIs
curl -k -v -u "admin:123#Admin" -X GET "https://209.165.201.1/api/operational/single-ip-mode"
Example: DELETE Single IP configuration APIs
curl -k -v -u "admin:123#Admin" -X DELETE "https://209.165.201.1/api/config/single-ip-mode"