neutron/neutron
pandatt b99298dfad Fix bug: AttributeError arises while sorting with standard attributes
Common neutron resource(e.g, Port) consists of:
1. Resource Attributes, e.g: Port.mac_address, etc.
2. Standard Attributes, e.g: created_at, and are shared among all
   neutron resources.
The `sort` opt only supports limited attributes. We need to filter
attributes that are defined with `is_sort_key=True` and it's preferred
to explicitly warn CLI & API users of illegal sort keys rather than
just accept without check, pass forward and then hit a internal error
which's quite confusing.

Depends-on: https://review.opendev.org/#/c/660097/
Change-Id: I8d206f909b09f1279dfcdc25c39989a67bff93d5
Closes-Bug: #1659175
(cherry picked from commit 335ac4e2d9)
2020-02-03 11:02:28 +00:00
..
agent Merge "[L3] Switch order of processing added and removed router ports" into stable/stein 2020-01-28 03:03:52 +00:00
api Fix bug: AttributeError arises while sorting with standard attributes 2020-02-03 11:02:28 +00:00
cmd Add check for external_network_bridge in neutron-status 2019-03-22 13:14:24 +00:00
common DVR: Ignore DHCP port during DVR host query 2020-01-21 00:36:48 +00:00
conf Merge "List SG rules which belongs to tenant's SG" into stable/stein 2020-01-30 06:10:37 +00:00
core_extensions remove neutron.common.exceptions 2019-02-01 14:35:00 -07:00
db Merge "List SG rules which belongs to tenant's SG" into stable/stein 2020-01-30 06:10:37 +00:00
debug Remove deprecated 'external_network_bridge' option 2019-03-09 22:07:38 +00:00
extensions Fix resource schemas and releated get_sorts test cases 2020-01-31 17:30:08 +00:00
hacking remove neutron.db.api references 2019-03-05 09:14:50 -07:00
ipam Allow first address in an IPv6 subnet as valid unicast 2019-05-22 14:13:31 +00:00
locale Imported Translations from Zanata 2020-01-10 09:16:24 +00:00
notifiers Refactor the L3 agent batch notifier 2019-09-10 05:40:18 +00:00
objects Handle ports assigned to routers without routerports 2019-10-15 09:17:59 +00:00
pecan_wsgi Set DB retry for quota_enforcement pecan_wsgi hook 2019-11-21 06:38:33 +00:00
plugins Merge "Check mtu on network update" into stable/stein 2020-01-20 12:42:06 +00:00
privileged Convert Pyroute2 byte results to strings 2019-12-07 18:39:46 +00:00
quota Set DB retry for quota_enforcement pecan_wsgi hook 2019-11-21 06:38:33 +00:00
scheduler Fix pep8 E128 warnings in non-test code 2019-03-12 21:22:33 +00:00
server Allow neutron-api load config from WSGI process 2018-07-25 15:22:14 +07:00
services Merge "Add retries to update trunk port" into stable/stein 2020-01-28 20:46:32 +00:00
tests Fix bug: AttributeError arises while sorting with standard attributes 2020-02-03 11:02:28 +00:00
__init__.py Fix incorrect usage of '# flake8: noqa' 2018-10-29 15:27:50 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py
manager.py Avoid loading same service plugin more than once 2019-02-21 11:17:02 +01:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Add "rpc_response_max_timeout" config variable in OVS agent 2019-02-21 15:11:42 +00:00
policy.py List SG rules which belongs to tenant's SG 2020-01-16 08:57:01 +00:00
service.py Fix default RPC worker count 2019-08-02 09:44:32 +01:00
version.py
worker.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00
wsgi.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00