[VOL-5536] - VGC recent fixes
Change-Id: Id6f0e647b37baac827230afbb45d132df8a62b68
Signed-off-by: Sridhar Ravindra <sridhar.ravindra@radisys.com>
diff --git a/internal/test/mocks/mock_appif.go b/internal/test/mocks/mock_appif.go
index b61576c..a987f3a 100644
--- a/internal/test/mocks/mock_appif.go
+++ b/internal/test/mocks/mock_appif.go
@@ -172,15 +172,15 @@
}
// PortUpInd mocks base method.
-func (m *MockApp) PortUpInd(arg0 context.Context, arg1, arg2 string) {
+func (m *MockApp) PortUpInd(arg0 context.Context, arg1, arg2 string, arg3 bool) {
m.ctrl.T.Helper()
- m.ctrl.Call(m, "PortUpInd", arg0, arg1, arg2)
+ m.ctrl.Call(m, "PortUpInd", arg0, arg1, arg2, arg3)
}
// PortUpInd indicates an expected call of PortUpInd.
-func (mr *MockAppMockRecorder) PortUpInd(arg0, arg1, arg2 interface{}) *gomock.Call {
+func (mr *MockAppMockRecorder) PortUpInd(arg0, arg1, arg2, arg3 interface{}) *gomock.Call {
mr.mock.ctrl.T.Helper()
- return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortUpInd", reflect.TypeOf((*MockApp)(nil).PortUpInd), arg0, arg1, arg2)
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortUpInd", reflect.TypeOf((*MockApp)(nil).PortUpInd), arg0, arg1, arg2, arg3)
}
// PortUpdateInd mocks base method.
@@ -232,6 +232,20 @@
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CheckAndDeactivateService", reflect.TypeOf((*MockApp)(nil).CheckAndDeactivateService), arg0, arg1, arg2)
}
+// GetAllFlowsForSvc mocks base method.
+func (m *MockApp) GetAllFlowsForSvc(arg0 context.Context, arg1 *of.VoltSubFlow, arg2 string, arg3 string) []uint64 {
+ m.ctrl.T.Helper()
+ ret := m.ctrl.Call(m, "GetAllFlowsForSvc", arg0, arg1, arg2, arg3)
+ ret0, _ := ret[0].([]uint64)
+ return ret0
+}
+
+// GetAllFlowsForSvc indicates an expected call of GetAllFlowsForSvc.
+func (mr *MockAppMockRecorder) GetAllFlowsForSvc(arg0, arg1, arg2 interface{}) *gomock.Call {
+ mr.mock.ctrl.T.Helper()
+ return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllFlowsForSvc", reflect.TypeOf((*MockApp)(nil).GetAllFlowsForSvc), arg0, arg1, arg2)
+}
+
// SetRebootFlag mocks base method.
func (m *MockApp) SetRebootFlag(arg0 bool) {
m.ctrl.T.Helper()