mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
a37a2700af
salt/master.py: - If ZMQ is not importable, use `tornado.ioloop.IOLoop` as the loop class. - Check HAS_ZMQ before using any zmq.* content. - Did not touch `FloMWorker` usage of zmq.*. This is only used when the transport is RAET. salt/minion.py: - If ZMQ is not importable, use `tornado.ioloop.IOLoop` as the loop class. - Check HAS_ZMQ before using any zmq.* content. salt/transport/ipc.py: - Added `IPCMessagePublisher`. This is intended to function much like ZMQ's zmq.PUB sockets. Used in implementing utils/event.py to function without ZMQ. - Added `IPCMessageSubscriber`. This is intended to function much like ZMQ's zmq.SUB sockets. Used in implementing utils/event.py to function without ZMQ. What makes this class a bit different is that the associated IO Loop is meant to not be running when it is used. Due to this, it is recommended that the caller create a new IO Loop for this purpose. The reason for this is that the `get_event()` API may be invoked from anywhere, whether or not there is a current IO Loop that is running in the thread of the invocation. salt/utils/async.py: - If ZMQ is not importable, use `tornado.ioloop.IOLoop` as the loop class. salt/utils/event.py: - Implemented using `salt.transport.ipc` instead of ZMQ. - zmq.PUB ==> `IPCMessagePublisher` - zmq.SUB ==> `IPCMessageSubscriber` - zmq.PUSH ==> `IPCMessageClient` - zmq.PULL ==> `IPCMessageServer` Signed-off-by: Sergey Kizunov <sergey.kizunov@ni.com> |
||
---|---|---|
.. | ||
__init__.py | ||
aggregation_test.py | ||
args.py | ||
async_test.py | ||
boto_test.py | ||
cache_test.py | ||
cloud_test.py | ||
configcomparer_test.py | ||
context_test.py | ||
dictupdate_test.py | ||
etcd_util_test.py | ||
event_test.py | ||
filebuffer_test.py | ||
find_test.py | ||
format_call_test.py | ||
http_test.py | ||
immutabletypes.py | ||
kwarg_regex_test.py | ||
locales_test.py | ||
network.py | ||
path_join_test.py | ||
process_test.py | ||
rsax931_test.py | ||
runtime_whitespace_regex_test.py | ||
safe_walk_test.py | ||
schedule_test.py | ||
schema_test.py | ||
url_test.py | ||
utils_test.py | ||
validate_net_test.py | ||
verify_test.py | ||
vt_test.py | ||
warnings_test.py | ||
which_test.py |