1 # Copyright (c) 2015 Mirantis, Inc.
4 # Licensed under the Apache License, Version 2.0 (the "License"); you may
5 # not use this file except in compliance with the License. You may obtain
6 # a copy of the License at
8 # http://www.apache.org/licenses/LICENSE-2.0
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 # License for the specific language governing permissions and limitations
16 from neutron.pecan_wsgi.hooks import body_validation
17 from neutron.pecan_wsgi.hooks import context
18 from neutron.pecan_wsgi.hooks import member_action
19 from neutron.pecan_wsgi.hooks import notifier
20 from neutron.pecan_wsgi.hooks import ownership_validation
21 from neutron.pecan_wsgi.hooks import policy_enforcement
22 from neutron.pecan_wsgi.hooks import quota_enforcement
23 from neutron.pecan_wsgi.hooks import translation
26 ExceptionTranslationHook = translation.ExceptionTranslationHook
27 ContextHook = context.ContextHook
28 MemberActionHook = member_action.MemberActionHook
29 BodyValidationHook = body_validation.BodyValidationHook
30 OwnershipValidationHook = ownership_validation.OwnershipValidationHook
31 PolicyHook = policy_enforcement.PolicyHook
32 QuotaEnforcementHook = quota_enforcement.QuotaEnforcementHook
33 NotifierHook = notifier.NotifierHook