Added MOVED type for DeviceUpdates, and published MOVED events to the main updates queue in Controller
diff --git a/src/main/java/net/floodlightcontroller/devicemanager/internal/DeviceManagerImpl.java b/src/main/java/net/floodlightcontroller/devicemanager/internal/DeviceManagerImpl.java
index 5fd7863..087756c 100755
--- a/src/main/java/net/floodlightcontroller/devicemanager/internal/DeviceManagerImpl.java
+++ b/src/main/java/net/floodlightcontroller/devicemanager/internal/DeviceManagerImpl.java
@@ -197,7 +197,7 @@
     protected Set<IDeviceListener> deviceListeners;
 
     public enum DeviceUpdateType {
-        ADD, DELETE, CHANGE;
+        ADD, DELETE, CHANGE, MOVED;
     }
     
     /**
@@ -268,6 +268,9 @@
                             }
                         }
                         break;
+                    case MOVED:
+                    	listener.deviceMoved(device);
+                    	break;
                 }
             }
 		}
@@ -1711,9 +1714,11 @@
      * @param updates the updates to process.
      */
     protected void sendDeviceMovedNotification(Device d) {
-        for (IDeviceListener listener : deviceListeners) {
+        /*for (IDeviceListener listener : deviceListeners) {
             listener.deviceMoved(d);
-        }
+        }*/
+    	floodlightProvider.publishUpdate(
+    			new DeviceUpdate(d, DeviceUpdateType.MOVED, null));
     }
     
     /**