diff --git a/templates/api-paste.ini.j2 b/templates/api-paste.ini.j2 index 59026516..934ef3ff 100644 --- a/templates/api-paste.ini.j2 +++ b/templates/api-paste.ini.j2 @@ -32,3 +32,6 @@ paste.app_factory = neutron.api.versions:Versions.factory [app:neutronapiapp_v2_0] paste.app_factory = neutron.api.v2.router:APIRouter.factory + +[filter:osprofiler] +paste.filter_factory = osprofiler.web:WsgiMiddleware.factory diff --git a/templates/policy.json.j2 b/templates/policy.json.j2 index c14746b7..36b16225 100644 --- a/templates/policy.json.j2 +++ b/templates/policy.json.j2 @@ -218,10 +218,5 @@ "create_flavor_service_profile": "rule:admin_only", "delete_flavor_service_profile": "rule:admin_only", "get_flavor_service_profile": "rule:regular_user", - "get_auto_allocated_topology": "rule:admin_or_owner", - - "add_gateway_network": "rule:admin_only", - "remove_gateway_network": "rule:admin_only", - - "get_advertised_routes":"rule:admin_only" + "get_auto_allocated_topology": "rule:admin_or_owner" }