Call get_capabilities to initiate device connection (#62103)
This commit is contained in:
parent
b7ab8f9411
commit
b03091213d
1 changed files with 4 additions and 0 deletions
|
@ -451,6 +451,10 @@ class ActionModule(ActionBase):
|
|||
if socket_path is None:
|
||||
socket_path = self._connection.socket_path
|
||||
self.conn = Connection(socket_path)
|
||||
|
||||
# Call get_capabilities() to start the connection to the device.
|
||||
self.conn.get_capabilities()
|
||||
|
||||
self.socket_timeout = self.conn.get_option('persistent_command_timeout')
|
||||
|
||||
# This action plugin support two modes of operation.
|
||||
|
|
Loading…
Reference in a new issue