VOL-669: Add OnuPacketOut
Change-Id: Iadc5e7705ced6f4536f54977d11d268177b39d05
diff --git a/openolt.proto b/openolt.proto
index 2d26d66..c9f6d98 100644
--- a/openolt.proto
+++ b/openolt.proto
@@ -32,6 +32,13 @@
};
}
+ rpc OnuPacketOut(OnuPacket) returns (Empty) {
+ option (google.api.http) = {
+ post: "/v1/OnuPacketOut"
+ body: "*"
+ };
+ }
+
rpc FlowAdd(Flow) returns (Empty) {
option (google.api.http) = {
post: "/v1/FlowAdd"
@@ -106,6 +113,12 @@
bytes pkt = 3;
}
+message OnuPacket {
+ fixed32 intf_id = 1;
+ fixed32 onu_id = 2;
+ bytes pkt = 3;
+}
+
message Classifier {
fixed32 o_tpid = 1;
fixed32 o_vid = 2;