def list_bindings(site):
 ret = dict()
 sites = list_sites()
 if (site not in sites):
  _LOG.warning('Site not found: %s', site)
  return ret
 ret = sites[site]['bindings']
 if (not ret):
  _LOG.warning('No bindings found for site: %s', site)
 return ret

def list_bindings ( site ) : ret = dict ( ) sites = list_sites ( ) if ( site not in sites ) : _LOG . warning ( 'Site not found: %s' , site ) return ret ret = sites [ site ] [ 'bindings' ] if ( not ret ) : _LOG . warning ( 'No bindings found for site: %s' , site ) return ret
get all configured iis bindings for the specified site .