blob: 4aa1c29778adb0d58b43a9b4fad4c80d32f7ef3e [file] [log] [blame]
Oleksiy Petrenko777d7822018-11-06 13:32:44 +02001from designatev2.common import send
2
3try:
4 from urllib.parse import urlencode
5except ImportError:
6 from urllib import urlencode
7
8
9@send('get')
10def zone_list(**kwargs):
11 url = '/zones?{}'.format(urlencode(kwargs))
12 return url, None
sgarbuz0ebf5742018-11-21 17:39:45 +020013
14
15@send('get')
16def status_list(**kwargs):
17 url = '/service_statuses'
18 return url, None