Skip to content

Controlling multiple devices via one proxy. #34132

@rajvidhimar

Description

@rajvidhimar

Hi,
This is more of a feature request rather than a bug. Currently,I am working with junos proxy and I noticed that only one device will be connected by one salt-proxy call. To run 100 proxied devices we would need to start 100 different proxy processes.

If I define my pillars like this:
/srv/pillar/top.sls

'salt_proxy':
  - device1
  - device2
  - device3

/srv/pillar/device1.sls

proxy:
  proxytype: junos
  host: xxxx
  username: xxxx
  passwd: xxxx

...and so on for device2 and device3.
When I execute the following command on my proxy minion:
salt-proxy --proxyid=salt_proxy

All the 3 devices are connected. This way would make more sense than starting up multiple proxy processes.The proxy script can handle that internally.

Metadata

Metadata

Assignees

Labels

pending-discussionThe issue or pull request needs more discussion before it can be closed or merged

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions