VOL-767 Enable/disable PON port in openolt protos
Change-Id: I5e30c463804e653dd4277393dae5d142aaa7f5d4
diff --git a/voltha/adapters/openolt/protos/openolt.proto b/voltha/adapters/openolt/protos/openolt.proto
index 56d87f4..0cb6192 100644
--- a/voltha/adapters/openolt/protos/openolt.proto
+++ b/voltha/adapters/openolt/protos/openolt.proto
@@ -60,6 +60,19 @@
};
}
+ rpc EnablePonIf(Interface) returns (Empty) {
+ option (google.api.http) = {
+ post: "/v1/EnablePonIf"
+ body: "*"
+ };
+ }
+
+ rpc DisablePonIf(Interface) returns (Empty) {
+ option (google.api.http) = {
+ post: "/v1/DisablePonIf"
+ body: "*"
+ };
+ }
rpc EnableIndication(Empty) returns (stream Indication) {}
}
@@ -136,6 +149,10 @@
bytes pkt = 4;
}
+message Interface {
+ fixed32 intf_id = 1;
+}
+
message Heartbeat {
fixed32 heartbeat_signature = 1;
}