Example – HP Intelligent Management Center Licenses User Manual

Page 217

Advertising
background image

Example

Query information about all IP segments.

Request

GET http://localhost:8080/imcrs/asset/access/assignedIpScope
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...
<assignedIpScope>
<percent>0.0</percent>
<assignedIpScope>
<id>-299</id>
<ip>System default IP segment</ip>
<name>Administrator.</name>
<description>Does not belong to any set of assigned IP addresses in the assigned IP segment range.</description>
<parentId>-300</parentId>
<percent>0.0</percent>
</assignedIpScope>
<assignedIpScope>
<id>1</id>
<ip>10.153.89.1-10.153.89.10</ip>
<startIp>10.153.89.1</startIp>
<endIp>10.153.89.10</endIp>
<name>1to10</name>
<description>10.153.89.1 to 10.153.89.10</description>
<parentId>-300</parentId>
<percent>0.0</percent>
<operatorGroup>http://localhost:8080/imcrs/plat/operatorGroup/1</operatorGroup>
<operatorGroup>http://localhost:8080/imcrs/plat/operatorGroup/2</operatorGroup>
<assignedIpScope>
<id>3</id>
<ip>10.153.89.1-10.153.89.4</ip>
<startIp>10.153.89.1</startIp>
<endIp>10.153.89.4</endIp>
<name>1to4</name>
<description>10.153.89.1 to 10.153.89.4</description>
<parentId>1</parentId>
<rightIpId>1</rightIpId>
<percent>0.0</percent>
</assignedIpScope>
</assignedIpScope>
...
</assignedIpScope>

Query All IP Segments

217

Advertising