code: def _connect(self):
          '''
          Connect to F5
          '''
          try:
              self.bigIP = f5.BIGIP(hostname=self.lb,
                                    username=self.username,
                                    password=self.password,
                                    fromurl=True,
                                    wsdls=['LocalLB.VirtualServer',
                                           'LocalLB.Pool'])
          except Exception:
              raise Exception(
                  'Unable to connect to {0}'.format(self.lb)
              )
  
          return Truf _connect(self):
          '''
          Connect to F5
          '''
          try:
              self.bigIP = f5.BIGIP(hostname=self.lb,
                                    username=self.username,
                                    password=self.password,
                                    fromurl=True,
                                    wsdls=['LocalLB.VirtualServer',
                                           'LocalLB.Pool'])
          except Exception:
              raise Exception(
                  'Unable to connect to {0}'.format(self.lb)
              )
  
          return True
docs: Connect to F5