def delete_pool(hostname, username, password, name):
 bigip_session = _build_session(username, password)
 try:
  response = bigip_session.delete((BIG_IP_URL_BASE.format(host=hostname) + '/ltm/pool/{name}'.format(name=name)))
 except requests.exceptions.ConnectionError as e:
  return _load_connection_error(hostname, e)
 if (_load_response(response) == ''):
  return True
 else:
  return _load_response(response)

def delete_pool ( hostname , username , password , name ) : bigip_session = _build_session ( username , password ) try : response = bigip_session . delete ( ( BIG_IP_URL_BASE . format ( host = hostname ) + '/ltm/pool/{name}' . format ( name = name ) ) ) except requests . exceptions . ConnectionError as e : return _load_connection_error ( hostname , e ) if ( _load_response ( response ) == '' ) : return True else : return _load_response ( response )
delete pool .