blob: b773b0b358da2c1e336811449e9857a27ed5c128 [file] [log] [blame]
Tony Mack53310082013-04-09 09:26:12 -04001from plstackapi.openstack.client import OpenStackClient
2from plstackapi.openstack.driver import OpenStackDriver
Tony Mackf1c12242013-04-09 16:08:43 -04003from plstackapi.core.api.auth import auth_check
4from plstackapi.core.models import Image
Tony Mack53310082013-04-09 09:26:12 -04005
6
7def add_image(auth, fields={}):
8 """not implemented"""
9 return
10
11def delete_image(auth, filter={}):
12 """not implemented"""
13 return 1
14
15def get_images(auth, filter={}):
16 auth_check(auth)
17 images = Image.objects.filter(**filter)
18 return images
19
20
21