VOL-2463 : Enable and disable pon/NNI port
Change-Id: Ia438be397dfa08e9adbd97c02f7b1874f3f93c3e
diff --git a/protos/voltha_protos/voltha.proto b/protos/voltha_protos/voltha.proto
index e38efbb..e68b73c 100644
--- a/protos/voltha_protos/voltha.proto
+++ b/protos/voltha_protos/voltha.proto
@@ -586,5 +586,18 @@
rpc Subscribe (OfAgentSubscriber) returns (OfAgentSubscriber) {
}
+ rpc EnablePort(voltha.Port) returns(google.protobuf.Empty) {
+ option (google.api.http) = {
+ post: "/v1/EnablePort"
+ body: "*"
+ };
+ }
+ rpc DisablePort(voltha.Port) returns(google.protobuf.Empty) {
+ option (google.api.http) = {
+ post: "/v1/DisablePort"
+ body: "*"
+ };
+ }
+
}