Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Static LSP Service Definitions Management RESTful Web Services

 

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

Get All Static LSP Service Definitions

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

URI

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

HTTP Method

GET

Consumes

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

service-definitions+xml

Produces

Collects all the configured Static LSP service definitions.

Output

Sample XML Output

Get Static LSP Service Definition Details By Definition ID

This request is used to retrieve the details of a particular Layer 2 Ethernet LAN (E-LAN) BGP service definition, based on the service definition ID.

URI

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

<servicedefinition-Id>

HTTP Method

GET

Consumes

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

service-definition+xml;version=2

Produces

Collects the details of a specific Static LSP service definition.

Output

Sample XML Output

Create a Static LSP Service Definition

This request is used to create a Static LSP service definition.

URI

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

HTTP Method

POST

Content-Type

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

management.

service-definition+xml

Consumes

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

service-definition-status+xml

Produces

Creates a Static LSP service definition.

Input (Single-Hop Static LSP)

Sample XML Input

Input (Multi-Hop Static LSP)

Sample XML Input

Input (Bypass Static LSP)

Sample XML Input

Output

Sample XML Output

Publish and Unpublish a Static LSP Service Definition

This request is used to publish or unpublish a Static LSP service definition.

URI

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

HTTP Method

POST

Content-Type

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

service-definition+xml

Consumes

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

service-definition-status+xml

Action types are Publish and Unpublish.

Produces

Publishes or unpublishes a Static LSP service definition.

Input for Unpublishing a Service Definition

Sample XML Input

Output

Sample XML Output

Input for Publishing a Service Definition

Sample XML Input

Output

Sample XML Output

Delete a Static LSP Service Definition

This request is used to delete a previously configured Static LSP service definition.

URI

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

<servicedefinition-id>

HTTP Method

DELETE

Consumes

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

service-definition+xml

Produces

Deletes a Static LSP service definition.

Output

Sample XML Output