blob: b773b0b358da2c1e336811449e9857a27ed5c128 [file] [log] [blame]
from plstackapi.openstack.client import OpenStackClient
from plstackapi.openstack.driver import OpenStackDriver
from plstackapi.core.api.auth import auth_check
from plstackapi.core.models import Image
def add_image(auth, fields={}):
"""not implemented"""
return
def delete_image(auth, filter={}):
"""not implemented"""
return 1
def get_images(auth, filter={}):
auth_check(auth)
images = Image.objects.filter(**filter)
return images