The ironic.tests.unit.drivers.modules.oneview.test_deploy Module

class ironic.tests.unit.drivers.modules.oneview.test_deploy.OneViewAgentDeployTestCase(*args, **kwargs)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test_deploy(*args, **keywargs)[source]
test_get_properties(*args, **keywargs)[source]
test_prepare(*args, **keywargs)[source]
test_prepare_active_node(*args, **keywargs)[source]

Ensure nodes in running states are not inadvertently changed

test_prepare_cleaning(*args, **keywargs)[source]
test_tear_down_cleaning(*args, **keywargs)[source]
test_tear_down_with_automated_clean_disabled(*args, **keywargs)[source]
test_validate(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.oneview.test_deploy.OneViewDriverDeploy[source]

Bases: ironic.drivers.modules.oneview.deploy.OneViewPeriodicTasks

class ironic.tests.unit.drivers.modules.oneview.test_deploy.OneViewIscsiDeployTestCase(*args, **kwargs)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test_deploy(*args, **keywargs)[source]
test_get_properties(*args, **keywargs)[source]
test_prepare(*args, **keywargs)[source]
test_prepare_active_node(*args, **keywargs)[source]

Ensure nodes in running states are not inadvertently changed

test_prepare_cleaning(*args, **keywargs)[source]
test_tear_down(*args, **keywargs)[source]
test_tear_down_cleaning(*args, **keywargs)[source]
test_tear_down_with_automated_clean_disabled(*args, **keywargs)[source]
test_validate(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.oneview.test_deploy.OneViewPeriodicTasks(*args, **kwargs)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test_node_available_when_not_in_use_by_oneview(*args, **keywargs)[source]
test_node_manageable_maintenance_when_in_use_by_oneview(*args, **keywargs)[source]
test_node_manageable_maintenance_when_oneview_error(*args, **keywargs)[source]
test_node_stay_available_when_not_in_use_by_oneview(*args, **keywargs)[source]
test_node_stay_available_when_raise_exception(*args, **keywargs)[source]
test_node_stay_clean_failed_when_no_oneview_error(*args, **keywargs)[source]
test_node_stay_manageable_maintenance_when_raise_exception(*args, **keywargs)[source]
test_node_stay_manageable_when_in_use_by_oneview(*args, **keywargs)[source]
class ironic.tests.unit.drivers.modules.oneview.test_deploy.TestOneViewAgentDeploy(*args, **kwargs)[source]

Bases: ironic.tests.unit.db.base.DbTestCase

setUp()[source]
test_reboot_and_finish_deploy(*args, **keywargs)[source]
test_reboot_and_finish_deploy_get_power_state_fails(*args, **keywargs)[source]
test_reboot_and_finish_deploy_power_action_fails(*args, **keywargs)[source]
test_reboot_and_finish_deploy_soft_poweroff_doesnt_complete(*args, **keywargs)[source]
test_reboot_and_finish_deploy_soft_poweroff_fails(*args, **keywargs)[source]
test_reboot_to_instance(*args, **keywargs)[source]
test_reboot_to_instance_boot_none(*args, **keywargs)[source]