neutron/neutron/tests/unit
Miguel Angel Ajo 11e22a435a neutron.api.rpc.callbacks interface rework
Split rpc.callbacks interface into consumer and producer parts.

Better terms are chosen for two RPC APIs we have:
- pull when a component actively requests a new object state;
- push when a component updates anyone interested about an object
  change.

Also, for callback registration, the following terms are used:
- subscribe when a component is registered in consumer registry;
- provide when a component is registered in provider registry.

Covered the registries with some unit tests.

Lots of existing tests utilize the registries now, and need to be
isolated from other tests that mess with the managers (that are
singletons), so introduced a common qos base test class to mock the
manager with per-test instance of it).

Co-Authored-By: Ihar Hrachyshka <ihrachys@redhat.com>
Partially-Implements: blueprint quantum-qos-api
Change-Id: I130cfbc8b78da6df4405b90ea1ab47899491ba41
2015-08-08 10:24:20 +02:00
..
agent neutron.api.rpc.callbacks interface rework 2015-08-08 10:24:20 +02:00
api neutron.api.rpc.callbacks interface rework 2015-08-08 10:24:20 +02:00
callbacks Add weak reference test for callback manager 2015-04-23 06:55:03 -07:00
cmd Adding a cleanup for 'qlbaas-' namespaces in netns_cleanup 2015-07-21 13:52:57 +03:00
common Merge remote-tracking branch 'origin/feature/qos' into merge-branch 2015-07-23 11:48:57 +02:00
core_extensions Introduce base interface for core resource extensions 2015-08-07 21:36:15 +02:00
db Merge remote-tracking branch 'origin/feature/qos' into merge-branch 2015-08-06 15:29:26 +02:00
debug Reorganize unit test tree 2015-04-06 23:28:31 +00:00
extensions Fixing ICMP type and code validation 2015-08-04 07:01:12 +00:00
hacking Restructure agent code in preparation for decomp 2015-06-26 15:06:49 +00:00
ipam Remove unnecessary executable permission 2015-08-01 05:16:32 +00:00
notifiers Switch to oslo_utils.uuidutils 2015-06-22 11:06:18 +00:00
objects Gracefully handle duplicate rule creation 2015-08-05 17:28:17 +02:00
plugins Merge "Revert "Add extension callbacks support for networks"" into feature/qos 2015-08-08 03:43:47 +00:00
quota Add plural names for quota resources 2015-07-28 11:55:04 -07:00
scheduler Remove duplicate DHCP agent registration in unit test 2015-07-24 15:20:05 -04:00
services neutron.api.rpc.callbacks interface rework 2015-08-08 10:24:20 +02:00
tests Merge "Different approach to indicate failure on SystemExit" 2015-07-16 06:57:16 +00:00
__init__.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
_test_extension_portbindings.py Context: Remove logic for read_deleted and deprecate it 2015-06-09 13:50:03 -07:00
database_stubs.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
dummy_plugin.py Remove lingering traces of q_ 2015-07-07 17:04:44 -04:00
extension_stubs.py Remove get_namespace from API extensions 2015-06-15 09:17:32 -04:00
test_auth.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
test_context.py Python 3: fix test_context 2015-07-27 16:57:08 +02:00
test_manager.py Flavor Framework implementation 2015-07-16 09:07:41 -07:00
test_policy.py Consume oslo.policy 2015-06-09 17:07:13 +00:00
test_service.py Refactor TestRpcWorker and TestWorkerService 2015-06-16 15:49:48 +03:00
test_wsgi.py Switch to oslo.service 2015-06-29 13:20:55 +03:00
testlib_api.py Improve fixture usage. 2015-07-01 14:53:48 +12:00