Cisco Cisco Prime Performance Manager 1.2 开发者指南

下载
页码 26
 
Cisco Prim e Perform ance Manager REST API Guide  
Copyright 2012 Cis co Systems  
- 21 - 
  </reportInfo> 
  <reportInfo> 
    <name>IP QoS</name> 
    <uri>http://ppm-cls-vm05.cisco.com:4440/ppm/rest/reports/IP+QoS/</uri> 
  </reportInfo> 
  <reportInfo> 
    <name>IP SLA</name> 
    <uri>http://ppm-cls-vm05.cisco.com:4440/ppm/rest/reports/IP+SLA/</uri> 
  </reportInfo> 
  <reportInfo> 
    <name>Mobile IOS Statistics</name> 
    <uri>http://ppm-cls-vm05.cisco.com:4440/ppm/rest/reports/Mobile+IOS+Statistics/</uri> 
  </reportInfo> 
  <reportInfo> 
    <name>Mobile StarOS Statistics</name> 
    <uri>http://ppm-cls-vm05.cisco.com:4440/ppm/rest/reports/Mobile+StarOS+Statistics/</uri> 
  </reportInfo> 
  <reportInfo> 
    <name>Resources</name> 
    <uri>http://ppm-cls-vm05.cisco.com:4440/ppm/rest/reports/Resources/</uri> 
  </reportInfo> 
  <reportInfo> 
    <name>Security</name> 
    <uri>http://ppm-cls-vm05.cisco.com:4440/ppm/rest/reports/Security/</uri> 
  </reportInfo> 
  <reportInfo> 
    <name>Transport Statistics</name> 
    <uri>http://ppm-cls-vm05.cisco.com:4440/ppm/rest/reports/Transport+Statistics/</uri> 
  </reportInfo> 
  <reportInfo> 
    <name>Video Broadcast</name> 
    <uri>http://ppm-cls-vm05.cisco.com:4440/ppm/rest/reports/Video+Broadcast/</uri> 
  </reportInfo> 
</reports> 
6.3  GET /reports/{category}../{reportName} 
6.3.1 Description 
T his API is used to retrieve a specific report from the Prime Performance Manager server. A parameter 
(sgmid, category, FQDN) can be use d to constraint the reporting data returned. 
Following is sample reque st for the “ Interface  Availability” network level report.  Notice that if the 
Prime Performance Manager server has SSL enabled, you  should also include the Authorization header. 
Table 28 – HTTP Repo rt Request Sa mple  – “Interfa ce  Availability ” Network Lev el Report 
HTTP Reques t Sample – “Interface  Av ailability” Network Level Report 
GET /ppm/rest/reports/Availability/Interfaces/Interface++Availability HTTP/1.1 
Host: ppm-cls-vm05.cisco.com:4440 
Connection: Keep-Alive 
User-Agent: RestClient-Tool
 
6.4  Report Samples 
Note
Also,  note that the  sample reports belo w may only show a subset of the entire report. In the report below 
you may see “ . . .” to indicate that further data is available for that report. 
: T he following samples  were colle cted from a development server.  hese samples are provided to 
illustrate the data structure of the different data format types: XML, JSON,  CSV. T he data provided by 
your server will likely be different.