'This method is used to get the loadbalancer id.
:param listener_id: The ID of the listener
:returns: The ID of the Loadbalancer'

def _get_loadbalancer_id_with_listener_id(self, listener_id):

    listener = self.client.show_listener(listener_id)
    listener_lbs = listener.get('listener').get('loadbalancers')
    loadbalancer_id = listener_lbs[0].get('id')
    return loadbalancer_id
