1
0

index.rst 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. .. _transports:
  2. ==============
  3. Salt Transport
  4. ==============
  5. One of fundamental features of Salt is remote execution. Salt has two basic
  6. "channels" for communicating with minions. Each channel requires a
  7. client (minion) and a server (master) implementation to work within Salt. These
  8. pairs of channels will work together to implement the specific message passing
  9. required by the channel interface.
  10. Pub Channel
  11. ===========
  12. The pub channel, or publish channel, is how a master sends a job (payload) to a
  13. minion. This is a basic pub/sub paradigm, which has specific targeting semantics.
  14. All data which goes across the publish system should be encrypted such that only
  15. members of the Salt cluster can decrypt the publishes.
  16. Req Channel
  17. ===========
  18. The req channel is how the minions send data to the master. This interface is
  19. primarily used for fetching files and returning job returns. The req channels
  20. have two basic interfaces when talking to the master. ``send`` is the basic
  21. method that guarantees the message is encrypted at least so that only minions
  22. attached to the same master can read it-- but no guarantee of minion-master
  23. confidentiality, whereas the ``crypted_transfer_decode_dictentry`` method does
  24. guarantee minion-master confidentiality.
  25. .. toctree::
  26. zeromq
  27. tcp