tricircle/tricircle/common
lyman-xu 27346da051 Distinguish the source of requests
1. What is the problem?
When receiving a request, we don't know whether the request
comes from  'Central Neutron' or 'Local Neutron'.

2. What is the solution to the problem?
In order to determine the source of requests, we add a
filter to get the source message in the header of requests.
Next step we tag the source message into the context. When
deploy the WSGI app, we checkout the User-Agent in the
request's headers and tag the requests.

3. What the features need to be implemented to the Tricircle
to realize the solution?
No

Change-Id: I990fa46e887cc0822b8e6d74d199d92e39df0bd6
2017-12-06 16:43:53 +08:00
..
__init__.py cascade_service framework 2015-08-05 14:49:25 +03:00
baserpc.py Fix incorrect file permission 2016-05-24 16:04:16 +08:00
client.py QoS implementation(Part1: Qos Plugin) 2017-11-24 16:01:04 +08:00
config.py Remove log translations 2017-04-11 09:17:08 +08:00
constants.py Distinguish the source of requests 2017-12-06 16:43:53 +08:00
context.py Shared VxLAN (Part4: bridge network l3) 2017-03-24 11:34:27 +08:00
exceptions.py Remove log translations 2017-04-11 09:17:08 +08:00
httpclient.py Remove log translations 2017-04-11 09:17:08 +08:00
i18n.py Remove log translations 2017-04-11 09:17:08 +08:00
lock_handle.py Add unit tests for lock_handle module 2017-02-09 19:27:10 +08:00
opts.py Move statless design from experiment to master branch 2016-01-14 12:56:57 +08:00
policy.py Use DocumentedRuleDefault instead of RuleDefault 2017-10-18 01:02:55 +00:00
request_source.py Distinguish the source of requests 2017-12-06 16:43:53 +08:00
resource_handle.py QoS implementation(Part1: Qos Plugin) 2017-11-24 16:01:04 +08:00
restapp.py Inconsistency Description 2017-04-07 06:00:50 +00:00
rpc.py Merge "Set access_policy for messaging's dispatcher" 2017-06-14 13:41:13 +00:00
serializer.py Clean imports in code 2017-02-06 13:12:57 +07:00
topics.py Fix incorrect file permission 2016-05-24 16:04:16 +08:00
utils.py Support pagination for resource routing list operations 2017-07-12 17:09:48 +08:00
version.py Move statless design from experiment to master branch 2016-01-14 12:56:57 +08:00
xrpcapi.py QoS implementation(Part1: Qos Plugin) 2017-11-24 16:01:04 +08:00