VOL-5476 Proto changes for UpdateDevice for ipaddress

Change-Id: Iec4b824b3afcdb57a656736415f3d9368dcddb58

Signed-off-by: Abhilash Laxmeshwar <abhilash.laxmeshwar@radisys.com>
Change-Id: I9fe3792e37e69b5189007bf4f3acf83a9be48bf9
diff --git a/protos/voltha_protos/device.proto b/protos/voltha_protos/device.proto
index 7345074..b76c5a7 100755
--- a/protos/voltha_protos/device.proto
+++ b/protos/voltha_protos/device.proto
@@ -501,3 +501,19 @@
     string serial_number = 3;
 }
 
+message UpdateDevice {
+    string id = 1; //Device id of the device, for now only updating the OLT device is supported, and only ip address of the OLT
+    oneof address {
+
+        // Device contact IPv4 address (format: "a.b.c.d" or can use hostname too)
+        string ipv4_address = 2;
+
+        // Device contact IPv6 address using the canonical string form
+        // ("xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx")
+        string ipv6_address = 3;
+
+        string host_and_port = 4;
+
+    };
+}
+