Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

CFM Profiles Management RESTful Web Services

 

The following operations can be performed using the Connectivity Services Director Connectivity Fault Management (CFM) Profiles Management RESTful Web Services.

Get All CFM Profiles for E-Line Services

This request is used to retrieve all the configured CFM profiles.

URI

api/space/nsas/cfm-profiles/

service-management/service-definitions

HTTP Method

GET

Consumes

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

cfm-profile+xml

Produces

Retrieves all the CFM profiles.

Output

Sample XML Output

Get All CFM Profiles for E-Line and E-LAN Services

This request is used to retrieve all the CFM profiles attached to E-Line and E-LAN services.

URI

api/space/nsas/cfm-profiles/service-management/

service-definitions/NA

HTTP Method

GET

Consumes

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

service-definitions+xml

Produces

Retrieves all the CFM profiles attached to E-Line and E-LAN services.

Output

Sample XML Output

Get CFM Profiles By Profile ID for E-Line Services

This request is used to retrieve a CFM profile based on the profile ID.

URI

api/space/nsas/cfm-profiles/service-management/

service-definitions/{cfm-profile-id}

HTTP Method

GET

Consumes

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

management.cfm-profile+xml

Produces

Retrieves a CFM profile based on the profile ID.

Output

Sample XML Output

Get an E-Line Service Order with CFM Profiles

This request is used to retrieve an E-Line service order with a CFM profile.

URI

api/space/nsas/elan-ptp/service-management/service-orders/

<service-order-Id>

HTTP Method

GET

Consumes

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

service-order+xml

Produces

Retrieves an E-Line service order with a CFM profile.

Output

Sample XML Output

Get an E-Line Service Order with XPath Attributes

This request is used to retrieve an E-Line service order with XPath attributes.

URI

api/space/nsas/elan-ptp/service-management/service-orders/

<service-order-Id>

HTTP Method

GET

Consumes

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

service-order+xml

Produces

Retrieves an E-Line service order with an XPath tag.

Output

Sample XML Output

Get an E-Line Service with CFM Profiles

This request is used to retrieve an E-Line service with a CFM profile.

URI

api/space/nsas/elan-ptp/service-management/service-orders/

<service-Id >

HTTP Method

GET

Consumes

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

management.service+xml

Produces

Retrieves an E-Line service with a CFM profile.

Output

Sample XML Output

Create an E-Line Service Order with CFM Profiles

This request is used to define an E-Line service order with a CFM profile.

URI

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

service-orders

HTTP Method

POST

Content Type

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

service-order-status+xml

Consumes

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

service-order+xml

Produces

Creates an E-Line service order with a CFM profile.

Input

Sample XML Input

Modify an E-Line Service for Adding CFM Profiles

This request is used to modify an E-Line service by adding a CFM profile.

URI

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

services/{service-id}

HTTP Method

POST

Content Type

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

modify-service+xml

Consumes

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

service-status+xml

Produces

Modifies an E-Line service by adding a CFM profile.

Input

Sample XML Input

Modify an E-Line Service for Deleting CFM Profiles

This request is used to modify an E-Line service by deleting a CFM profile.

URI

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

services/{service-id}

HTTP Method

POST

Content Type

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

modify-service+xml

Consumes

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

service-status+xml

Produces

Modifies an E-Line service by deleting a CFM profile.

Input

Sample XML Input

View Service Configuration Changes for an E-Line Service with CFM Profiles

This request is used to display the service configuration differences for an E-Line service with a CFM profile.

URI

api/space/nsas/elan-ptp/service-management/view-

serviceconfiguration-change/{service-id}

HTTP Method

GET

Consumes

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

Produces

Displays the service configuration differences for an E-Line service with a CFM profile.

Output

Sample XML Output

View Functional Audit Results for an E-Line Service with CFM Profiles

This request is used to viewe the functional audit results for an E-Line service with CFM profiles.

URI

api/space/nsas/elan-ptp/service-management/view-

functional-audit/{service-id}

HTTP Method

GET

Consumes

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

functional-audit+xml

