os-collect-config/os_collect_config
Dan Prince b6364df3e5 Add support for Zaqar websockets
This patch adds a new zaqar.use_websockets option which if set to True
in the config file will configure the Zaqar collector to use
the websocket transport instead of wsgi. This can be more efficient
where you want to avoid the continuous polling of o-c-c and instead
just listen on the websocket that is subscribed to a queue.

Like other collectors each iteration creates a new socket object. This
allows us to use the normal re-exec logic in o-c-c and thus gives
the option to re-configure the agent in the future to use other types
of collectors. We could (optionally) look into a higher level option in
the future that would allow o-c-c to avoid re-exec'ing and thus re-use
the same websocket for multiple sets of metadata.

Depends-On: Ia2a8deb599252d8308e44d595eb2bf443999aaad
Change-Id: Id5c7ed590df776844b6c7961eb40f89206cd24e0
2016-11-30 21:12:47 -05:00
..
tests Add support for Zaqar websockets 2016-11-30 21:12:47 -05:00
__init__.py Splitting os-collect-config into its own repo. 2013-06-26 12:40:25 -07:00
cache.py Drop use of 'oslo' namespace package 2015-05-06 18:45:17 +00:00
cfn.py Set a timeout for all data fetches using requests 2016-07-11 11:14:57 +12:00
collect.py Revert "Treat ec2 collector data as immutable" 2016-09-14 16:02:22 +00:00
common.py Refactor to avoid monkeypatching requests 2013-07-01 22:28:01 -07:00
config_drive.py ec2 collector attempt config-drive before metadata server 2016-10-13 09:38:29 +13:00
ec2.py ec2 collector attempt config-drive before metadata server 2016-10-13 09:38:29 +13:00
exc.py Revert "Treat ec2 collector data as immutable" 2016-09-14 16:02:22 +00:00
heat.py Use TEST-NET-1 for unit tests, not 127.0.0.1 2016-10-12 12:16:52 +13:00
heat_local.py Switch to oslo.log again 2016-03-22 15:38:05 +00:00
keystone.py Use TEST-NET-1 for unit tests, not 127.0.0.1 2016-10-12 12:16:52 +13:00
local.py Switch to oslo.log again 2016-03-22 15:38:05 +00:00
merger.py Switch to oslo.log again 2016-03-22 15:38:05 +00:00
request.py Set a timeout for all data fetches using requests 2016-07-11 11:14:57 +12:00
version.py Make --version work properly 2013-09-17 17:30:52 -07:00
zaqar.py Add support for Zaqar websockets 2016-11-30 21:12:47 -05:00