Пример #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'),
     ]
Пример #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'),
     ]
Пример #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'),
     ]
Пример #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'),
     ]
Пример #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'),
     ]
Пример #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'),
     ]
Пример #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"),
     ]
Пример #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"),
     ]