ironic/ironic
Shivanand Tendulker 433b1fd197 Adds rescue_interface to base driver class
This commit adds `rescue` interface to `BaseDriver` and implements
it for `fake-hardware` hardware type. It adds configuration
parameters '[DEFAULT]/enabled_rescue_interfaces' and
'[DEFAULT]/default_rescue_interface'. The default value of
configuration parameter '[DEFAULT]/enabled_rescue_interfaces' is
`no-rescue`.

It adds new rescue states and a new 'rescue' field to the Node
object. It adds objects.node.Node._convert_to_version().
The method handles converting the new rescue_interface field
between different versions of the Node.

Partial-bug: #1526449
Co-Authored-By: Jay Faulkner <jay@jvf.cc>
Co-Authored-By: Josh Gachnang <josh@pcsforeducation.com>
Co-Authored-By: Jesse J. Cook <jesse.j.cook@member.fsf.org>
Co-Authored-By: Mario Villaplana <mario.villaplana@gmail.com>
Co-Authored-By: Aparna <aparnavtce@gmail.com>
Co-Authored-By: Shivanand Tendulker <stendulker@gmail.com>

Change-Id: I1534247bf207a20a7a58534988192aef392eaff2
2017-12-21 03:01:48 -05:00
..
api Receive and store agent version on heartbeat 2017-12-11 16:25:47 +00:00
cmd Do not access dbapi attributes on dbsync import 2017-12-06 14:10:55 -08:00
common Adds rescue_interface to base driver class 2017-12-21 03:01:48 -05:00
conductor Adds rescue_interface to base driver class 2017-12-21 03:01:48 -05:00
conf Adds rescue_interface to base driver class 2017-12-21 03:01:48 -05:00
db Add rescue_interface to node DB table 2017-11-06 00:19:44 -05:00
dhcp Use adapters for neutronclient 2017-12-14 13:36:03 +02:00
drivers Adds rescue_interface to base driver class 2017-12-21 03:01:48 -05:00
locale/ja/LC_MESSAGES Imported Translations from Zanata 2017-11-21 06:16:45 +00:00
objects Adds rescue_interface to base driver class 2017-12-21 03:01:48 -05:00
tests Adds rescue_interface to base driver class 2017-12-21 03:01:48 -05:00
__init__.py Move eventlet monkey patch code 2017-03-02 13:48:18 +02:00
version.py Correct version.py and update current version string 2014-03-21 13:50:05 -07:00