Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

GRE Service Orders Management RESTful Web Services

 

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

Get All GRE Service Orders

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

URI

api/space/nsas/gre/service-management/service-orders

HTTP Method

GET

Consumes

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

service-orders+xml

Produces

Collects all the configured GRE service orders.

Output

Sample XML Output

Get a Hub-and-Spoke GRE Service Order By Order ID

This request is used to retrieve the details of a particular hub-and-spoke GRE service order based on the service order ID.

URI

api/space/nsas/gre/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 hub-and-spoke GRE service order.

Output

Sample XML Output

Get a Full-Mesh GRE Service Order By Order ID

This request is used to retrieve the details of a particular full-mesh GRE service order based on the service order ID.

URI

api/space/nsas/gre/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 full-mesh GRE service order.

Output

Sample XML Output

Create a Hub-and-Spoke GRE Service Order

This request is used to create a point-to-point GRE service order.

URI

api/space/nsas/gre/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

Produces

Creates a point-to-multipoint GRE service order.

Input

Sample XML Input

Create a Full-Mesh GRE Service Order

This request is used to create a multipoint-to-multipoint GRE service order.

URI

api/space/nsas/gre/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 GRE service order.

Input

Sample XML Input

Deploy, Validate, and Partially-Delete a GRE Service Order

This request is used to deploy, validate, or partially delete a previously created GRE service order.

URI

api/space/nsas/gre/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, validates or, partially-deletes a previously created GRE service order.

Input

Sample XML Input

Delete a GRE Service Order

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

URI

api/space/nsas/gre/service-management/service-orders/

<serviceOrder-id>

HTTP Method

DELETE

Consumes

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

service-order+xml

Produces

Deletes a GRE service order.

Output

Sample XML Output

View the Pending Configuration of a GRE Service Order

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

URI

api/space/nsas/gre/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