[VOL-4137] Logical device deletion event from rw-core for immediate disconnection from ONOS

Change-Id: I486fb056a2e82047ae03365c9ee1de24fa3dabe0
diff --git a/protos/voltha_protos/openflow_13.proto b/protos/voltha_protos/openflow_13.proto
index 2f6791e..069269d 100755
--- a/protos/voltha_protos/openflow_13.proto
+++ b/protos/voltha_protos/openflow_13.proto
@@ -341,6 +341,12 @@
     OFPPR_MODIFY  = 2;         /* Some attribute of the port has changed. */
 };
 
+/* What changed about the physical device */
+enum ofp_device_connection {
+    OFPDEV_CONNECTED     = 0;         /* The device connected. */
+    OFPDEV_DISCONNECTED  = 1;         /* The device disconnected. */
+};
+
 /* A physical port has changed in the datapath */
 message ofp_port_status {
     //ofp_header header;
@@ -348,6 +354,12 @@
     ofp_port desc = 2;
 };
 
+/* A physical device has changed in the datapath */
+message ofp_device_status {
+    //ofp_header header;
+    ofp_device_connection status = 1; /* One of OFPDEV_*. */
+};
+
 /* Modify behavior of the physical port */
 message ofp_port_mod {
     //ofp_header header;
@@ -2307,6 +2319,7 @@
     oneof event {
         ofp_port_status port_status = 2;
         ofp_error_msg error = 3;
+        ofp_device_status device_status = 4;
     }
 }