]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Fix get_objects to allow filtering
authorNir Magnezi <nmagnezi@redhat.com>
Sun, 2 Aug 2015 12:56:56 +0000 (08:56 -0400)
committerJohn Schwarz <jschwarz@redhat.com>
Sun, 9 Aug 2015 11:57:52 +0000 (14:57 +0300)
commita7eeab83ebe1023c14cfaab6b8366a6950e3551d
treec3043a5a5acffee41e14e416c78dc95cfea27327
parent088289acd23a9fe84e8346c9475976d24efde580
Fix get_objects to allow filtering

At the moment, an attempt to retrieve a list of objects (like qos
policy) and filter by name fails, because get_objects does not use
filters and therefore, upon query by object name, the server replies
with a list of all created objects (instead of a partial list).

Change-Id: I9df9981129b8f3b82e867c8423986f5e0150186b
Partially-Implements: blueprint quantum-qos-api
neutron/objects/base.py
neutron/objects/qos/policy.py
neutron/objects/qos/rule_type.py
neutron/services/qos/qos_plugin.py
neutron/tests/api/test_qos.py
neutron/tests/tempest/services/network/json/network_client.py
neutron/tests/unit/objects/qos/test_policy.py
neutron/tests/unit/objects/test_base.py