go.mod updated with latest voltha-protos version before release 2.12
Change-Id: Icba223a8a3a579b46f78480b25c2bb4bc7c483d7
diff --git a/pkg/mocks/mockOpenOltClient.go b/pkg/mocks/mockOpenOltClient.go
index 1dab74c..eb780d0 100644
--- a/pkg/mocks/mockOpenOltClient.go
+++ b/pkg/mocks/mockOpenOltClient.go
@@ -14,7 +14,7 @@
* limitations under the License.
*/
-//Package mocks provides the mocks for openolt-adapter.
+// Package mocks provides the mocks for openolt-adapter.
package mocks
import (
@@ -257,17 +257,27 @@
return &openolt.Empty{}, nil
}
-//GetOnuStatistics mocks the GetOnuStatistics function of Openoltclient.
+// GetOnuStatistics mocks the GetOnuStatistics function of Openoltclient.
func (ooc *MockOpenoltClient) GetOnuStatistics(ctx context.Context, in *openolt.Onu, opts ...grpc.CallOption) (*openolt.OnuStatistics, error) {
return &openolt.OnuStatistics{}, nil
}
-//GetGemPortStatistics mocks the GetGemPortStatistics function of Openoltclient.
+// GetGemPortStatistics mocks the GetGemPortStatistics function of Openoltclient.
func (ooc *MockOpenoltClient) GetGemPortStatistics(ctx context.Context, in *openolt.OnuPacket, opts ...grpc.CallOption) (*openolt.GemPortStatistics, error) {
return &openolt.GemPortStatistics{}, nil
}
-//GetPonRxPower mocks the GetPonRxPower function of Openoltclient.
+// GetPonRxPower mocks the GetPonRxPower function of Openoltclient.
func (ooc *MockOpenoltClient) GetPonRxPower(ctx context.Context, in *openolt.Onu, opts ...grpc.CallOption) (*openolt.PonRxPowerData, error) {
return &openolt.PonRxPowerData{}, nil
}
+
+// GetOnuInfo mocks the GetOnuInfo function of Openoltclient.
+func (ooc *MockOpenoltClient) GetOnuInfo(ctx context.Context, in *openolt.Onu, opts ...grpc.CallOption) (*openolt.OnuInfo, error) {
+ return &openolt.OnuInfo{}, nil
+}
+
+// GetPonInterfaceInfo mocks the GetPonInterfaceInfo function of Openoltclient.
+func (ooc *MockOpenoltClient) GetPonInterfaceInfo(ctx context.Context, in *openolt.Interface, opts ...grpc.CallOption) (*openolt.PonIntfInfo, error) {
+ return &openolt.PonIntfInfo{}, nil
+}