Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Performance Monitoring Statistics Management RESTful Web Services

 

The following operations can be performed using the Connectivity Services Director Performance Monitoring Statistics Management RESTful Web Services.

Start Collection of PM Statistics

This request is used to start the collection of performance monitoring statistics.

URI

api/space/nsas/eline-ptp/service-management/services/

{service-id}/performanceMonitoring/twoway-delay/operation

api/space/nsas/eline-ptp/service-management/services/

{service-id}/performanceMonitoring/oneway-delay/operation

api/space/nsas/eline-ptp/service-management/services/

{service-id}/performanceMonitoring/loss/operation

api/space/nsas/elan-vpls/service-management/services/

{service-id}/performanceMonitoring/twoway-delay/operation

api/space/nsas/elan-vpls/service-management/services/

{service-id}/performanceMonitoring/oneway-delay/operation

api/space/nsas/elan-vpls/service-management/services/

{service-id}/performanceMonitoring/loss/operation

HTTP Method

POST

Content Type

application/xml

Consumes

application/xml

Produces

Starts the collection of performance monitoring statistics.

Input

Sample XML Input

Output

Sample XML Output

Stop Collection of PM Statistics

This request is used to stop the collection of performance monitoring statistics.

URI

api/space/nsas/eline-ptp/service-management/services/

{service-id}/performanceMonitoring/twoway-delay/operation

api/space/nsas/eline-ptp/service-management/services/

{service-id}/performanceMonitoring/oneway-delay/operation

api/space/nsas/eline-ptp/service-management/services/

{service-id}/performanceMonitoring/loss/operation

api/space/nsas/elan-vpls/service-management/services/

{service-id}/performanceMonitoring/twoway-delay/operation

api/space/nsas/elan-vpls/service-management/services/

{service-id}/performanceMonitoring/oneway-delay/operation

api/space/nsas/elan-vpls/service-management/services/

{service-id}/performanceMonitoring/loss/operation

HTTP Method

POST

Content Type

application/xml

Consumes

application/xml

Produces

Stops the collection of performance monitoring statistics.

Input

Sample XML Input

Output

Sample XML Output

Get PM Statistics

This request is used to retrieve the performance monitoring statistics.

URI

api/space/nsas/eline-ptp/service-management/services/

{service-id}/performanceMonitoring/twoway-delay/stats

api/space/nsas/eline-ptp/service-management/services/

{service-id}/performanceMonitoring/oneway-delay/stats

api/space/nsas/eline-ptp/service-management/services/

{service-id}/performanceMonitoring/loss/stats

api/space/nsas/elan-vpls/service-management/services/

{service-id}/performanceMonitoring/twoway-delay/stats

api/space/nsas/elan-vpls/service-management/services/

{service-id}/performanceMonitoring/oneway-delay/stats

api/space/nsas/elan-vpls/service-management/services/

{service-id}/performanceMonitoring/loss/stats

HTTP Method

POST

Content Type

application/xml

Consumes

application/xml

Produces

Retrieves the performance monitoring statistics.

Output

Sample XML Output

Get PM Status

This request is used to retrieve the performance monitoring status.

URI

api/space/nsas/eline-ptp/service-management/services/

{service-id}/performanceMonitoring/twoway-delay/status

api/space/nsas/eline-ptp/service-management/services/

{service-id}/performanceMonitoring/oneway-delay/status

api/space/nsas/eline-ptp/service-management/services/

{service-id}/performanceMonitoring/loss/status

api/space/nsas/elan-vpls/service-management/services/

{service-id}/performanceMonitoring/twoway-delay/status

api/space/nsas/elan-vpls/service-management/services/

{service-id}/performanceMonitoring/oneway-delay/status

api/space/nsas/elan-vpls/service-management/services/

{service-id}/performanceMonitoring/loss/status

HTTP Method

POST

Content Type

application/xml

Consumes

application/xml

Produces

Retrieves the performance monitoring status details.

Output

Sample XML Output

Get Service Path

This request is used to retrieve the service path information.

URI

api/space/nsas/eline-ptp/service-management/ services/

{service-id}/servicepath?deviceA=819572&deviceZ=819961

api/space/nsas/elan-vpls/service-management/ services/

{service-id}/ servicepath?deviceA=819572&deviceZ=819961

HTTP Method

GET

Content Type

application/xml

Consumes

application/xml

Produces

Retrieves the service path.

Output (LDP LSP)

Sample XML Output

Output (RSVP LSP)

Sample XML Output

Get Services Filtered Using Fault Status for E-Line Services

This request is used to discover the roles of devices.

URI

api/space/nsas/eline-ptp/service-management/

services?faultStatus=Down

You can also obtain a list of services with FaultStatus as Up or None by specifying faultStatus=Up/None) in the URI

HTTP Method

GET

Consumes

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

services+xml

Produces

Retrieves the E-Line services for which the fault status is down.

Output

Sample XML Output

Get Services Filtered Using Fault Status for IP Services

This request is used to retrieve the IP services for which the fault status is down.

URI

api/space/nsas/l3vpn/service-management/

services?faultStatus=Down

You can also obtain a list of services with FaultStatus as Up or None by specifying faultStatus=Up/None) in the URI

HTTP Method

GET

Consumes

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

Produces

Retrieves the IP services for which the fault status is down.

Output

Sample XML Output

Get Services Filtered Using Fault Status for E-LAN Services

This request is used to retrieve the E-LAN services for which the fault status is down.

URI

api/space/nsas/vpls/service-management/services

?faultStatus=Down

You can also obtain a list of services with FaultStatus as Up or None by specifying faultStatus=Up/None) in the URI

HTTP Method

GET

Consumes

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

Produces

Retrieves the E-LAN services for which the fault status is down.

Output

Sample XML Output