Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Static LSP Services Management RESTful Web Services

 

The following operations can be performed using the Connectivity Services Director Static LSP Services Management RESTful Web Services.

Get a Static LSP Service By Service ID

This request is used to retrieve the details of a particular Static LSP service.

URI

api/space/nsas/static-lsp/service-management/

services/<serviceId>

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.service-management.services+xml

Produces

Collects the details of a specific Static LSP service.

Output

Sample XML Output

Get All Static LSP Services

This request is used to retrieve all the configured Static LSP services.

URI

api/space/nsas/static-lsp/service-management/services

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.service-management.

servicesxml

Produces

Collects all the configured Static LSP services.

Output

Sample XML Output

Modify a Static LSP Service

This request is used to modify a Static LSP service.

URI

api/space/nsas/static-lsp/service-management/

services/{service-Id}

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.service-

management.

modify-service+xml;version=2;charset=UTF-8

Consumes

application/vnd.net.juniper.space.service-management.

service-status+xml;version=2

Produces

Modifies a Static LSP service.

Input (Single-Hop Static LSP)

Sample XML Input

Input (Single-Hop Static LSP with Addition or Edit of Destination Address)

Sample XML Input

Input (Single-Hop Static LSP with Edit of Advanced Settings)

Sample XML Input

Input (Bypass Static LSP)

Sample XML Input

Force-Deploy a Static LSP Service

This request is used to forcibly deploy a previously created Static LSP service.

URI

api/space/nsas/static-lsp/service-management/

services/{serviceId}

HTTP Method

POST

Content-Type

application/vnd.net.juniper.space.service-management.

modify-service+xml

Consumes

application/vnd.net.juniper.space.service-management.

service-status+xml

The options must be specified in the Action Element inside OperationSpecificData. The various options are as follows:

  • DeployNow

  • DeployLater

Produces

Forcibly deploys a previously created Static LSP service.

Input

Sample XML Input

Output

Sample XML Output

Decommission a Static LSP Service Immediately

This request is used to decommission a previously created Static LSP service immediately.

URI

api/space/nsas/static-lsp/service-management/

services/{serviceId}

HTTP Method

DELETE

Content-Type

application/vnd.net.juniper.space.service-management.service+xml

Produces

Decommissions a previously created Static LSP service immediately.

Output

Sample XML Output

Decommission a Static LSP Service Later

This request is used to decommission a previously created Static LSP service at a later time.

URI

api/space/nsas/static-lsp/service-management/

services/{serviceId}

HTTP Method

DELETE

Content-Type

application/vnd.net.juniper.space.service-management.service+xml

Produces

Decommissions a previously created Static LSP service at a later time.

Input

Sample XML Input

Output

Sample XML Output