summaryrefslogtreecommitdiffstats
path: root/deploy/reap.py
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2016-05-23 22:06:09 +0200
committerJonas Bjurel <jonas.bjurel@ericsson.com>2016-06-15 08:19:21 +0000
commita2ee8e7efc66be53645c8b1d7c43b7740bc999cd (patch)
treed74cfcd1d6ede33ec2d0da09b5d0dec6851a92ca /deploy/reap.py
parent8b192597ef66f45a820886bfe2489548a9fa807f (diff)
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: I620176bd7f466aa460518cf12d15ccbe86a22560 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'deploy/reap.py')
-rw-r--r--deploy/reap.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/deploy/reap.py b/deploy/reap.py
index c642a4243..7624d6f6d 100644
--- a/deploy/reap.py
+++ b/deploy/reap.py
@@ -57,6 +57,8 @@ adapter:
# ipmiIp
# ipmiUser
# ipmiPass
+# and you *MAY* provide (optional, not added by reap.py):
+# ipmiPort
# - libvirt adapter you need to provide:
# libvirtName: <whatever>
# libvirtTemplate: [libvirt/vms/controller.xml | libvirt/vms/compute.xml]