Example, Message body, Elements – HP Intelligent Management Center Licenses User Manual

Page 379: Request, Response

Advertising
background image

Message body

<list>
<accessIf>
<ifIndex>4227626</ifIndex>
<pvid>1</pvid>
</accessIf>
<accessIf>
<ifIndex>4227642</ifIndex>
<pvid>1</pvid>
</accessIf>
<accessIf>
<ifIndex>4227650</ifIndex>
<pvid>1</pvid>
</accessIf>
<accessIf>
<ifIndex>4227658</ifIndex>
<pvid>1</pvid>
</accessIf>
<accessIf>
<ifIndex>4227666</ifIndex>
<pvid>1</pvid>
</accessIf>
<link href="http://localhost:8080/imcrs/vlan/access?start=5&size=5&devId=13" op="GET" rel="next"/>
</list>

Elements

Access port sub-elements

Port index, which uniquely identifies a port.

ifIndex

Integer type.

PVID of the port.

pvid

Integer type.

Example

Query and list information about the first five access ports on the device whose ID is 33.

Request

GET http://imc_host:8080/imcrs/vlan/access?devId=13&start=0&size=5
accept: application/xml
...

Response

HTTP/1.1 200 OK
Content-Type: application/xml
...
<list>
<accessIf>
<ifIndex>4227626</ifIndex>
<pvid>1</pvid>
</accessIf>
<accessIf>
<ifIndex>4227642</ifIndex>
<pvid>1</pvid>
</accessIf>
<accessIf>
<ifIndex>4227650</ifIndex>
<pvid>1</pvid>
</accessIf>
<accessIf>
<ifIndex>4227658</ifIndex>
<pvid>1</pvid>
</accessIf>
<accessIf>
<ifIndex>4227666</ifIndex>
<pvid>1</pvid>
</accessIf>
<link href="http://localhost:8080/imcrs/vlan/access?start=5&size=5&devId=13" op="GET" rel="next"/>
</list>

Query Access Ports 379

Advertising