Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Static LSP Service Orders Management RESTful Web Services

 

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

Get All Static LSP Service Orders

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

URI

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

HTTP Method

GET

Consumes

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

service-orders+xml

Produces

Collects all the configured Static LSP service orders.

Output

Sample XML Output

Get a Static LSP Service Order By Order ID

This request is used to retrieve the details of a particular Static LSP service order based on the service order ID.

URI

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

<serviceOrderId>

HTTP Method

GET

Consumes

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

service-order+xml

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

service-order+xml;version=2

Produces

Collects the details of a specific Static LSP service order.

Output

Sample XML Output

Sample XML Output

Create a Static LSP Service Order

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

URI

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

HTTP Method

POST

Content-Type

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

management.

service-order+xml

Consumes

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

service-order-status+xml

For the various options in creating ServiceOrder the options must be specified in the Action Element inside OperationSpecificData. The following values can be entered:

  • Save (Create and only Save a SO)

  • SaveAndValidate (Create, Save, and Validate a SO) Default value when no Custom action is specified.

  • SaveAndDeployNow (Create, Save, and Deploy a SO)

  • SaveAndDeployLater (Create, Save, and Deploy Later a SO)

Produces

Creates a Static LSP service order.

Input (Single-Hop Static LSP)

Sample XML Input

Input (Bypass Single-Hop Static LSP with Auto-Pick Label)

Sample XML Input

Input (Single-Hop Static LSP with Manual Label)

Sample XML Input

Deploy a Static LSP Service Order

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

URI

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

HTTP Method

POST

Content-Type

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

service-order+xml

Consumes

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

service-order-status+xml

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

  • DeployNow (Deploy an already created SO)

  • DeployLater (Deploy Later an already created SO)

  • ValidateNow (Validate now an already created SO)

  • ValidateLater (Validate later an already created SO)

  • PartialDeleteNow (Delete the partially created configuration now)

  • PartialDeleteLater (Delete the partially created configuration Later

Produces

Deploys a previously created Static LSP service order.

Input

Sample XML Input

Validate a Static LSP Service Order

This request is used to validate a previously created Static LSP service order.

URI

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

HTTP Method

POST

Content-Type

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

service-order+xml

Consumes

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

service-order-status+xml

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

  • DeployNow (Deploy an already created SO)

  • DeployLater (Deploy Later an already created SO)

  • ValidateNow (Validate now an already created SO)

  • ValidateLater (Validate later an already created SO)

  • PartialDeleteNow (Delete the partially created configuration now)

  • PartialDeleteLater (Delete the partially created configuration Later

Produces

Validates a previously created Static LSP service order.

Input

Sample XML Input

Delete a Static LSP Service Order

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

URI

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

<serviceOrder-id>

HTTP Method

DELETE

Consumes

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

service-order+xml

Produces

Deletes a Static LSP service order.

Output

Sample XML Output

View the Pending Configuration of a Static LSP Service Order

This request is used to view the details of a Static LSP service order that are pending to be applied to a device.

URI

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

view-pendingorderconfiguration/<serviceOrder-id>

HTTP Method

GET

Consumes

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

pendingorder-config+xml

Produces

Displays the configuration details of a service order pending to be applied to a device.

Output

Sample XML Output