Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

RSVP and Static LSP Service Templates Management RESTful Web Services

 

The following operations can be performed using the Connectivity Services Director Service Templates Management RESTful Web Services for RSVP and static LSP services.

Get All RSVP LSP Service Templates

This request is used to retrieve all the configured RSVP LSP service templates.

URI

api/space/nsas/rsvp-lsp/service-management/service-templates

HTTP Method

GET

Consumes

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

service-templates+xml

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

service-templates+json

Produces

Collects all the configured RSVP LSP service templates.

Output

Sample XML Output

Get an RSVP LSP Service Template by Template ID

This request is used to retrieve a specific RSVP LSP service template, based on the template ID.

URI

api/space/nsas/rsvp-lsp/service-management/service-templates/

<templateId>

HTTP Method

GET

Consumes

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

service-templates+xml

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

service-templates+json

Produces

Retrieves the details of a specific configured RSVP LSP service template.

Output

Sample XML Output

Get an RSVP LSP Service Template by Service Definition ID

This request is used to retrieve a specific RSVP LSP service template, based on the service definition ID.

URI

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

295160/serviceTemplates

HTTP Method

GET

Consumes

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

service-templates+xml

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

service-templates+json

Produces

Retrieves the details of a specific configured RSVP LSP service template based on a service definition ID.

Output

Sample XML Output

Get an RSVP LSP Service Order Associated with a Service Template by Service Order ID

This request is used to retrieve a specific RSVP LSP service order that is attached to a service template, based on the service order ID.

URI

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

<ServiceOrderID>

HTTP Method

GET

Consumes

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

service-order+xml

Produces

Retrieves the details of a specific configured RSVP LSP service order that contains a service template based on a service order ID.

Output

Sample XML Output

Get an RSVP LSP Service Definition Associated with a Service Template by Service Definition ID

This request is used to retrieve a specific RSVP LSP service definition that is attached to a service template, based on the service definition ID.

URI

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

<ServiceDefinitionID>

HTTP Method

GET

Consumes

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

service-definition+xml

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

service-definition+json

Produces

Retrieves the details of a specific configured RSVP LSP service definition that contains a service template based on a service definition ID.

Output

Sample XML Output

Create a Service Definition Associated with a Service Template

This request is used to create a service definition configured with a service template.

URI

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

HTTP Method

POST

Content-Type

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

management.

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

Consumes

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

service-definition-status+xml;version=2

Produces

Creates a service definition configured with a service template

Input

Sample XML Input

Create a Service Order Associated with a Service Template

This request is used to create a service order configured with a service template.

URI

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

HTTP Method

POST

Content-Type

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

management.

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

Consumes

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

service-order-status+xml;version=2

Produces

Creates a service order configured with a service template

Input

Sample XML Input

Get an RSVP LSP Service Associated with a Service Template By Service ID

This request is used to retrieve the details of a particular RSVP LSP service that is configured with a service template, based on the service identifier.

URI

api/space/nsas/rsvp-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 RSVP LSP service that contains a service template.

Output

Sample XML Output

Modify an RSVP LSP Service Associated with a Service Template

This request is used to modify an RSVP LSP service that contains a service template.

URI

api/space/nsas/rsvp-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 an RSVP LSP service that contains a service template.

Input

Sample XML Input

Get All Static LSP Service Templates

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

URI

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

HTTP Method

GET

Consumes

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

service-templates+xml

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

service-templates+json

Produces

Collects all the configured Static LSP service templates.

Output

Sample XML Output

Get an Static LSP Service Template by Template ID

This request is used to retrieve a specific Static LSP service template, based on the template ID.

URI

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

<templateId>

HTTP Method

GET

Consumes

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

service-templates+xml

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

service-templates+json

Produces

Retrieves the details of a specific configured Static LSP service template.

Output

Sample XML Output

Get an Static LSP Service Template by Service Definition ID

This request is used to retrieve a specific Static LSP service template, based on the service definition ID.

URI

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

295160/serviceTemplates

HTTP Method

GET

Consumes

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

service-templates+xml

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

service-templates+json

Produces

Retrieves the details of a specific configured Static LSP service template based on a service definition ID.

Output

Sample XML Output

Get an Static LSP Service Order Associated with a Service Template by Service Order ID

This request is used to retrieve a specific Static LSP service order that is attached to a service template, 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

Produces

Retrieves the details of a specific configured Static LSP service order that contains a service template based on a service order ID.

Output

Sample XML Output

Get an Static LSP Service Definition Associated with a Service Template by Service Definition ID

This request is used to retrieve a specific Static LSP service definition that is attached to a service template, based on the service definition ID.

URI

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

<ServiceDefinitionID>

HTTP Method

GET

Consumes

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

service-definition+xml

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

service-definition+json

Produces

Retrieves the details of a specific configured Static LSP service definition that contains a service template based on a service definition ID.

Output

Sample XML Output

Create a Service Definition Associated with a Service Template

This request is used to create a service definition configured with a service template.

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;version=2;charset=UTF-8

Consumes

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

service-definition-status+xml;version=2

Produces

Creates a service definition configured with a service template

Input

Sample XML Input

Create a Service Order Associated with a Service Template

This request is used to create a service order configured with a service template.

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;version=2;charset=UTF-8

Consumes

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

service-order-status+xml;version=2

Produces

Creates a service order configured with a service template

Input

Sample XML Input

Get an Static LSP Service Associated with a Service Template By Service ID

This request is used to retrieve the details of a particular Static LSP service that is configured with a service template, based on the service identifier.

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 that contains a service template.

Output

Sample XML Output

Modify an Static LSP Service Associated with a Service Template

This request is used to modify an Static LSP service that contains a service template.

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 an Static LSP service that contains a service template.

Input

Sample XML Input

Get LSP Service Details with Endpoints Paginated

This request is used to modify IP Services Management RESTful Web ServicesLSP service details with endpoints paginated.

URI

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

services/{service-Id}

HTTP Method

GET

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 an LSP service details with endpoints paginated.

Output

Sample XML Input

Get LSP Details

This request is used to modify an LSP service details in version 1 format.

URI

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

Gets LSP details.

Output

Sample XML Output

Submit a Modified Service (Version 2)

This request is used to modify an LSP service in version 1 format.

URI

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

services/{service-Id}

HTTP Method

POST

Content-Type

*/*

Consumes

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

service-status+xml;version=2

Produces

Submits a modified service.

Input

Sample XML Input

Output

Sample XML Output