Remove nested 'pxe' dict from driver_info

driver_info do not support nested objects. Self-namespace will be used
to distinguish parameters from one driver to another.

Change-Id: I165438fff7a032b54d3f019b727f6f85ad88d153
Partial-Bug: #1236533
Remove nested 'ssh' dict from driver_info

driver_info do not support nested objects. Self-namespace will be used
to distinguish parameters from one driver to another.

Change-Id: I2756abc855ddfd5388dacb083c12c8916beedd01
Partial-Bug: #1236533
Replace tearDown with addCleanup in unit tests

Infra team has indicated that tearDown should not be used, and should
be replaced with addCleanup in all places. This patch removes the
few cases of tearDown in Ironic.

Change-Id: Ie2a59ea018c68fccadf0530409255bd9a0cf9717
Merge "Remove nested 'ssh' dict from driver_info"
Merge "Replace tearDown with addCleanup in unit tests"
Remove nested 'ipmi' dict from driver_info

driver_info do not support nested objects. Self-namespace will be used
to distinguish parameters from one driver to another.

Change-Id: Ia720fac4b60aa0aa18406e0ba61d8a0a8c5c8a78
Partial-Bug: #1236533
Replaces mox with mock for ssh driver unit tests

OpenStack is moving to use mock instead of mox for unit tests
in order to be ready for python 3. This patch changes the
test cases for ssh driver from using mox to mock.

Change-Id: Ida19bf698fb7e97f122b81a1783882f879e0aeb2
Closes-Bug: 1229397
Replaces mox with mock for test_utils

OpenStack is moving to use mock instead of mox for unit tests
in order to be ready for python 3. This patch changes the
test cases for utils from using mox to mock.

Change-Id: I38e997652f70cb6e0c9743801ea50401f3d6654b
Remove obsolete redhat-eventlet.patch

See I62ce43a330d7ae94eda4c7498782a655e63747fa for the gorey details on
why this exists.

As of this fix:

  https://github.com/eventlet/eventlet/pull/34

which was released in eventlet 0.13, we no longer need the patch.

This has now been removed from oslo-incubator, so this is really just
syncing that removal.

Change-Id: I84267f3c6726cb2e750f615e107c48b12c6ed353
Merge "Remove nested 'ipmi' dict from driver_info"
Fix exceptions error codes

Fix some error codes for exceptions
in common.exception.

Change-Id: I62ed6be7afe426bc9eb6a78423bbd8f7e674c9fa
fix ssh driver exec command issues

when executing ssh commands the ssh driver is not pre-pending the
base command. This patch corrects this issue. It also ensures returned
results are parsed correctly.

Change-Id: I34da562e3d49f49b7f3eb2c79681042a01c83692
Merge "Replaces mox with mock for test_utils"
Merge "Fix exceptions error codes"
Merge "Remove obsolete redhat-eventlet.patch"
Merge "fix ssh driver exec command issues"
Replaces mox with mock for conductor unit tests

OpenStack is moving to use mock instead of mox for unit tests
in order to be ready for python 3. This patch changes the
test cases for conductor from using mox to mock.

Change-Id: If8e97a2af483540c3931ecd1fb7f06a529b3a370
Replaces mox with mock in objects' unit tests

OpenStack is moving unit tests from mox to mock for python3.3 compatibility.
This replaces mox with mock in objects' unit tests.

Change-Id: I907b421f4928206352c2da0d4ecf46016ef66dfe
Replaces mox with mock for test_deploy_utils

OpenStack is moving to use mock instead of mox for unit tests
in order to be ready for python 3. This patch changes the
test cases for deployment utils from using mox to mock.

Change-Id: I90bf90310a955a8797dd884e9846f8aeb07524e0
Merge "Replaces mox with mock in objects' unit tests"