blob: 34b2fc8089b5b117ff1693342a4e180ea477d736 [file] [log] [blame]
Oleksiy Petrenkocaad2032018-04-20 14:42:46 +03001from neutronv2.common import send
2
3try:
4 from urllib.parse import urlencode
5except ImportError:
6 from urllib import urlencode
7
8
9@send('get')
10def auto_alloc_get_details(project_id, **kwargs):
11 url = '/auto-allocated-topology/{}?{}'.format(
12 project_id, urlencode(kwargs)
13 )
14 return url, {}
15
16
17@send('delete')
18def auto_alloc_delete(project_id, **kwargs):
19 url = '/auto-allocated-topology/{}'.format(project_id)
20 return url, {}