public List<Site> listSites(String vdcShortId){
  List<Site> result=new ArrayList<>();
  String siteKind=String.format("%s/%s",Site.CONFIG_KIND,vdcShortId);
  for (  Configuration siteConfig : coordinator.queryAllConfiguration(siteKind)) {
    result.add(new Site(siteConfig));
  }
  return result;
}

public List < Site > listSites ( String vdcShortId ) { List < Site > result = new ArrayList < > ( ) ; String siteKind = String . format ( "%s/%s" , Site . CONFIG_KIND , vdcShortId ) ; for ( Configuration siteConfig : coordinator . queryAllConfiguration ( siteKind ) ) { result . add ( new Site ( siteConfig ) ) ; } return result ; }
list all sites in given vdc
