Bases: ironic.tests.unit.db.base.DbTestCase
Checks if applied_server_profile_uri was added to driver_info.
Checks if a Server Profile was created and its uri is in driver_info.
Tests server profile allocation when applied_server_profile_uri exists.
This test consider that no Server Profile is applied on the Server Hardware but the applied_server_profile_uri remained on the node. Thus, the conductor should remove the value and apply a new server profile to use the node.
Checks if applied_server_profile_uri was removed from driver_info.
Node has a Server Profile applied by a third party user.
Node has no Server Profile.
Node’s Server Profile uri is the same applied by ironic.
prepare_cleaning behavior when node has Server Profile on OneView
prepare_cleaning behavior when node is free
prepare_cleaning behavior when node already has Profile applied
prepare behavior when the node already has a Profile on OneView.