remotelogin/devices/managers/connections.py
def open(self, name=None, user=None, instance_name=None, tunnel=None, interface=None, **conn_args):
        """ Opens a connection instance given by name of the connection and an instance name
            in case we have more than one instance of the same name """

        name = name or self._default_item_name
        instance_name = instance_name or self.DEFAULT_INSTANCE_NAME

        open_instance = OpenConnectionInstance(self, name, instance_name, user, tunnel, interface, **conn_args)

        if open_instance.conn_name not in self.open_instances:
            self.open_instances[open_instance.conn_name] = {}

        self.open_instances[open_instance.conn_name][open_instance.instance_name] = open_instance

        log.debug('Connection {} with instance name {} and user {} was open successfully'
                  ''.format(open_instance.conn_name, instance_name, user or self.users.default))

        return open_instance
 Opens a connection instance given by name of the connection and an instance name
            in case we have more than one instance of the same name 
Opens a connection instance given by name of the connection and an instance name
in case we have more than one instance of the same name
Opens a connection instance given by name of the connection and an instance name in case we have more than one instance of the same name
def open(self, name=None, user=None, instance_name=None, tunnel=None, interface=None, **conn_args):
        name = name or self._default_item_name
        instance_name = instance_name or self.DEFAULT_INSTANCE_NAME
        open_instance = OpenConnectionInstance(self, name, instance_name, user, tunnel, interface, **conn_args)
        if open_instance.conn_name not in self.open_instances:
            self.open_instances[open_instance.conn_name] = {}
        self.open_instances[open_instance.conn_name][open_instance.instance_name] = open_instance
        log.debug('Connection {} with instance name {} and user {} was open successfully'
                  ''.format(open_instance.conn_name, instance_name, user or self.users.default))
        return open_instance
def open ( self , name = None , user = None , instance_name = None , tunnel = None , interface = None , ** conn_args ) : name = name or self . _default_item_name instance_name = instance_name or self . DEFAULT_INSTANCE_NAME open_instance = OpenConnectionInstance ( self , name , instance_name , user , tunnel , interface , ** conn_args ) if open_instance . conn_name not in self . open_instances : self . open_instances [ open_instance . conn_name ] = { } self . open_instances [ open_instance . conn_name ] [ open_instance . instance_name ] = open_instance log . debug ( 'Connection {} with instance name {} and user {} was open successfully' '' . format ( open_instance . conn_name , instance_name , user or self . users . default ) ) return open_instance
Opens a connection instance given by name of the connection and an instance name
in case we have more than one instance of the same name
Opens a connection instance given by name of the connection and an instance name in case we have more than one instance of the same name
""" Opens a connection instance given by name of the connection and an instance name
            in case we have more than one instance of the same name """
self
name
user
instance_name
tunnel
interface