{
"href": "http://%s:%d/v2.0" % (get_host(request), self.api.port),
"rel": "self"
- },
- {
- "href": "http://%s:%d/v2.0/tokens" % (get_host(request), self.api.port),
- "rel": "self"
- },
- {
- "href": "http://%s:%d/v2.0/networks" % (get_host(request), neutron_port),
- "rel": "self"
- },
- {
- "href": "http://%s:%d/v2.0/subnets" % (get_host(request), neutron_port),
- "rel": "self"
- },
- {
- "href": "http://%s:%d/v2.0/ports" % (get_host(request), neutron_port),
- "rel": "self"
- },
- {
- "href": "http://%s:%d/v1/<tenant_id>/stacks" % (get_host(request), heat_port),
- "rel": "self"
}
]
}
-
+ LOG.debug(json.dumps(resp))
return Response(json.dumps(resp), status=200, mimetype='application/json')
{
"href": "http://%s:%d/v2.0" % (get_host(request), self.api.port),
"rel": "self"
- },
- {
- "href": "http://%s:%d/v2.0/tokens" % (get_host(request), self.api.port),
- "rel": "self"
- },
- {
- "href": "http://%s:%d/v2.0/networks" % (get_host(request), neutron_port),
- "rel": "self"
- },
- {
- "href": "http://%s:%d/v2.0/subnets" % (get_host(request), neutron_port),
- "rel": "self"
- },
- {
- "href": "http://%s:%d/v2.0/ports" % (get_host(request), neutron_port),
- "rel": "self"
- },
- {
- "href": "http://%s:%d/v1/<tenant_id>/stacks" % (get_host(request), heat_port),
- "rel": "self"
}
]
}
"name": "heat"
}
]
-
return Response(json.dumps(ret), status=201, mimetype='application/json')
except Exception as ex: