Remove unused nova specific files

This files from nova and cannot be used
in Ironic.

Change-Id: Ie45b6281b1ac1f800c82ab29ca7801f4402dbb8a
Implement db get_[un]associated_nodes

These method were just stubs.
This patch implements them in db/sqlalchemy/api.py, and a subsequent
patch will expose this functionality via the API.

Change-Id: Iae68cbe3bf4e84a0f47a0770695bed9dae78aa95
Be more patient with IPMI and BMC

Before the ipmitool driver called 'power status; power on' in a loop
which made the IPMI/BMCs not behave well.  Also the total time we would
wait (5 seconds) wasn't always enough.  So make sure power on/off is
only called once and wait up to 10 seconds for the power state change to
go into effect.

This is a port of change-id I5a4d7c84ebdf9c1f7d8d0570dbc31764c31f1fc6

Change-Id: I50982b24e5443b34d5597581ea2947a0301d35c9
Closes-Bug: #1234479
Adjust native ipmi default wait time

Make the default wait time for ipminative driver
match the default for the ipmitool driver.

Change-Id: Ica90f2b4d3e5cfa21dbd1318887983cc24eaa16d
Add DriverFactory

This patch create a new class called DriverFactory that will be used to
manage the loaded drivers in Ironic. Before the list of loaded drivers
existed only inside the NodeManager class making it difficult to get
any information about the drivers outside that class.

Change-Id: I56a89dab6ed8f323dcc335c9921f7d0edec634ec
Remove the NULL state

NULL and NOSTATE seems to be redundant, plus the NULL state haven't been
used anywhere.

Change-Id: Iaf20dcc661c4334fe2b140306ee2310a83478bb6
Do not use string concatenation for localized strings

Change-Id: I974917c363ba7eb152d2487899b600fa0355e938
Updated from global requirements

Change-Id: I3673966dd6dc2b65c3031acd58abca3f9f58c75b
Remove duplicated db_api.get_instance() from tests

The db_api.get_instance() is being called twice on the setUp() method
for the IPMINativeDriverTestCase class

Change-Id: I4bf9a0fc70132ec8813de192110051ca477da2e8
Don't allow deletion of associated node

Checks that node is associated with instance
added to method destroy_node() in db api.
Exception NodeAssociated raised in case associated node.

Change-Id: I52c7a0b3d33078b38460b5fd08e4cd2d4c7731ef
Merge "Do not use string concatenation for localized strings"
Merge "Add DriverFactory"
Merge "Adjust native ipmi default wait time"
Merge "Implement db get_[un]associated_nodes"
Merge "Updated from global requirements"
Merge "Remove duplicated db_api.get_instance() from tests"
Merge "Don't allow deletion of associated node"
Merge "Be more patient with IPMI and BMC"
Fixes RootController to allow URL without version tag

Each resource returned by the API includes a bookmark link
which, by design, does not include the version tag in the URL.
The RootController was not routing these requests properly,
and caused 404 "Resource could not be found" errors when following
bookmarks. This patch fixes the RootController and adds unit tests
to validate both links returned with all API resources.

Change-Id: I76ba359f7a83f9860a37746adb48c2fdc8705122
Merge "Remove unused nova specific files"