SEBA-173
Change-Id: I3480e254784d4af68316d482990d664c50544cff
diff --git a/api/abstract_olt_api.proto b/api/abstract_olt_api.proto
index 12c8941..72dad9b 100644
--- a/api/abstract_olt_api.proto
+++ b/api/abstract_olt_api.proto
@@ -50,13 +50,7 @@
string DeviceID =1;
string ChassisDeviceID =2;
}
-message ActivateSlotMessage{
- string CLLI =1;
- int32 SlotNumber = 2;
-}
-message ActivateSlotReturn{
- bool Success = 1;
-}
+
message AddOntMessage{
string CLLI=1;
int32 SlotNumber=2;
@@ -68,6 +62,16 @@
bool Success=1;
}
+message DeleteOntMessage{
+ string CLLI=1;
+ int32 SlotNumber=2;
+ int32 PortNumber=3;
+ int32 OntNumber=4;
+ string SerialNumber=5;
+}
+message DeleteOntReturn{
+ bool Success=1;
+}
service AbstractOLT{
rpc CreateChassis(AddChassisMessage) returns (AddChassisReturn) {
option(google.api.http) = {
@@ -75,24 +79,23 @@
body:"*"
};
}
-
rpc CreateOLTChassis(AddOLTChassisMessage) returns (AddOLTChassisReturn) {
option(google.api.http) = {
post: "/v1/CreateOLTChassis"
body:"*"
};
}
- rpc EnableSlot(ActivateSlotMessage) returns (ActivateSlotReturn){
- option(google.api.http) = {
- post: "/v1/EnableSlot"
- body:"*"
- };
- }
rpc ProvisionOnt(AddOntMessage) returns (AddOntReturn) {
option(google.api.http) = {
post:"/v1/ProvsionOnt"
body:"*"
};
}
+ rpc DeleteOnt(DeleteOntMessage) returns (DeleteOntReturn){
+ option(google.api.http)={
+ post:"/v1/DeleteOnt"
+ body:"*"
+ };
+ }
}