deploy: ipmi adapter: Add <port> config support. 29/14529/5
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 23 May 2016 20:09:41 +0000 (22:09 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 26 May 2016 12:50:43 +0000 (14:50 +0200)
commit118492dda9dac81d503ac0b8c5b1947ae77faf05
tree3d448f31c2a1dbdf1b7b7a77aeae127112a9cd0e
parente310f8ba76a2d3228544720c3f83f30315ab4004
deploy: ipmi adapter: Add <port> config support.

Sometimes the IPMI lanplus protocol listens on a non-standard
remote port, e.g. when target nodes are interfaced through a
fake IPMI BMC application that listens on multiple ports on the
same IP address.

Therefore, allow setting IPMI port in the DHA using a new
property named `ipmiPort`, and pass it along to `ipmitool` when set.

CHANGE: get_access_info now also supports specifying the IPMI
port to use with `ipmitool` by configuring the `ipmiPort`
property in the DHA.

hp_adapter.py: updated `get_access_info` return signature with
the new (unused there) `ipmiport`.

Change-Id: Ibff1309b17733af1a6fc8c5008495f42d7ef084a
patches/opnfv-fuel/0030-deploy-ipmi-adapter-Add-port-config-support.patch [new file with mode: 0644]