deb-horizon/horizon/tables/__init__.py
Masco Kaliyamoorthy 6b49ee8004 added common name based filter for tables
In horizon most number of the tables have the name based client side filter.
All the tables are implementing the filter class individually,
but the logic and code is same in all the places.
Adding generic class for name based filter will remove lot of the duplicate code.

In this patch i have added the generic class and using it in all the vpn tables,
once it is accepted, we can remove the duplicate classes
and use the generic class everywhere.

Change-Id: Ie9c6bfaaffc72f8144fa36d450cce77b16fae64c
Implements: blueprint common-client-filter
Closes-Bug: #1427521
2015-07-27 11:17:56 +05:30

33 lines
1.5 KiB
Python

# Copyright 2012 Nebula, Inc.
#
# 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.
# Convenience imports for public API components.
# Importing non-modules that are not used explicitly
from horizon.tables.actions import Action # noqa
from horizon.tables.actions import BatchAction # noqa
from horizon.tables.actions import DeleteAction # noqa
from horizon.tables.actions import FilterAction # noqa
from horizon.tables.actions import FixedFilterAction # noqa
from horizon.tables.actions import LinkAction # noqa
from horizon.tables.actions import NameFilterAction # noqa
from horizon.tables.actions import UpdateAction # noqa
from horizon.tables.base import Column # noqa
from horizon.tables.base import DataTable # noqa
from horizon.tables.base import Row # noqa
from horizon.tables.views import DataTableView # noqa
from horizon.tables.views import MixedDataTableView # noqa
from horizon.tables.views import MultiTableMixin # noqa
from horizon.tables.views import MultiTableView # noqa