neutron/neutron/pecan_wsgi/controllers
Brandon Logan 6019b163d6 Pecan: move fields and filters logic to hooks
The logic for massaging the fields and filters data was being done in
the controllers.  This change pulls that logic out of the controllers
and puts it in a generic hook so that it's done for all controllers.
This will later be used for pagination, but thats not the main
motivation of this patch.

Ideally, the filters and fields would be passed into the controller
methods themselves as kwargs, but that is not easily done due to pecan
not easily allowing overriding the args and kwargs passed to the
controller methods. For now, the fields and filters will have to be
pulled out of the request context.

Change-Id: Ibea9087c7036faa064b87acb52e09c9a3c74148a
2016-06-24 00:38:04 -05:00
..
__init__.py Pecan: get rid of member action hook 2016-02-19 04:30:08 -08:00
extensions.py Hacking rule to check i18n usage 2016-03-30 21:28:37 -04:00
quota.py Use converters and validators from neutron-lib 2016-04-24 19:13:10 -04:00
resource.py Pecan: move fields and filters logic to hooks 2016-06-24 00:38:04 -05:00
root.py Pecan: Backwards compatible/cleaner init 2016-05-20 03:58:02 -05:00
router.py Pecan routing for agent schedulers 2016-03-08 06:35:49 +00:00
utils.py Pecan: move fields and filters logic to hooks 2016-06-24 00:38:04 -05:00