Cisco Cisco Evolved Programmable Network Manager 1.2 Developer's Guide

Page of 365
 
                                                          RESTConf/Yang Interface 
Details 
 
 
Cisco EPNM RESTConf  NBI  Guide  
 
 
 
99 
retrieves a specific InterfaceProtocolEndpoint 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-
interfaceprotocolendpoint:InterfaceProtocolEndpoint 
Retrieve all 
InterfaceProtocolEndpoint 
instances 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
interfaceprotocolendpoint:InterfaceProtocolEndpoint/{owningEntityId}/{name} 
Retrieve 
InterfaceProtocolEndpoint 
instance by business key 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
interfaceprotocolendpoint:InterfaceProtocolEndpoint/{id} 
Retrieve 
InterfaceProtocolEndpoint 
instance by database 
instance id 
 
This object supports the fully-qualified domain name (FDN) attribute, which is unique for 
all InterfaceProtocolEndpoint objects. You may use the FDN as a query parameter to 
retrieve a specific InterfaceProtocolEndpoint object as follows: 
 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
interfaceprotocolendpoint:InterfaceProtocolEndpoint?fdn=<value
 
Where <host>  is the host name or IP address of the Cisco EPN Manager server and <value> 
is the value of the FDN attribute for the object to retrieve. 
Sample Response Data 
4.9.1.1  JSON 
 
This sample is formatted and edited for clarity and length. 
 
{"ns1.InterfaceProtocolEndpoint": [ 
    { 
      "name": "Null0", 
      "owningEntityId": "207208_192.168.23.26", 
      "fdn": "MD\/CISCO_EPNM\/ME\/ASR901-CSG-1-
DOMAIN3.cisco.com\/FTP\/Null0", 
      "isFloatingPep": false, 
      "subclassname": "IntrfcPrtclEndpnt", 
      "instanceId": 220491, 
      "businessKey": "1e6fb6f7[207208_192.168.23.26,Null0]", 
      "adminStatus": "UP", 
      "ifIndex": 16,