Satish K
Committed by Gerrit Code Review

Invalid Comparision Fix in VTN

Change-Id: Ia72eaf5bea05c17180264152b13c91e9c64a511b
......@@ -343,7 +343,7 @@ public class VtnRscManager implements VtnRscService {
VirtualPort vmPort = virtualPortService.getPort(portId);
Set<Host> hostSet = hostService.getHostsByMac(vmPort.macAddress());
for (Host host : hostSet) {
if (host.annotations().value(IFACEID).equals(vmPort.portId())) {
if (host.annotations().value(IFACEID).equals(vmPort.portId().portId())) {
return host.location().deviceId();
}
}
......