def list_configured_members(lbn, profile='default'):
 config = dump_config(profile)
 try:
  ret = config['worker.{0}.balance_workers'.format(lbn)]
 except KeyError:
  return []
 return [_f for _f in ret.strip().split(',') if _f]

def list_configured_members ( lbn , profile = 'default' ) : config = dump_config ( profile ) try : ret = config [ 'worker.{0}.balance_workers' . format ( lbn ) ] except KeyError : return [ ] return [ _f for _f in ret . strip ( ) . split ( ',' ) if _f ]
return a list of member workers from the configuration files cli examples: .