APB Tunnels

Manage tunnels

Get tunnels for a specific device

get

Retrieves information about tunnels associated with the specified device ID.

Path parameters
deviceIdstringRequired

The unique identifier of the device.

Responses
chevron-right
200

successful operation

application/json
tunnelIdstringOptional

The ID of the tunnel.

statusstringOptional

The status of the tunnel (e.g., active, inactive).

get
/tunnels/{deviceId}

Delete a specific tunnel

delete

Deletes the tunnel associated with the device ID and tunnel name.

Path parameters
deviceIdstringRequired

The unique identifier of the device.

namestringRequired

The name of the tunnel to be deleted.

Responses
chevron-right
200

successful operation

No content

delete
/tunnels/{deviceId}/{name}

No content

Create a new tunnel

post

Creates a new tunnel with the specified details.

Body
namestringOptional

Name of the tunnel

Default: default_tunnel
typestringOptional

Type of the tunnel

Default: strip
vlanstringOptional

VLAN configuration for the tunnel

Default: enable
vnistringOptional

VNI for the tunnel

Default: 4098
selectedIngressPortstringOptional

Ingress port selected for the tunnel

Default: Ethernet1/1
selectedEgressPortstringOptional

Egress port selected for the tunnel

Default: Ethernet1/2
gatewayIpstringOptional

Gateway IP for the tunnel

Default: 192.168.1.1
descriptionstringOptional

Description of the tunnel

Default: Default tunnel description
srcIpstringOptional

Source IP for the tunnel

Default: 10.10.10.1
dstIpstringOptional

Destination IP for the tunnel

Default: 10.10.10.2
deviceIpstringOptional

Device IP associated with the tunnel

Default: 192.168.0.100
deviceIdstringOptional

Device ID associated with the tunnel

Default: 1c34da237700
Responses
chevron-right
200

Tunnel created successfully

No content

post
/tunnels

No content

Last updated