blob: c6a67b5533007074571a07b927097ec84c84c48f [file] [log] [blame]
from plstackapi.openstack.client import OpenStackClient
from plstackapi.openstack.driver import OpenStackDriver
from plstackapi.planetstack.api.auth import auth_check
from plstackapi.planetstack.models import Flavor
def add_flavor(auth, fields={}):
"""not implemented"""
return
def delete_flavor(auth, filter={}):
"""not implemented"""
return 1
def get_flavors(auth, filter={}):
auth_check(auth)
flavors = Flavor.objects.filter(**filter)
return flavors