commit | 01a60f2790e33f35476edd9d65927c8f85c71888 | [log] [tgz] |
---|---|---|
author | Satish K <satishk@huawei.com> | Sat Nov 28 15:21:42 2015 +0530 |
committer | Gerrit Code Review <gerrit@onlab.us> | Wed Dec 02 19:40:50 2015 +0000 |
tree | 5470e862c23b165b806d8ba9b4b0d2fe53d26256 | |
parent | 57de6cd3afdcf919322f3da6ab9ff350cd9326a1 [diff] |
Invalid Comparision Fix in VTN Change-Id: Ia72eaf5bea05c17180264152b13c91e9c64a511b
diff --git a/apps/vtn/vtnrsc/src/main/java/org/onosproject/vtnrsc/service/impl/VtnRscManager.java b/apps/vtn/vtnrsc/src/main/java/org/onosproject/vtnrsc/service/impl/VtnRscManager.java index ec9ca3e..99ff1ed 100644 --- a/apps/vtn/vtnrsc/src/main/java/org/onosproject/vtnrsc/service/impl/VtnRscManager.java +++ b/apps/vtn/vtnrsc/src/main/java/org/onosproject/vtnrsc/service/impl/VtnRscManager.java
@@ -343,7 +343,7 @@ 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(); } }