Cisco Cisco Evolved Programmable Network Manager 1.2 Developer's Guide
RESTConf/Yang Interface
Details
Cisco EPNM RESTConf NBI Guide
81
All URLs require basic authentication and can produce:
application/xml
application/yang.data+xml
application/json
application/yang.data+json
The first URL retrieves all the PhysicalConnector entities in the database. The next URL
returns a specific PhysicalConnector entity by its business key. Enter the values of the
attributes shown in the braces, but do not include the braces. The final URL retrieves a
specific PhysicalConnector by its database instance id. Enter the instance id, but do not
include the braces.
URL
Description
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
physicalconnector:PhysicalConnector
physicalconnector:PhysicalConnector
Retrieve all
PhysicalConnector instances
PhysicalConnector instances
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
physicalconnector:PhysicalConnector/{entPhysicalContainedIn}/{name}/{owningE
ntityId}
physicalconnector:PhysicalConnector/{entPhysicalContainedIn}/{name}/{owningE
ntityId}
Retrieve PhysicalConnector
instance by business key
instance by business key
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
physicalconnector:PhysicalConnector/{id}
physicalconnector:PhysicalConnector/{id}
Retrieve PhysicalConnector
instance by database
instance id
instance by database
instance id
Sample Response Data
4.6.1.1 JSON
This sample is formatted and edited for clarity and length.
{"ns1.PhysicalConnector": [
{
"description": "RSP Management Ethernet Port",
"name": "MgmtEth0\/RSP0\/CPU0\/1",
"owningEntityId": "207223_192.168.23.54",
"instanceId": 241378,
"businessKey":
"e01b1a63[38645760,MgmtEth0\/RSP0\/CPU0\/1,207223_192.168.23.54]",
"e01b1a63[38645760,MgmtEth0\/RSP0\/CPU0\/1,207223_192.168.23.54]",
"entPhysicalContainedIn": 38645760,
"entPhysicalIndex": 44982153,
"subclassname": "PhysicalConnector",
"vendorEquipmentType": "cevPortGe",