blob: 042219d7fe47dd4e2861e5650fcda6884a9d2eae [file] [log] [blame]
Tony Mack53310082013-04-09 09:26:12 -04001from plstackapi.openstack.client import OpenStackClient
2from plstackapi.openstack.driver import OpenStackDriver
3from plstackapi.planetstack.api.auth import auth_check
4from plstackapi.planetstack.models import Image
5
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