Cisco Cisco Evolved Programmable Network Manager 1.2 Guía Del Desarrollador

Descargar
Página de 360
 
                                                          RESTCONF/YANG 
Interface Details 
 
 
Cisco EPNM RESTConf  NBI  Guide  
 
 
 
233 
opticalPathOptionRFS 
Set<OpticalPathOptionR
FS> 
server 
Set<OpticalCircuitRFS> 
Resource-facing optical circuit transporting the service. 
 
Operations 
The table below lists the operations available to retrieve OpticalCircuitOduTunnelRFS data 
from RESTCONF via the http protocol. 
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 OpticalCircuitOduTunnelRFS entities in the database. The 
final URL retrieves a specific OpticalCircuitOduTunnelRFS 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-
opticalcircuitodutunnelrfs:OpticalCircuitOduTunnelRFS 
Retrieve all 
OpticalCircuitOduTunnelRFS instances 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalcircuitodutunnelrfs:OpticalCircuitOduTunnelRFS/{id} 
Retrieve OpticalCircuitOduTunnelRFS 
instance by database instance id 
 
This object supports the fully-qualified domain name (FDN) attribute, which is unique for 
all OpticalCircuitOduTunnelRFS objects. You may use the FDN as a query parameter to 
retrieve a specific OpticalCircuitOduTunnelRFS object as follows: 
 
http://<host>/restconf/v1/data/epnm-restconf-xmp-im-ext-
opticalcircuitodutunnelrfs:OpticalCircuitOduTunnelRFS?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.34.1.1 
JSON 
 
This sample is formatted and edited for clarity and length. 
 
{"ns1.OpticalCircuitOduTunnelCFS": [ 
    { 
      "adminState": "Up", 
      "createTime": "2015-08-25T03:42:41.441-07:00",