beautypg.com

Add trunk port, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

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

background image

Add Trunk Port

Add a trunk port on the device.

Interface URI

/vlan/trunk

Access Method

HTTP

POST

Message body

POST http://imc_host:8080/imcrs/vlan/trunk?devId=33
accept: application/xml
...

Parameters

Trunk port sub-elements

Device type ID.

devId

Integer type. Required. No default value.

Port index, which uniquely identifies a port.

ifIndex

Integer type. Required. No default value.

PVID of the trunk port.

pvid

Integer type. Required. No default value.

Allowed VLAN.

allowedVlans

String type. Optional. No default value.

Returned Result

Status codes

201 (Created): Success.

409 (Conflict): Failure. See

Error Codes

.”

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/trunk?devId=33

392 Network Service Management