beautypg.com

Add terminal access binding, Interface uri, Access method – HP Intelligent Management Center Licenses User Manual

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

background image

Add Terminal Access Binding

Add a terminal access binding.

Interface URI

/res/access/macAccessBind

Access Method

HTTP

POST

Message body


1a:2a:3a:4c:1c:2c
a1
2

2
1

Elements

macAccessBind sub-elements

Terminal MAC address.

terminalMac

String type. Required. No default value.

Terminal name.

terminalName

String type. Optional. No default value.

Binding type. 1 for no authentication. 2 for MAC-to-interface binding.

bindType

Integer type. Required. No default value.

Maintainer.

maintainer

String type. Optional. No default value.

Interface information.

ifInfo

Element type. Required when bindType takes 2. Multiple elements are supported.

Device ID.

ifInfo/deviceId

Long integer type.

Interface index.

ifInfo/ifIndex

Long integer type.

Returned Result

Status codes

201 (Created): Success.

409 (Conflict): Failure. See

Error Codes

.”

Add Terminal Access Binding 245