[openstack-dev] [tricircle]Distinguish the direction of requests

XuZhuang xu_lyman at 163.com
Wed Nov 1 11:49:33 UTC 2017


I have some questions in how to distinguish the direction of requests between local neutron and central neutron.

There is the preliminary plan

1. For how to distinguish the requests in central neutron

we can add a filter in neutron/…./etc/api-paste.ini. Using this filter we can get some values about the source.

But the question is that the process of loading filter is in Neutron. Without changing Neutron how could we add a filter? Could we change Neutron?

2. For how to add a signal in the requests

The module of common.client in Tricircle is responsible for sending requests. So we can add a signal in the header of requests. And central plugin will get this signal using the filter.

Best Regards

Zhuangzhuang Xu (Lyman Xu)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20171101/3c408e5d/attachment.html>

More information about the OpenStack-dev mailing list