Add interface view, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

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

Advertising
background image

Add Interface View

Add an interface view to iMC.

Interface URI

/plat/res/view/interface

Access Method

HTTP

POST

Message body

<interfaceView>
<name>yourIfView</name>
<desc>yourIfView</desc>
<ifInfo>
<deviceId>55</deviceId>
<ifIndex>1</ifIndex>
</ifInfo>
<ifInfo>
<deviceId>55</deviceId>
<ifIndex>3</ifIndex>
</ifInfo>
</interfaceView>

Element description

interfaceView sub-elements

Interface view name.

name

String type. Required. No default value.

Interface view description.

desc

String type. Optional. No default value.

Interfaces to be added to an interface view.

ifInfo

String type. Optional. No default value.

Device ID.

ifInfo/deviceId

Long integer type. Required. No default value.

Interfaces to be added to an interface view.

ifInfo/ifIndex

Long integer type. Required. No default value.

Returned Result

Status codes

201 (Created): Success.

409 (Conflict): Failure. See

Error Codes

.”

Add Interface View

151

Advertising