[VOL-2055] Include Tech Profile ID in openolt and tech_profile protos
- Update TrafficQueue and TrafficSchedulers message in tech_profile.proto
- Update Flow message in openolt.proto
Change-Id: I01f82994cc9340a6da41c6456578cda993c51ea6
diff --git a/protos/voltha_protos/openolt.proto b/protos/voltha_protos/openolt.proto
index e40430d..69092ee 100644
--- a/protos/voltha_protos/openolt.proto
+++ b/protos/voltha_protos/openolt.proto
@@ -416,6 +416,7 @@
fixed64 cookie = 12; // must be provided for any flow with trap_to_host action. Returned in PacketIndication
fixed32 port_no = 13; // must be provided for any flow with trap_to_host action. Returned in PacketIndication
fixed32 group_id = 14;
+ fixed32 tech_profile_id = 15;
}
message OnuItuPonAlarm {
diff --git a/protos/voltha_protos/tech_profile.proto b/protos/voltha_protos/tech_profile.proto
index 16522cc..7253fa4 100644
--- a/protos/voltha_protos/tech_profile.proto
+++ b/protos/voltha_protos/tech_profile.proto
@@ -74,6 +74,7 @@
fixed32 alloc_id = 2; // valid only if “direction == Upstream ”
SchedulerConfig scheduler = 3;
TrafficShapingInfo traffic_shaping_info = 4;
+ fixed32 tech_profile_id = 5;
}
message TrafficSchedulers {
@@ -127,4 +128,5 @@
fixed32 uni_id = 4;
fixed32 port_no = 5;
repeated TrafficQueue traffic_queues = 6;
+ fixed32 tech_profile_id = 7;
}