code: def find_lb_by_name(self, name):
          
          log.debug("Finding load balancers matching name '%s'" % name)
          matching = filter(lambda l: l['name'] == name, self.list_lbs())
          if len(matching) > 1:
              raise ValueError("Ambiguous; more than one load balancer matched '%s'" % name)
          if matching:
              log.info("Found existing load balancer, %s" % matching[0]['id'])
              return matching[0]
          return None
docs: Look up a LBaaS instance by name (rather than id)
  
          :attr string name:  The LBaaS name assigned at creation time
  
          :rtype :class:`dict`