diff --git a/salt/proxy/junos.py b/salt/proxy/junos.py index 0118b1e86e..c8278fdc71 100644 --- a/salt/proxy/junos.py +++ b/salt/proxy/junos.py @@ -116,6 +116,15 @@ def conn(): return thisproxy['conn'] +def alive(opts): + ''' + Return the connection status with the remote device. + + .. versionadded:: Oxygen + ''' + return thisproxy['conn'].connected + + def proxytype(): ''' Returns the name of this proxy