Fixed two minor issues : 89/2089/2
authorAnil Vishnoi <avishnoi@in.ibm.com>
Tue, 22 Oct 2013 21:56:43 +0000 (03:26 +0530)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 22 Oct 2013 22:15:28 +0000 (22:15 +0000)
commit99b0ca1002818f9d1f84ae5ac907b71e67fb7f5e
tree486879c450fcd8ad66883a9016abe2bfbf269979
parent5f58a1adbdfe080711c6c141d358b4f3659bd115
Fixed two minor issues :
    1) Throw error is VIP is not attached to any pool
    2) If source and destination machines are connected to same switch node, routing service returns null as a path between same node. Fixed this scenario by adding a check.

Change-Id: I8399bf40af2e1c90501240249802f8d89cc480e7
Signed-off-by: Anil Vishnoi <avishnoi@in.ibm.com>
opendaylight/samples/loadbalancer/src/main/java/org/opendaylight/controller/samples/loadbalancer/internal/LoadBalancerService.java