enable images
[plstackapi.git] / plstackapi / planetstack / api / images.py
1 from plstackapi.openstack.client import OpenStackClient
2 from plstackapi.openstack.driver import OpenStackDriver
3 from plstackapi.planetstack.api.auth import auth_check
4 from plstackapi.planetstack.models import Image
5  
6
7 def add_image(auth, fields={}):
8     """not implemented"""
9     return 
10
11 def delete_image(auth, filter={}):
12     """not implemented"""
13     return 1
14
15 def get_images(auth, filter={}):
16     auth_check(auth)   
17     images = Image.objects.filter(**filter)
18     return images             
19         
20
21