Example – HP Intelligent Management Center Licenses User Manual

Page 385

Advertising
background image

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://imc_host:port/imcrs/vlan/hybrid?devId=33

Example

Add a hybrid port on the device whose ID is 33. The port parameters are as follows: ifIndex=2434,
pvid=1, tagVlan=4,5, untagVlan=3,7.

Request

POST http://imc_host:8080/imcrs/vlan/hybrid?devId=33
accept: application/xml
...
<hybridIf forbidenVlanFlag="false" forbiddenVlans="" ifIndex="2423" pvid="1" taggedVlans="4,5" untagVlanFlag="true"
untaggedVlans="3,7"/>

Response

HTTP/1.1 201 Created
Location: http://imc_host:port/imcrs/vlan/hybrid?devId=33

Add Hybrid Port 385

Advertising