def do_aggregate_list(cs, args):
 aggregates = cs.aggregates.list()
 columns = ['Id', 'Name', 'Availability Zone']
 if (cs.api_version >= api_versions.APIVersion('2.41')):
  columns.append('UUID')
 utils.print_list(aggregates, columns)

def do_aggregate_list ( cs , args ) : aggregates = cs . aggregates . list ( ) columns = [ 'Id' , 'Name' , 'Availability Zone' ] if ( cs . api_version >= api_versions . APIVersion ( '2.41' ) ) : columns . append ( 'UUID' ) utils . print_list ( aggregates , columns )
print a list of all aggregates .