Modify the second virtualNetworkMapping method in VNMappingUnit.
[nemo.git] / nemo-impl / src / main / java / org / opendaylight / nemo / intent / computation / PNResourcesTracker.java
index 3308797b9808d728a8d401366b1928ab4af0a62f..566f4efe6d519a243d1311dd3a9655845eda1418 100644 (file)
@@ -129,6 +129,9 @@ public class PNResourcesTracker {
             if (physicalResources.contains(resourceId)) {\r
                 physicalResourceMap.remove(userId);\r
                 try {\r
+                    log.info("Physical network changed and affected the virtual network of " +\r
+                            "user {}, start remapping.", userId.getValue());\r
+\r
                     intentResolver.resolveIntent(userId);\r
                 } catch (Exception e) {\r
                     e.printStackTrace();\r