Produces

Displays the functional audit results with CFM profiles in a service.

Output

Sample XML Output

View Troubleshooting Results for an E-Line Service with CFM Profiles

This request is used to display the troubleshooting results for an E-Line service with a CFM profile.

URI

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

view-troubleshooting-results /{service-id}

HTTP Method

GET

Consumes

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

service+xml

Produces

Displays the troubleshooting results for an E-Line service with a CFM profile.

Output

Sample XML Output

Get All CFM Profiles for E-LAN Services

This request is used to retrieve all the configured CFM profiles.

URI

api/space/nsas/cfm-profiles/service-management/

service-definitions

HTTP Method

GET

Consumes

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

cfm-profile+xml

Produces

Retrieves all the CFM profiles.

Output

Sample XML Output

Get CFM Details for Services By Definition ID

This request is used to retrieve a CFM profile based on the CFM definition ID.

URI

/api/space/nsas/cfm-profiles/service-management/

service-definitions/<cfm definition ID>

HTTP Method

GET

Consumes

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

management.service-definition+xml

Produces

Retrieves CFM details based on the definition ID

Output

Sample XML Output

Get the Details of a Service with CFM Profiles

This request is used to retrieve the details of a service attached with CFM profiles

URI

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

services/5343044

HTTP Method

GET

Consumes

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

service+xml;version=2

Content Type

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

management.service+xml;version="2"

Produces

Retrieves the details of a particular service to which a CFM profile if attached.

Output

Sample XML Output

Get CFM Profiles for E-LAN Services By Profile ID

This request is used to retrieve a CFM profile based on the profile ID.

URI

api/space/nsas/cfm-profiles/service-management/service-definitions/

{cfm-profile-id}

HTTP Method

GET

Consumes

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

cfm-profile+xml

Produces

Retrieves a CFM profile based on the profile ID.

Output

Sample XML Output

Create a E-LAN Service Order with CFM Profiles

This request is used to define a E-LAN service order with a CFM profile.

URI

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

HTTP Method

POST

Content Type

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

service-order-status+xml

Consumes

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

service-order+xml

Produces

Creates a E-LAN service order with a CFM profile.

Input

Sample XML Input

Modify an E-LAN Service for Adding CFM Profiles

This request is used to modify an E-LAN service by adding a CFM profile.

URI

api/space/nsas/elan-vpls/service-management/services/ {service-id}

HTTP Method

POST

Content Type

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

modify-service+xml

Consumes

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

service-status+xml

Produces

Modifies an E-LAN service by adding a CFM profile.

Input

Sample XML Input

Modify an E-LAN Service for Deleting CFM Profiles

This request is used to modify an E-LAN service by deleting a CFM profile.

URI

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

{service-id}

HTTP Method

POST

Content Type

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

modify-service+xml

Consumes

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

service-status+xml

Produces

Modifies an E-LAN service by deleting a CFM profile.

Input

Sample XML Input

View Service Configuration Changes for an E-LAN Service with CFM Profiles

This request is used to display the service configuration differences for an E-LAN service with a CFM profile.

URI

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

serviceconfiguration-change/{service-id}

HTTP Method

GET

Consumes

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

service+xml

Produces

Displays the service configuration differences for an E-LAN service with a CFM profile.

Output

Sample XML Output

View Functional Audit Results for an E-LAN Service with CFM Profiles

This request is used to viewe the functional audit results for an E-LAN service with CFM profiles.

URI

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

view-functional-audit/{service-id}

HTTP Method

GET

Consumes

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

functional-audit+xml

Produces

Displays the functional audit results with CFM profiles in a service.

Output

Sample XML Output

View Troubleshooting Results for an E-LAN Service with CFM Profiles

This request is used to display the troubleshooting results for an E-LAN service with a CFM profile.

URI

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

troubleshooting-results /{service-id}

HTTP Method

GET

Consumes

application/vnd.net.juniper.space.

service-management.service+xml

Produces

Displays the troubleshooting results for an E-LAN service with a CFM profile.

Output

Sample XML Output