summaryrefslogtreecommitdiff
path: root/ironic/drivers/intel_ipmi.py
diff options
context:
space:
mode:
authorMadhuri Kumari <madhuri.rai07@gmail.com>2019-05-16 12:40:33 +0000
committerMadhuri Kumari <madhuri.kumari@intel.com>2019-06-25 13:46:26 +0530
commit5127b6f6ddaddba329e2e250399b334a6a58dbba (patch)
treeaab4e6eb999884a239c4eeff96864ac17f13d684 /ironic/drivers/intel_ipmi.py
parent0a3b1968aa18b7960afddff66c462709d8e1351b (diff)
downloadironic-5127b6f6ddaddba329e2e250399b334a6a58dbba.tar.gz
Add IntelIPMIHardware
IntelIPMIHardware is a hardware that supports configuring Intel Speed Select Performance Profile using ipmitool. Change-Id: I49abccb4735b43aed3155ea7e24b2fa0416c83b2 Story: 2005390 Task: 30484
Diffstat (limited to 'ironic/drivers/intel_ipmi.py')
-rw-r--r--ironic/drivers/intel_ipmi.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/ironic/drivers/intel_ipmi.py b/ironic/drivers/intel_ipmi.py
new file mode 100644
index 000000000..905e93048
--- /dev/null
+++ b/ironic/drivers/intel_ipmi.py
@@ -0,0 +1,27 @@
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+
+from ironic.drivers import ipmi
+from ironic.drivers.modules.intel_ipmi import management
+
+
+class IntelIPMIHardware(ipmi.IPMIHardware):
+ """Intel IPMI hardware type.
+
+ Uses ``ipmitool`` to implement power and management.
+ Provides serial console implementations via ``shellinabox`` or ``socat``.
+ Supports Intel SST-PP feature.
+ """
+ @property
+ def supported_management_interfaces(self):
+ """List of supported management interfaces."""
+ return [management.IntelIPMIManagement]