Assign ip address, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 236: Returned result, Interface uri access method returned result

Advertising
background image

Assign IP Address

Assign an IP address.

Interface URI

/res/access/assignedIpScope/ip

Access Method

HTTP

POST

Query parameters

Query parameters

IP segment ID.

ipScopeId

Long integer type. Required. No default value.

Message body

<assignedIpInfo>
<ip>10.153.89.8</ip>
<name>H3C111</name>
<description>10.153.89.8 rest</description>
</assignedIpInfo>

Elements

assignedIpInfo sub-elements

IP address.

ip

String type. Required. No default value.

Owner.

name

String type. Required. No default value.

Description.

description

String type. Optional. No default value.

Returned Result

Status codes

201 (Created): Success.

409 (Conflict): Failure. See

Error Codes

.”

Message header

If the operation succeeds, the Location field gives the URI of the new resource. The message body
is empty.

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

236 Terminal Access Management

Advertising