Example – HP Intelligent Management Center Licenses User Manual

Page 407

Advertising
background image

Example

Query basic device information entries 2 through 6 for devices whose IP addresses contain 10.

Request

GET http://imc_host:8080/imcrs/acl/res/aclDevice/deviceIp=10?start=2&size=4
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...

<list>
<aclDevice>
<deviceId>74</deviceId>
<deviceName>H3C(10.153.89.195)</deviceName>
<deviceIp>10.153.89.195</deviceIp>
<deviceModel>H3C WX5002-128AP</deviceModel>
<pollInterval>1440</pollInterval>
<lastPoll>2011-08-59 20:59:11</lastPoll>
<pollResult>1</pollResult>
<acl>http://imc_host:8080/imcrs/acl/res/acl/74</acl>
<aclResUse>http://imc_host:8080/imcrs/acl/res/aclUse/74</aclResUse>
<aclResTimerange>http://imc_host:8080/imcrs/acl/res/aclTimeRange/74</aclResTimerange>
</aclDevice>
...
<link href="http://imc_host:8080/imcrs/acl/res/aclDevice?start=0&size=4&deviceIp=10"/>
<link href="http://imc_host:8080/imcrs/acl/res/aclDevice?start=6&size=4&deviceIp=10"/>
</list>

Query the Device List of ACL Configuration 407

Advertising