Remove POST calls in tests for resource creation

Removes all unnecessary POST calls in tests setup.  Any resources needed in
test setup are now created with a direct call to the DB API.

Change-Id: I2b19eeb25e563a658eaf375c8ae83dec9ff68deb
Closes-Bug: #1261398
Remove _load_one_plugin fallback

Remove the _load_one_plugin fallback for stevedore version < 0.14. The
commit c011d7360085dc5b2b2521e5c533ccc87b310f15 pinned the stevedore
version to >= 0.14.

Change-Id: I73ab108a55613d9b9f6ce577d7a90ffe6596bd2c
Fix autodoc formatting in pxe.py

Change-Id: I8cd884aa9ad9014c9e1d5140c1302d915cb31ffd
Remove None as default value for dict get()

If no default value is specified it defaults to None already.

Change-Id: I70302191495dfe30971247496f33c558ecd87002
Log IPMI power on/off timeouts

Ported from nova: Iecd6fadb2b653f4ccbe75882c2ef85812b334e8d

Added log messages for cloud operators so that they can tell when an
attempt to turn a device on or off via IPMI has failed after the
configured number of attempts.

This should help operators diagnose issues on devices that respond
slowly to IPMI commands. The failure to repeatedly change the device
power state is now logged precisely along with the cause, where
before operators had to diagnose the issue through trace log captures.

Change-Id: I06cd432c72d72f5abe8cd5941e4d5844c66c1482
Merge "Remove POST calls in tests for resource creation"
Merge "Fix autodoc formatting in pxe.py"
Merge "Remove _load_one_plugin fallback"
Replace nonexistent mock assert methods with real ones

Methods like assert_not_called, assert_called_once, assert_called do
not exist, they generated on the fly (dummy) and don't assert anything.
This patch replaces each of nonexistent method calls with real.

Change-Id: I12ac093b81a7a90b9b3771678ea2cc3c2a40c876
Closes-Bug: #1272428
Merge "Remove None as default value for dict get()"
Replace assertEqual(None, *) with assertIsNone in tests

Replace assertEqual(None, *) with assertIsNone in tests to have
more clear messages in case of failure.

Change-Id: I6a6de92be070dac41f3f896dcc60422d2b06b115
Merge "Log IPMI power on/off timeouts"
Merge "Replace nonexistent mock assert methods with real ones"
Merge "Replace assertEqual(None, *) with assertIsNone in tests"