beautypg.com

Example 1, Example 2, Example 1 example 2 – HP Intelligent Management Center Licenses User Manual

Page 222

background image

Example 1

Add an IP segment ranging from 10.153.89.21 to 10.153.89.30 and grant rights to the IP segment
to the default operator groups.

Request

POST http://localhost:8080/imcrs/res/access/assignedIpScope
accept: application/xml
Content-Type: application/xml; charset=UTF-8
...

10.153.89.21
10.153.89.30
21to30
10.153.89.21 to 10.153.89.30

Response

HTTP/1.1 201 Created
Location: http://localhost:8080/imcrs/res/access/assignedIpScope/7

Example 2

Add an IP segment ranging from 10.153.89.60 to 10.153.89.80, and grant rights to the IP
segment to operator groups with IDs 1, 2, and 4.

Request

POST http://localhost:8080/imcrs/res/access/assignedIpScope
accept: application/xml
Content-Type: application/xml; charset=UTF-8
...

10.153.89.60
10.153.89.80
60to80
10.153.89.60 to 10.153.89.80
1
2
4

Response

HTTP/1.1 201 Created
Location: http://localhost:8080/imcrs/res/access/assignedIpScope/12

222 Terminal Access Management