use of com.cloud.network.LoadBalancerVO in project CloudStack-archive by CloudStack-extras.
the class ElbVmMapDaoTest method testFindLB.
public void testFindLB() {
ElasticLbVmMapDaoImpl dao = ComponentLocator.inject(ElasticLbVmMapDaoImpl.class);
List<LoadBalancerVO> lbs = dao.listLbsForElbVm(12);
if (lbs == null) {
System.out.println("Not Found");
} else {
System.out.println("Found " + lbs.size() + " lbs");
}
}
Aggregations