Add force reconnection feature to NAPALM Proxy Minions #48948
What does this PR do?
One of the major disadvantages of the Proxy Minions is their rigidity in terms of connectivity: the connection with the remote device is established with the remote device at the time of the Minion startup and that connection is going to be used forever.
If one would execute a command on the device using different parameters (due to various causes, such as unable to authenticate with the user specified in the Pillar and the authentication system - say TACACS+ is not available, or the user has a DNS in the Pillar and the resolver is currently down and would like to use temporarily the IP address instead, etc.), it requires a updating the Pillar data and Proxy Minion process restart. This is less than ideal.
Salt fortunately is as always flexible enough and we can add a magic argument, say
root@salt-master:/# salt napalm net.arp napalm: ---------- comment: out: |_ ---------- age: None interface: em1.0 ip: 188.8.131.52 mac: 02:00:00:00:00:10 |_ ---------- age: 1275.0 interface: fxp0.0 ip: 172.31.0.1 mac: 02:8B:CA:89:F9:35 result: True
The above was used as an example proving that when
The text was updated successfully, but these errors were encountered: