Exemplo n.º 1
0
 def stub_snapshot_get_all_by_project(context, project_id):
     return [
         stubs.stub_snapshot(1, display_name='backup1',
                             status='available'),
         stubs.stub_snapshot(2, display_name='backup2',
                             status='available'),
         stubs.stub_snapshot(3, display_name='backup3',
                             status='creating'),
     ]
Exemplo n.º 2
0
 def stub_snapshot_get_all_by_project(context, project_id):
     return [
         stubs.stub_snapshot(1, display_name='backup1',
                             status='available'),
         stubs.stub_snapshot(2, display_name='backup2',
                             status='available'),
         stubs.stub_snapshot(3, display_name='backup3',
                             status='creating'),
     ]
Exemplo n.º 3
0
 def stub_snapshot_get_all_by_project(context, project_id):
     return [
         stubs.stub_snapshot(1, display_name='backup1'),
         stubs.stub_snapshot(2, display_name='backup2'),
         stubs.stub_snapshot(3, display_name='backup3'),
     ]
Exemplo n.º 4
0
 def stub_snapshot_get_all_by_project(context, project_id):
     return [
         stubs.stub_snapshot(1, volume_id='vol1', status='creating'),
         stubs.stub_snapshot(2, volume_id='vol1', status='available'),
         stubs.stub_snapshot(3, volume_id='vol2', status='available'),
     ]
Exemplo n.º 5
0
 def stub_snapshot_get_all_by_project(context, project_id):
     return [
         stubs.stub_snapshot(1, display_name='backup1'),
         stubs.stub_snapshot(2, display_name='backup2'),
         stubs.stub_snapshot(3, display_name='backup3'),
     ]
Exemplo n.º 6
0
 def stub_snapshot_get_all_by_project(context, project_id):
     return [
         stubs.stub_snapshot(1, volume_id='vol1', status='creating'),
         stubs.stub_snapshot(2, volume_id='vol1', status='available'),
         stubs.stub_snapshot(3, volume_id='vol2', status='available'),
     ]
Exemplo n.º 7
0
 def stub_snapshot_get_all_by_project(context, project_id):
     return [
         stubs.stub_snapshot(1, volume_id="vol1", status="creating"),
         stubs.stub_snapshot(2, volume_id="vol1", status="available"),
         stubs.stub_snapshot(3, volume_id="vol2", status="available"),
     ]
Exemplo n.º 8
0
 def stub_snapshot_get_all_by_project(context, project_id):
     return [
         stubs.stub_snapshot(1, display_name="backup1", status="available"),
         stubs.stub_snapshot(2, display_name="backup2", status="available"),
         stubs.stub_snapshot(3, display_name="backup3", status="creating"),
     ]