code: def init(opts):
      '''
      Opens the connection with the network device.
      '''
      NETWORK_DEVICE.update(salt.utils.napalm.get_device(opts))
      DETAILS['initialized'] = True
      return Truf init(opts):
      '''
      Opens the connection with the network device.
      '''
      NETWORK_DEVICE.update(salt.utils.napalm.get_device(opts))
      DETAILS['initialized'] = True
      return True
docs: Opens the connection with the network device.