Module Expr Str Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str FunctionDef arguments args NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Num Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad Call AttributeLoad NameLoad attr Str Str Str Str Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad attr Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad attr Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad attr Dict Str Str Str Str Str Str Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad attr TupleLoad Str ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad attr Dict Str Str Str Str Num Num Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad attr Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad attr Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad attr Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Dict Str Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad attr Dict Str AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Dict AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list
N/A N/A 
Unittest for the Compute Backend.
 N/A mox N/A unittest nova.compute vm_states occi core_model occi.extensions infrastructure occi_os_api nova_glue occi_os_api.backends compute occi_os_api.extensions os_mixins TestComputeBackend N/A N/A unittest TestCase N/A N/A 
    Tests the compute backend.
     N/A os_template N/A N/A os_mixins OsTemplate http://example.com unix N/A os_template2 N/A N/A os_mixins OsTemplate http://example.com windows N/A res_template N/A N/A os_mixins ResourceTemplate http://example.com itsy N/A res_template2 N/A N/A os_mixins ResourceTemplate http://example.com bitsy setUp N/A N/A self N/A N/A N/A 
        Setup tests.
         N/A N/A self backend N/A N/A compute ComputeBackend N/A N/A self sec_obj N/A nova_ctx None N/A N/A self mox N/A N/A mox Mox N/A tearDown N/A N/A self N/A N/A N/A 
        Cleanup mocks.
         N/A N/A N/A N/A self mox UnsetStubs N/A test_create_for_failure N/A N/A self N/A N/A N/A 
        Test for proper error handling.
         N/A res N/A N/A core_model Resource /foo/bar N/A infrastructure COMPUTE N/A N/A N/A N/A self assertRaises AttributeError N/A N/A self backend create res N/A self sec_obj N/A res N/A N/A core_model Resource /foo/bar N/A infrastructure COMPUTE N/A N/A self os_template N/A N/A res attributes N/A occi.compute.cores 2 N/A N/A N/A self assertRaises AttributeError N/A N/A self backend create res N/A self sec_obj N/A test_update_for_failure N/A N/A self N/A N/A N/A 
        Test if correct errors are thrown.
         N/A res1 N/A N/A core_model Resource /foo/bar N/A infrastructure COMPUTE N/A N/A N/A res1 attributes N/A occi.core.id bar N/A res2 N/A N/A core_model Resource /foo/bar N/A infrastructure COMPUTE N/A N/A N/A N/A self assertRaises AttributeError N/A N/A self backend update res1 res2 N/A self sec_obj N/A res2 N/A N/A core_model Resource /foo/bar N/A infrastructure COMPUTE N/A N/A N/A core_model Category http://foo.com bar N/A N/A N/A self assertRaises AttributeError N/A N/A self backend update res1 res2 N/A self sec_obj N/A test_action_for_failure N/A N/A self N/A N/A N/A 
        Test if correct errors are thrown.
         N/A res1 N/A N/A core_model Resource /foo/bar N/A infrastructure COMPUTE N/A N/A N/A res1 attributes N/A occi.core.id bar N/A N/A N/A N/A self mox StubOutWithMock N/A nova_glue vm get_vm N/A N/A N/A N/A N/A N/A nova_glue vm get_vm N/A N/A mox IsA object N/A N/A mox IsA object AndReturn N/A vm_state N/A vm_states STOPPED N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A self assertRaises AttributeError N/A N/A self backend action res1 N/A infrastructure STOP N/A N/A self sec_obj N/A N/A N/A N/A self mox VerifyAll N/A N/A N/A N/A self mox UnsetStubs N/A N/A N/A N/A self mox StubOutWithMock N/A nova_glue vm get_vm N/A N/A N/A N/A N/A N/A nova_glue vm get_vm N/A N/A mox IsA object N/A N/A mox IsA object AndReturn N/A vm_state N/A vm_states ACTIVE N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A self assertRaises AttributeError N/A N/A self backend action res1 N/A infrastructure RESTART N/A N/A self sec_obj N/A N/A N/A N/A self mox VerifyAll N/A test_create_for_sanity N/A N/A self N/A N/A N/A 
        Simulate a create call!
         N/A res N/A N/A core_model Resource /foo/bar N/A infrastructure COMPUTE N/A N/A self os_template N/A N/A N/A N/A self mox StubOutWithMock N/A nova_glue vm create_vm N/A N/A N/A N/A N/A N/A nova_glue vm create_vm N/A N/A mox IsA object N/A N/A mox IsA object AndReturn N/A uuid hostname vcpus memory_mb foo Server foo 1 256 N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self backend create res N/A self sec_obj N/A N/A N/A self assertIn occi.compute.hostname N/A res attributes N/A N/A N/A self assertIn occi.compute.architecture N/A res attributes N/A N/A N/A self assertIn occi.compute.cores N/A res attributes N/A N/A N/A self assertIn occi.compute.speed N/A res attributes N/A N/A N/A self assertIn occi.compute.memory N/A res attributes N/A N/A N/A self assertIn occi.compute.state N/A res attributes N/A N/A N/A self assertEqual inactive N/A N/A res attributes N/A occi.compute.state N/A N/A N/A self assertListEqual N/A N/A infrastructure STOP N/A infrastructure SUSPEND N/A infrastructure RESTART N/A res actions N/A N/A N/A N/A self mox VerifyAll N/A test_retrieve_for_sanity N/A N/A self N/A N/A N/A 
        Simulate a retrieve call!
         N/A res N/A N/A core_model Resource /foo/bar N/A infrastructure COMPUTE N/A N/A self os_template N/A N/A res attributes N/A occi.core.id bar N/A N/A N/A N/A self mox StubOutWithMock N/A nova_glue vm get_vm_state N/A N/A N/A N/A N/A N/A nova_glue vm get_vm_state N/A N/A mox IsA object N/A N/A mox IsA object AndReturn N/A active N/A N/A infrastructure STOP N/A infrastructure SUSPEND N/A infrastructure RESTART N/A N/A N/A N/A self mox StubOutWithMock N/A nova_glue vm get_vm N/A N/A N/A N/A N/A N/A nova_glue vm get_vm N/A N/A mox IsA object N/A N/A mox IsA object AndReturn N/A hostname vcpus memory_mb bar 1 256 N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self backend retrieve res N/A self sec_obj N/A N/A N/A self assertIn occi.compute.hostname N/A res attributes N/A N/A N/A self assertIn occi.compute.architecture N/A res attributes N/A N/A N/A self assertIn occi.compute.cores N/A res attributes N/A N/A N/A self assertIn occi.compute.speed N/A res attributes N/A N/A N/A self assertIn occi.compute.memory N/A res attributes N/A N/A N/A self assertIn occi.compute.state N/A res attributes N/A N/A N/A self assertIn occi.core.id N/A res attributes N/A N/A N/A self assertEqual active N/A N/A res attributes N/A occi.compute.state N/A N/A N/A self assertListEqual N/A N/A infrastructure STOP N/A infrastructure SUSPEND N/A infrastructure RESTART N/A res actions N/A N/A N/A N/A self mox VerifyAll N/A test_update_for_sanity N/A N/A self N/A N/A N/A 
        Simulate a update call!
         N/A res1 N/A N/A core_model Resource /foo/bar N/A infrastructure COMPUTE N/A N/A self os_template N/A N/A res1 attributes N/A occi.core.id bar N/A res2 N/A N/A core_model Resource /foo/bar N/A infrastructure COMPUTE N/A N/A self os_template2 N/A N/A N/A N/A self mox StubOutWithMock N/A nova_glue vm rebuild_vm N/A N/A N/A N/A nova_glue vm rebuild_vm N/A N/A mox IsA object N/A N/A mox IsA object N/A N/A mox IsA object N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self backend update res1 res2 N/A self sec_obj N/A N/A N/A self assertIn N/A self os_template2 N/A res1 mixins N/A N/A N/A N/A self mox VerifyAll N/A res2 N/A N/A core_model Resource /foo/bar N/A infrastructure COMPUTE N/A N/A self res_template2 N/A N/A N/A N/A self mox StubOutWithMock N/A nova_glue vm resize_vm N/A N/A N/A N/A nova_glue vm resize_vm N/A N/A mox IsA object N/A N/A mox IsA object N/A N/A mox IsA object N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self backend update res1 res2 N/A self sec_obj N/A N/A N/A self assertIn N/A self res_template2 N/A res1 mixins N/A N/A N/A N/A self mox VerifyAll N/A test_replace_for_sanity N/A N/A self N/A N/A N/A 
        Simulate a replace call - does nothing atm.
         N/A N/A N/A N/A self backend replace None None N/A self sec_obj N/A test_delete_for_sanity N/A N/A self N/A N/A N/A 
        Simulate a delete call.
         N/A res N/A N/A core_model Resource /foo/bar N/A infrastructure COMPUTE N/A N/A self os_template N/A N/A res attributes N/A occi.core.id bar N/A N/A N/A N/A self mox StubOutWithMock N/A nova_glue vm delete_vm N/A N/A N/A N/A nova_glue vm delete_vm N/A N/A mox IsA object N/A N/A mox IsA object N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self backend delete res N/A self sec_obj N/A N/A N/A N/A self mox VerifyAll N/A test_action_for_sanity N/A N/A self N/A N/A N/A 
        Test actions
         N/A res1 N/A N/A core_model Resource /foo/bar N/A infrastructure COMPUTE N/A N/A N/A res1 attributes N/A occi.core.id bar N/A N/A N/A N/A self mox StubOutWithMock N/A nova_glue vm start_vm N/A N/A N/A N/A nova_glue vm start_vm N/A N/A mox IsA object N/A N/A mox IsA object N/A N/A N/A N/A self mox StubOutWithMock N/A nova_glue vm get_vm N/A N/A N/A N/A N/A N/A nova_glue vm get_vm N/A N/A mox IsA object N/A N/A mox IsA object AndReturn N/A vm_state N/A vm_states STOPPED N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self backend action res1 N/A infrastructure START N/A N/A self sec_obj N/A N/A N/A N/A self mox VerifyAll N/A N/A N/A N/A self mox UnsetStubs N/A N/A N/A N/A self mox StubOutWithMock N/A nova_glue vm stop_vm N/A N/A N/A N/A nova_glue vm stop_vm N/A N/A mox IsA object N/A N/A mox IsA object N/A N/A N/A N/A self mox StubOutWithMock N/A nova_glue vm get_vm N/A N/A N/A N/A N/A N/A nova_glue vm get_vm N/A N/A mox IsA object N/A N/A mox IsA object AndReturn N/A vm_state N/A vm_states ACTIVE N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self backend action res1 N/A infrastructure STOP N/A N/A self sec_obj N/A N/A N/A N/A self mox VerifyAll N/A N/A N/A N/A self mox UnsetStubs N/A N/A N/A N/A self mox StubOutWithMock N/A nova_glue vm restart_vm N/A N/A N/A N/A nova_glue vm restart_vm N/A N/A mox IsA object N/A N/A mox IsA str N/A N/A mox IsA object N/A N/A N/A N/A self mox StubOutWithMock N/A nova_glue vm get_vm N/A N/A N/A N/A N/A N/A nova_glue vm get_vm N/A N/A mox IsA object N/A N/A mox IsA object AndReturn N/A vm_state N/A vm_states ACTIVE N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self backend action res1 N/A infrastructure RESTART N/A method graceful N/A self sec_obj N/A N/A N/A N/A self mox VerifyAll N/A N/A N/A N/A self mox UnsetStubs N/A N/A N/A N/A self mox StubOutWithMock N/A nova_glue vm suspend_vm N/A N/A N/A N/A nova_glue vm suspend_vm N/A N/A mox IsA object N/A N/A mox IsA object N/A N/A N/A N/A self mox StubOutWithMock N/A nova_glue vm get_vm N/A N/A N/A N/A N/A N/A nova_glue vm get_vm N/A N/A mox IsA object N/A N/A mox IsA object AndReturn N/A vm_state N/A vm_states ACTIVE N/A N/A N/A N/A self mox ReplayAll N/A N/A N/A N/A self backend action res1 N/A infrastructure SUSPEND N/A N/A self sec_obj N/A N/A N/A N/A self mox VerifyAll N/A N/A