deploy: ipmi adapter: Add <port> config support. 31/14731/1
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 15:03:05 +0000 (15:03 +0000)
commit4dcc024e440ac28e10085317c878d0309787d21c
tree05f8e8dfe64c3a0e300dfaa6130b486bb58652cd
parentdf9142588843e906555c864ce9469a43ba711d45
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
(cherry picked from commit 118492dda9dac81d503ac0b8c5b1947ae77faf05)
patches/opnfv-fuel/0030-deploy-ipmi-adapter-Add-port-config-support.patch [new file with mode: 0644]