blob: 4aa1c29778adb0d58b43a9b4fad4c80d32f7ef3e [file] [log] [blame]
from designatev2.common import send
try:
from urllib.parse import urlencode
except ImportError:
from urllib import urlencode
@send('get')
def zone_list(**kwargs):
url = '/zones?{}'.format(urlencode(kwargs))
return url, None
@send('get')
def status_list(**kwargs):
url = '/service_statuses'
return url, None