Cisco Cisco Prime Performance Manager 1.5 Developer's Guide

Page of 41
 
Cisco Prime Performance Manager1.5 REST API Guide 
Host: ppm-clean.cisco.com:4440 
Connection: Keep-Alive 
User-Agent: RestClient-Tool 
6.4 Report Samples 
The following samples were collected from a Cisco development server to illustrate the data structure of 
the different data format types: XML, JSON, and CSV. The data provided by your server will likely be 
different.  The sample reports might only show a subset of the report. The report uses “. . .” to indicate 
that further data is available but not displayed. 
6.4.1 CSV 
Table 44 - CSV Request / Response Sample – “Interface Availability” Network Level Report 
Request / Response (CSV) -  “Interface  Availability” Network Level Report 
Request  
GET /ppm/rest/reports/Availability/Interfaces/Interface++Availability 
HTTP/1.1 
Host: ppm-clean.cisco.com:4440 
Connection: Keep-Alive 
User-Agent: RestClient-Tool 
Response – Notice only a portion of the report is being displayed 
HTTP/1.1 206 Partial Content 
Transfer-Encoding: chunked 
Date: Fri, 05 Oct 2012 21:22:11 GMT 
Content-Type: text/csv;charset=UTF-8 
Server: Apache-Coyote/1.1 
Content-Range: pages 1/8 
Cache-Control: no-cache
  
 
Device,Interface,Timestamp,Interface Index,Interface Availability Percentage 
Down,Interface Availability Percentage Up,Interface Availability Percentage 
Timeout 
ems3825d,GigabitEthernet0/0,2012-10-05T05:00-0400,1,0.0,100.0,0.0 
ems3825j,GigabitEthernet0/0,2012-10-05T05:00-0400,1,0.0,100.0,0.0 
ems7606d,GigabitEthernet5/2,2012-10-05T05:00-0400,22,0.0,100.0,0.0 
ems7606d,EOBC0/0,2012-10-05T05:00-0400,41,0.0,100.0,0.0 
ems7606d,EOBC0/2,2012-10-05T05:00-0400,42,0.0,100.0,0.0 
ems7606d,SPAN RP Interface,2012-10-05T05:00-0400,44,0.0,100.0,0.0 
ems3825e,GigabitEthernet0/0,2012-10-05T05:00-0400,1,0.0,100.0,0.0 
ppm5580a,Adaptive Security Appliance management interface,2012-10-05T05:00-
0400,2,0.0,100.0,0.0 
ppm5580a,Adaptive Security Appliance Virtual254 interface,2012-10-05T05:00-
0400,8,0.0,100.0,0.0 
. . . . 
. . . . 
SimLab-30.4.1.90,My_ifAlias_string-GigabitEthernet01,2012-10-05T12:00-
0400,3,0.0,100.0,0.0