Cisco Cisco Evolved Programmable Network Manager 2.0 Developer's Guide
Cisco EPN Manager 2.0.2 RESTCONF NBI Guide
22
HTTP Status Code
• 200 OK - Success with response message-body
• 401, 403 – Authentication and Authorization errors.
• 400 Bad Request - Invalid request message.
• 500 Internal Server Error - operation-failed.
Please refer to RESTCONF standard status codes and standard error response
data for more details.
4.7.1 TerminationPoint Data
Name
Type
Description
termination-point
Container element
Holds the data for physical and
floating terminationPoint.
connection-termination-point
Container element
Holds the data for connection
terminationPoint.
4.8 Set TerminationPoint
This interface provides the operations required to set attributes on a given TerminationPoint.
Resource
Description
TerminationPoint
Set TermiationPoint
HTTP Method
Resource Path
POST
/operations/v1/cisco-device-inventory:set-termination-point
Response Message
Response Content Type
Response Content Type
application/xml, application/yang.data+xml, application/json,
application/yang.data+json
Response Data
The modified termination-point – see yang model for the data details.
And result of modification on the feature.
HTTP Status Code
• 200 OK - Success with response message-body
• 401, 403 – Authentication and Authorization errors.
• 400 Bad Request - Invalid request message.
• 500 Internal Server Error - operation-failed.
Please refer to RESTCONF standard status codes and standard error response
data for more details.
4.8.1 Set TerminationPoint Input Data
The table below provides the parameters that can be set on the Interfaces using the set-termination-point
operation.
The PortConfig attribute in the request determines the group to which the attributes belong. The Sample
Request/Response provided will give the different scenarios
Parameter Name
Type
Allowed Values
Descriptio
n
Port Config: SONET_PORT_CONFIG
adminStatus
String
UP
DOWN
Used to
specify the
admin