blob: 34b2fc8089b5b117ff1693342a4e180ea477d736 [file] [log] [blame]
from neutronv2.common import send
try:
from urllib.parse import urlencode
except ImportError:
from urllib import urlencode
@send('get')
def auto_alloc_get_details(project_id, **kwargs):
url = '/auto-allocated-topology/{}?{}'.format(
project_id, urlencode(kwargs)
)
return url, {}
@send('delete')
def auto_alloc_delete(project_id, **kwargs):
url = '/auto-allocated-topology/{}'.format(project_id)
return url, {}