![]() ![]() Init(opts): Perform any initialization that the device needs. Returning False will prevent the module from loading. Loaded, checking for the presence of Python modules on which the proxy depends. Logic goes here to determine if the module can be _virtual_(): This function performs the same duty that it does for other At a minimumĪ proxymodule object must implement the following functions: Proxymodules are located inside the salt.proxy module. In more secureĮnvironments only certain machines may have a network path to certain devices.Ī proxy module encapsulates all the code necessary to interface with a device. i2c and serial above).Īnother reason to divide proxy services might be security. Many machines if necessary, or intentionally run on machines that need toĬontrol devices because of some physical interface (e.g. It is possible for the proxy services to be spread across Set to the id to which you want the proxy to bind. To run more than one proxy fromĪ single machine, simply start an additional proxy process with -proxyid Proxy minions will only see the keys specific to the proxies it will beĪlso, in general, proxy-minions are lightweight, so the machines that run themĬould conceivably control a large number of devices.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |