Ping, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

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

Advertising
background image

Ping

Ping a device based on device ID.

Interface URI

/plat/res/device/{id}/ping

Access Method

HTTP

GET

Parameters

Path parameter

Device ID.

id

Long integer type. Required. No default value.

Returned Result

Status codes

200 (OK): Success.

Message body

<ping>
<result>ping -l 32 -n 5 10.153.89.12 Pinging 10.153.89.12 with 32 bytes of data: Reply from 10.153.89.12: bytes=32
time=9ms TTL=251 Reply from 10.153.89.12: bytes=32 time=2ms TTL=251 Reply from 10.153.89.12: bytes=32 time=2ms TTL=251
Reply from 10.153.89.12: bytes=32 time=2ms TTL=251 Reply from 10.153.89.12: bytes=32 time=2ms TTL=251 Ping statistics for
10.153.89.12: Packets: Sent = 5, Received = 5, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum
= 2ms, Maximum = 9ms, Average = 3ms</result>
</ping>

Element description

ping sub-elements

Ping results.

result

String type.

114

Network Resource Management

Advertising