Create uni command in BBSimctl
Clean up UNI command and add filtering to UNI services
Change-Id: I1a54d786ca71a602c0ca0113f030c6caa1bc9cc7
diff --git a/api/bbsim/bbsim.proto b/api/bbsim/bbsim.proto
index 086057f..64bd659 100644
--- a/api/bbsim/bbsim.proto
+++ b/api/bbsim/bbsim.proto
@@ -145,6 +145,11 @@
uint32 PonPortId = 1;
}
+message UNIRequest {
+ string OnuSerialNumber = 1;
+ string UniID = 2;
+}
+
// Alarms
message AlarmType {
@@ -282,8 +287,8 @@
rpc GetONUs (Empty) returns (ONUs) {
}
- // Get all the Services
- rpc GetServices (Empty) returns (Services) {
+ // Get all the Services by Uni ID
+ rpc GetServices (UNIRequest) returns (Services) {
}
// Get all the UNIs of an ONU by serial number
@@ -331,4 +336,7 @@
// Get Traffic scheduler information for ONU
rpc GetOnuTrafficSchedulers (ONURequest) returns (ONUTrafficSchedulers) {
}
+ //Return all the UNIs for all the ONUs
+ rpc GetUnis (Empty) returns (UNIs) {
+ }
}