beautypg.com

Example, Request, Response – HP Intelligent Management Center Licenses User Manual

Page 121

background image

deviceLink sub-elements

Long integer type.

Link type.

type

Integer type.

Link left node ID.

leftSymbolId

Long integer type.

Link left interface description.

leftIfDesc

String type.

Link right node ID.

rightSymbolId

Long integer type.

Link right interface description.

rightIfDesc

String type

Link state. 0: Unknown. 1: Normal. 2: Down. 3: Urgent. 4: Important. 5: Minor. 6: Warning. 7:
Event. 8: Virtual.

status

Integer type.

Link bandwidth.

bandWidth

String type.

Link left node device link.

leftDevice

String type.

Link right node device link.

rightDevice

String type.

Example

Query link with the topology ID 1914 and link ID 556.

Request

GET http://imc_host:8080/imcrs/plat/res/link/556?topoId=1914
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...

556
0
1920
GigabitEthernet4/0/19
1918
Ethernet0/1
1
100000000
http://localhost:8080/imcrs/plat/res/device/403
http://localhost:8080/imcrs/plat/res/device/400

Query Link Information

121