SEBA-909 store flows and implement GetFlow API
Change-Id: If2c214f8be5808ef89e0521f75d03da49153dc2a
diff --git a/api/bbsim/bbsim.proto b/api/bbsim/bbsim.proto
index 57e1de7..d862c54 100644
--- a/api/bbsim/bbsim.proto
+++ b/api/bbsim/bbsim.proto
@@ -15,6 +15,7 @@
syntax = "proto3";
package bbsim;
+import "voltha_protos/openolt.proto";
import "voltha_protos/tech_profile.proto";
// Models
@@ -146,6 +147,11 @@
SubActionTypes SubActionVal = 2;
}
+message Flows {
+ uint32 flow_count = 1;
+ repeated openolt.Flow flows = 2;
+}
+
message Empty {}
service BBSim {
@@ -163,6 +169,7 @@
rpc RestartDhcp (ONURequest) returns (Response) {}
rpc SetOnuAlarmIndication (ONUAlarmRequest) returns (Response) {}
rpc SetOltAlarmIndication (OLTAlarmRequest) returns (Response) {}
+ rpc GetFlows(ONURequest) returns(Flows) {}
rpc ChangeIgmpState (IgmpRequest) returns (Response) {}
rpc GetOnuTrafficSchedulers (ONURequest) returns (ONUTrafficSchedulers) {}
}