John L. Villalovos 0d788525df Reduce complexity of node_power_action() function
While attempting to modify the node_power_action() function it caused
the complexity to exceed the 'pep8' check limits. This patch reduces
the complexity of the node_power_action() function by refactoring it.
This will allow future changes to node_power_action() to be allowed.

Added unit tests to test the functions that were pulled out.

Change-Id: I7f84ff23401997c2b92759c306a7bff0589c7f4c
2017-09-27 17:14:25 -07:00
2013-05-02 14:55:43 -04:00
2013-10-28 10:19:15 +00:00
2013-07-22 09:51:10 +02:00
2017-08-21 17:41:52 -04:00
2013-05-02 14:55:43 -04:00
2017-08-21 17:41:52 -04:00
2017-03-02 11:45:27 +00:00
2017-09-22 08:56:34 +00:00
2015-08-07 09:51:32 +00:00

Team and repository tags

image

Ironic

Ironic consists of an API and plug-ins for managing and provisioning physical machines in a security-aware and fault-tolerant manner. It can be used with nova as a hypervisor driver, or standalone service using bifrost. By default, it will use PXE and IPMI to interact with bare metal machines. Ironic also supports vendor-specific plug-ins which may implement additional functionality.

Ironic is distributed under the terms of the Apache License, Version 2.0. The full terms and conditions of this license are detailed in the LICENSE file.

Project resources

Project status, bugs, and requests for feature enhancements (RFEs) are tracked on Launchpad: https://launchpad.net/ironic

For information on how to contribute to ironic, see https://docs.openstack.org/ironic/latest/contributor

S
Description
A service for managing and provisioning Bare Metal servers.
Readme 368 MiB
Languages
Python 97.8%
Shell 2%
JavaScript 0.1%