neutron/neutron/api/v2
Ihar Hrachyshka 527468be33 api: work around Routes cutting off suffix from resource id
Routes allows for auxiliary format suffix. Sadly it doesn't distinguish
between an actual format suffix (.json) and any other suffix that may be
part of the id. (like for first.second resource tag). To work this
behavior around, we will reattach the 'format' suffix if it is not of a
supported format (json only at the time of writing).

This of course leaves a corner case where there is a tag where .json is
a part of its id. This seems to be a reasonable balance to leave it
unfixed, because an alternative would probably be not backwards
compatible.

Closes-Bug: #1694897
Change-Id: I271107150166f0ee680faaa2e3ca6044cf4e8d4f
2017-06-01 14:13:39 -07:00
..
__init__.py Remove invalid copyright headers under API module 2014-04-02 11:09:03 -07:00
attributes.py Replace six.iteritems with dict.items(Part-2) 2017-04-18 18:56:46 +08:00
base.py use neutron-lib callbacks 2017-04-26 12:12:53 -06:00
resource.py api: work around Routes cutting off suffix from resource id 2017-06-01 14:13:39 -07:00
resource_helper.py Remove allow_pagination and allow_sorting config options 2016-11-29 12:34:19 +00:00
router.py Replace six.iteritems with dict.items(Part-2) 2017-04-18 18:56:46 +08:00