

def __init__(self, host, username, password, versioncheck=True, use_session=True, verify=True):
    self._host = host
    self._username = username
    self._versioncheck = versioncheck
    self._use_session = use_session
    self._verify = verify
    if use_session:
        self._transport = bigsuds.BIGIP(host, username, password, verify).with_session_id()
    else:
        self._transport = bigsuds.BIGIP(host, username, password, verify)
    version = self._transport.System.SystemInfo.get_version()
    if (versioncheck and (not ('BIG-IP_v11' in version))):
        raise UnsupportedF5Version('This class only supports BIG-IP v11', version)
    self._active_folder = self.active_folder
    self._recursive_query = self.recursive_query
    self._transaction = self.transaction
    self._transaction_timeout = self.transaction_timeout

dataset/ETHPy150Open tdevelioglu/python-f5/f5/lb.py Lb.__init__/original