Bring up an interface, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

Page 136: Returned result, Example

Advertising
background image

Bring Up an Interface

Bring up an interface on a device based on device ID and interface index.

Interface URI

/plat/res/device/{deviceId}/interface/{ifIndex}/up

Access Method

HTTP

PUT

Parameters

Path parameter

Device ID.

deviceId

Long integer type. Required. No default value.

Interface index.

ifIndex

Long integer type. Required. No default value.

Returned Result

Status codes

204 (No Content): Success.

404 (Not Found): No data is found with the ID.

409 (Conflict): Failure. See

Error Codes

.”

Message header

HTTP/1.1 204 No Content
...

Example

Bring up the interface with index 2 and device ID 2.

Request

PUT http://imc_host:8080/imcrs/plat/res/device/2/interface/2/up
accept: application/xml
...

Response

HTTP/1.1 204 No Content

136

Network Resource Management

Advertising