VOL-5452 define proto definitions for ONU SN disable
Change-Id: I3fba22f94914ffa3f0fe2a8b537353e9f5f231b9
Signed-off-by: Abhilash laxmeshwar <abhilash.laxmeshwar@radisys.com>
diff --git a/protos/voltha_protos/voltha.proto b/protos/voltha_protos/voltha.proto
index be9ff96..9d9abeb 100755
--- a/protos/voltha_protos/voltha.proto
+++ b/protos/voltha_protos/voltha.proto
@@ -608,5 +608,35 @@
delete: "/api/v1/voip_user_profile/{key}/delete"
};
}
+
+ // Disables the ONU, stops it from participating in the ranging process. different from DisableDevice
+ rpc DisableOnuDevice (common.ID) returns(google.protobuf.Empty) {
+ option (google.api.http) = {
+ post: "/api/v1/disable_onu_device"
+ };
+ }
+
+ // Enables the ONU at the PLOAM , enables the ONU to participate in the ranging process. different from EnableDevice
+ rpc EnableOnuDevice (common.ID) returns(google.protobuf.Empty) {
+ option (google.api.http) = {
+ post: "/api/v1/enable_onu_device"
+ };
+ }
+
+
+ // Disables the ONU at the PLOAM , different from DisableDevice. This would be used if the Device is not present in the VOLTHA
+ rpc DisableOnuSerialNumber(device.OnuSerialNumberOnOLTPon) returns(google.protobuf.Empty) {
+ option (google.api.http) = {
+ post: "/api/v1/disable_onu_serial_number"
+ };
+ }
+
+ // Disables the ONU at the PLOAM , different from EnableDevice. This would be used if the Device is not present in the VOLTHA
+ rpc EnableOnuSerialNumber(device.OnuSerialNumberOnOLTPon) returns(google.protobuf.Empty) {
+ option (google.api.http) = {
+ post: "/api/v1/enable_onu_serial_number"
+ };
+ }
+
}