Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Transport Activate Device Management RESTful Web Services

 

The following operations can be performed using the Connectivity Services Director Transport Activate (TA) Devices Management RESTful Web Services.

Get All TA Devices

This request is used to collect all the TA devices.

URI

api/space/nsas/prestage-ta-device/manage-devices/devices

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.manage-devices.ta-devices+xml

Produces

Retrieves all the TA devices that are managed and provisioned by the application.

Output

Sample XML Output

Get TA Devices By Device ID

This request is used to retrieve a TA device based on the device ID.

URI

api/space/nsas/prestage-ta-device/manage-devices/

devices/<deviceId>

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.manage-devices.ta-devices+xml

Produces

Retrieves the TA device based on the device ID.

Output

Sample XML Output

Resynchronize the Device Role Capabilities

This request is used to resynchronize the device roles

URI

/api/space/nsas/resync-role-p?data={device-id}

HTTP Method

POST

Consumes

application/vnd.net.juniper.space.manage-roles.

devices+xml;version=2

Content Type

application/vnd.net.juniper.space.manage-roles.devices+xml;

version=2;charset=UTF-8

Produces

Resynchronizes the device roles.

Input

Sample XML Input

Resynchronize LSPs

This request is used to resynchronize the LSP capabilities

URI

/api/space/nsas/prestage-ta-device/manage-devices/

devices/re-sync-lsp-capability/{device-id}

HTTP Method

POST

Consumes

application/vnd.net.juniper.space.

resync.ta-devices+xml;version=2

Content Type

application/vnd.net.juniper.space.resync.ta-devices+xml;

version=2;charset=UTF-8

Produces

Resynchronizes the LSP capabilities.

Output

Sample XML Output

View a Prestaged Device Details

This request is used to display the details of a particular prestaged device.

URI

/api/space/nsas/prestage-ta-device/

manage-devices/devices/by-device-name/{device-name}

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.manage-devices.ta-

device-by-name+json;version=2;q=0.02

Produces

Displays the prestaged device details based on the device name.

Output

Sample XML Output

View the MPLS Path Settings for a Device

This request is used to display the details of MPLS paths for a device.

URI

/api/space/nsas/ta-device-path/manage-devices/

devices/paths/{device-name}

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.manage-devices.paths+xml

Produces

Displays the MPLS path attributes for a device.

Output

Sample XML Output

View the Administrative Groups of a Device

This request is used to display the administrative groups configured for LSPs of a device.

URI

/api/space/nsas/prestage-ta-device/

manage-devices/devices/admin-group/{device-name}

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.

manage-devices.admin-group+xml

Produces

Displays the admin groups for LSPs on a device.

Output

Sample XML Output

View the NNI Details of a Device

This request is used to display the configured network-to-network interfaces (NNIs) of a device.

URI

/api/space/nsas/prestage-ta-device/

manage-devices/devices/nni/{device-name}

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.

manage-devices.ta-device-nni+xml

Produces

Displays the NNIs of a device.

Output

Sample XML Output

Prestage and Discover Get TA Devices

This request is used to prestage and discover TA devices.

URI

/api/space/nsas/prestage-ta-device/manage-devices/

devices/discover-ta-devices

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.manage-devices.ta.

discover-ta-devices.status+xml

Produces

Prestages and discovers TA devices.

Output

Sample XML Output