
This cleans up a few bits of code to use neutron-lib or removing them if neutron is imported but nothing is done. * neutron_fwaas/tests/functional/test_fwaas_driver.py imported neutron but was a no-op. Deleted. * neutron_fwaas/db/models/head.py was a shift from neutron-lib to neutron for where model_base comes from. * neutron_fwaas/tests/functional/db/test_migrations.py imported neutron mixins for database test classes specific to MySQL and PostgreSQL, but those classes were just 'pass'. Deleted. Change-Id: Ifc2e5f8cde3238531cec6c00168b601ce045205a
22 lines
840 B
Python
22 lines
840 B
Python
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
from neutron_lib.db import model_base
|
|
|
|
from neutron_fwaas.db.firewall import firewall_db # noqa
|
|
from neutron_fwaas.db.firewall import firewall_router_insertion_db # noqa
|
|
from neutron_fwaas.db.firewall.v2 import firewall_db_v2 # noqa
|
|
|
|
|
|
def get_metadata():
|
|
return model_base.BASEV2.metadata
|