blob: 75a22ffb282b9a521878a1da8ddac8cdbe139306 [file] [log] [blame]
vinokumaf7605fc2023-06-02 18:08:01 +05301/*
2* Copyright 2022-present Open Networking Foundation
3* Licensed under the Apache License, Version 2.0 (the "License");
4* you may not use this file except in compliance with the License.
5* You may obtain a copy of the License at
6*
7* http://www.apache.org/licenses/LICENSE-2.0
8*
9* Unless required by applicable law or agreed to in writing, software
10* distributed under the License is distributed on an "AS IS" BASIS,
11* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12* See the License for the specific language governing permissions and
13* limitations under the License.
14 */
15
16// Code generated by MockGen. DO NOT EDIT.
17// Source: /home/vinod/go/src/gerrit.opencord.org/voltha-go-controller/database/dbintf.go
18
19// Package mock_database is a generated GoMock package.
20package mocks
21
22import (
23 context "context"
24 net "net"
25 reflect "reflect"
26 of "voltha-go-controller/internal/pkg/of"
27
28 gomock "github.com/golang/mock/gomock"
29 kvstore "github.com/opencord/voltha-lib-go/v7/pkg/db/kvstore"
30)
31
32// MockDBIntf is a mock of DBIntf interface.
33type MockDBIntf struct {
34 ctrl *gomock.Controller
35 recorder *MockDBIntfMockRecorder
36}
37
38// MockDBIntfMockRecorder is the mock recorder for MockDBIntf.
39type MockDBIntfMockRecorder struct {
40 mock *MockDBIntf
41}
42
43// NewMockDBIntf creates a new mock instance.
44func NewMockDBIntf(ctrl *gomock.Controller) *MockDBIntf {
45 mock := &MockDBIntf{ctrl: ctrl}
46 mock.recorder = &MockDBIntfMockRecorder{mock}
47 return mock
48}
49
50// EXPECT returns an object that allows the caller to indicate expected use.
51func (m *MockDBIntf) EXPECT() *MockDBIntfMockRecorder {
52 return m.recorder
53}
54
55// Del mocks base method.
56func (m *MockDBIntf) Del(ctx context.Context, path string) error {
57 m.ctrl.T.Helper()
58 ret := m.ctrl.Call(m, "Del", ctx, path)
59 ret0, _ := ret[0].(error)
60 return ret0
61}
62
63// Del indicates an expected call of Del.
64func (mr *MockDBIntfMockRecorder) Del(ctx, path interface{}) *gomock.Call {
65 mr.mock.ctrl.T.Helper()
66 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Del", reflect.TypeOf((*MockDBIntf)(nil).Del), ctx, path)
67}
68
69// DelAllGroup mocks base method.
70func (m *MockDBIntf) DelAllGroup(ctx context.Context, deviceID string) error {
71 m.ctrl.T.Helper()
72 ret := m.ctrl.Call(m, "DelAllGroup", ctx, deviceID)
73 ret0, _ := ret[0].(error)
74 return ret0
75}
76
77// DelAllGroup indicates an expected call of DelAllGroup.
78func (mr *MockDBIntfMockRecorder) DelAllGroup(ctx, deviceID interface{}) *gomock.Call {
79 mr.mock.ctrl.T.Helper()
80 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelAllGroup", reflect.TypeOf((*MockDBIntf)(nil).DelAllGroup), ctx, deviceID)
81}
82
83// DelAllIgmpRcvr mocks base method.
84func (m *MockDBIntf) DelAllIgmpRcvr(ctx context.Context, mvlan of.VlanType, gip net.IP, device string) error {
85 m.ctrl.T.Helper()
86 ret := m.ctrl.Call(m, "DelAllIgmpRcvr", ctx, mvlan, gip, device)
87 ret0, _ := ret[0].(error)
88 return ret0
89}
90
91// DelAllIgmpRcvr indicates an expected call of DelAllIgmpRcvr.
92func (mr *MockDBIntfMockRecorder) DelAllIgmpRcvr(ctx, mvlan, gip, device interface{}) *gomock.Call {
93 mr.mock.ctrl.T.Helper()
94 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelAllIgmpRcvr", reflect.TypeOf((*MockDBIntf)(nil).DelAllIgmpRcvr), ctx, mvlan, gip, device)
95}
96
97// DelAllMeter mocks base method.
98func (m *MockDBIntf) DelAllMeter(ctx context.Context, device string) error {
99 m.ctrl.T.Helper()
100 ret := m.ctrl.Call(m, "DelAllMeter", ctx, device)
101 ret0, _ := ret[0].(error)
102 return ret0
103}
104
105// DelAllMeter indicates an expected call of DelAllMeter.
106func (mr *MockDBIntfMockRecorder) DelAllMeter(ctx, device interface{}) *gomock.Call {
107 mr.mock.ctrl.T.Helper()
108 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelAllMeter", reflect.TypeOf((*MockDBIntf)(nil).DelAllMeter), ctx, device)
109}
110
111// DelAllMigrateServicesReq mocks base method.
112func (m *MockDBIntf) DelAllMigrateServicesReq(ctx context.Context, deviceID string) error {
113 m.ctrl.T.Helper()
114 ret := m.ctrl.Call(m, "DelAllMigrateServicesReq", ctx, deviceID)
115 ret0, _ := ret[0].(error)
116 return ret0
117}
118
119// DelAllMigrateServicesReq indicates an expected call of DelAllMigrateServicesReq.
120func (mr *MockDBIntfMockRecorder) DelAllMigrateServicesReq(ctx, deviceID interface{}) *gomock.Call {
121 mr.mock.ctrl.T.Helper()
122 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelAllMigrateServicesReq", reflect.TypeOf((*MockDBIntf)(nil).DelAllMigrateServicesReq), ctx, deviceID)
123}
124
125// DelAllPONCounters mocks base method.
126func (m *MockDBIntf) DelAllPONCounters(ctx context.Context, device string) error {
127 m.ctrl.T.Helper()
128 ret := m.ctrl.Call(m, "DelAllPONCounters", ctx, device)
129 ret0, _ := ret[0].(error)
130 return ret0
131}
132
133// DelAllPONCounters indicates an expected call of DelAllPONCounters.
134func (mr *MockDBIntfMockRecorder) DelAllPONCounters(ctx, device interface{}) *gomock.Call {
135 mr.mock.ctrl.T.Helper()
136 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelAllPONCounters", reflect.TypeOf((*MockDBIntf)(nil).DelAllPONCounters), ctx, device)
137}
138
139// DelAllPorts mocks base method.
140func (m *MockDBIntf) DelAllPorts(ctx context.Context, deviceID string) error {
141 m.ctrl.T.Helper()
142 ret := m.ctrl.Call(m, "DelAllPorts", ctx, deviceID)
143 ret0, _ := ret[0].(error)
144 return ret0
145}
146
147// DelAllPorts indicates an expected call of DelAllPorts.
148func (mr *MockDBIntfMockRecorder) DelAllPorts(ctx, deviceID interface{}) *gomock.Call {
149 mr.mock.ctrl.T.Helper()
150 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelAllPorts", reflect.TypeOf((*MockDBIntf)(nil).DelAllPorts), ctx, deviceID)
151}
152
153// DelAllRoutesForDevice mocks base method.
154func (m *MockDBIntf) DelAllRoutesForDevice(ctx context.Context, device string) error {
155 m.ctrl.T.Helper()
156 ret := m.ctrl.Call(m, "DelAllRoutesForDevice", ctx, device)
157 ret0, _ := ret[0].(error)
158 return ret0
159}
160
161// DelAllRoutesForDevice indicates an expected call of DelAllRoutesForDevice.
162func (mr *MockDBIntfMockRecorder) DelAllRoutesForDevice(ctx, device interface{}) *gomock.Call {
163 mr.mock.ctrl.T.Helper()
164 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelAllRoutesForDevice", reflect.TypeOf((*MockDBIntf)(nil).DelAllRoutesForDevice), ctx, device)
165}
166
167// DelAllServiceChannelCounter mocks base method.
168func (m *MockDBIntf) DelAllServiceChannelCounter(ctx context.Context, serviceName string) error {
169 m.ctrl.T.Helper()
170 ret := m.ctrl.Call(m, "DelAllServiceChannelCounter", ctx, serviceName)
171 ret0, _ := ret[0].(error)
172 return ret0
173}
174
175// DelAllServiceChannelCounter indicates an expected call of DelAllServiceChannelCounter.
176func (mr *MockDBIntfMockRecorder) DelAllServiceChannelCounter(ctx, serviceName interface{}) *gomock.Call {
177 mr.mock.ctrl.T.Helper()
178 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelAllServiceChannelCounter", reflect.TypeOf((*MockDBIntf)(nil).DelAllServiceChannelCounter), ctx, serviceName)
179}
180
181// DelDeviceMeter mocks base method.
182func (m *MockDBIntf) DelDeviceMeter(ctx context.Context, deviceID string, meterID uint32) error {
183 m.ctrl.T.Helper()
184 ret := m.ctrl.Call(m, "DelDeviceMeter", ctx, deviceID, meterID)
185 ret0, _ := ret[0].(error)
186 return ret0
187}
188
189// DelDeviceMeter indicates an expected call of DelDeviceMeter.
190func (mr *MockDBIntfMockRecorder) DelDeviceMeter(ctx, deviceID, meterID interface{}) *gomock.Call {
191 mr.mock.ctrl.T.Helper()
192 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelDeviceMeter", reflect.TypeOf((*MockDBIntf)(nil).DelDeviceMeter), ctx, deviceID, meterID)
193}
194
195// DelFlow mocks base method.
196func (m *MockDBIntf) DelFlow(ctx context.Context, deviceID string, flowID uint64) error {
197 m.ctrl.T.Helper()
198 ret := m.ctrl.Call(m, "DelFlow", ctx, deviceID, flowID)
199 ret0, _ := ret[0].(error)
200 return ret0
201}
202
203// DelFlow indicates an expected call of DelFlow.
204func (mr *MockDBIntfMockRecorder) DelFlow(ctx, deviceID, flowID interface{}) *gomock.Call {
205 mr.mock.ctrl.T.Helper()
206 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelFlow", reflect.TypeOf((*MockDBIntf)(nil).DelFlow), ctx, deviceID, flowID)
207}
208
209// DelGroup mocks base method.
210func (m *MockDBIntf) DelGroup(ctx context.Context, deviceID string, groupID uint32) error {
211 m.ctrl.T.Helper()
212 ret := m.ctrl.Call(m, "DelGroup", ctx, deviceID, groupID)
213 ret0, _ := ret[0].(error)
214 return ret0
215}
216
217// DelGroup indicates an expected call of DelGroup.
218func (mr *MockDBIntfMockRecorder) DelGroup(ctx, deviceID, groupID interface{}) *gomock.Call {
219 mr.mock.ctrl.T.Helper()
220 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelGroup", reflect.TypeOf((*MockDBIntf)(nil).DelGroup), ctx, deviceID, groupID)
221}
222
223// DelHealth mocks base method.
224func (m *MockDBIntf) DelHealth(ctx context.Context) error {
225 m.ctrl.T.Helper()
226 ret := m.ctrl.Call(m, "DelHealth", ctx)
227 ret0, _ := ret[0].(error)
228 return ret0
229}
230
231// DelHealth indicates an expected call of DelHealth.
232func (mr *MockDBIntfMockRecorder) DelHealth(ctx interface{}) *gomock.Call {
233 mr.mock.ctrl.T.Helper()
234 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelHealth", reflect.TypeOf((*MockDBIntf)(nil).DelHealth), ctx)
235}
236
237// DelIGMPCfg mocks base method.
238func (m *MockDBIntf) DelIGMPCfg(ctx context.Context) error {
239 m.ctrl.T.Helper()
240 ret := m.ctrl.Call(m, "DelIGMPCfg", ctx)
241 ret0, _ := ret[0].(error)
242 return ret0
243}
244
245// DelIGMPCfg indicates an expected call of DelIGMPCfg.
246func (mr *MockDBIntfMockRecorder) DelIGMPCfg(ctx interface{}) *gomock.Call {
247 mr.mock.ctrl.T.Helper()
248 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelIGMPCfg", reflect.TypeOf((*MockDBIntf)(nil).DelIGMPCfg), ctx)
249}
250
251// DelIgmpChannel mocks base method.
252func (m *MockDBIntf) DelIgmpChannel(ctx context.Context, mvlan of.VlanType, gName, device string, gip net.IP) error {
253 m.ctrl.T.Helper()
254 ret := m.ctrl.Call(m, "DelIgmpChannel", ctx, mvlan, gName, device, gip)
255 ret0, _ := ret[0].(error)
256 return ret0
257}
258
259// DelIgmpChannel indicates an expected call of DelIgmpChannel.
260func (mr *MockDBIntfMockRecorder) DelIgmpChannel(ctx, mvlan, gName, device, gip interface{}) *gomock.Call {
261 mr.mock.ctrl.T.Helper()
262 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelIgmpChannel", reflect.TypeOf((*MockDBIntf)(nil).DelIgmpChannel), ctx, mvlan, gName, device, gip)
263}
264
265// DelIgmpDevice mocks base method.
266func (m *MockDBIntf) DelIgmpDevice(ctx context.Context, mvlan of.VlanType, gid string, gip net.IP, device string) error {
267 m.ctrl.T.Helper()
268 ret := m.ctrl.Call(m, "DelIgmpDevice", ctx, mvlan, gid, gip, device)
269 ret0, _ := ret[0].(error)
270 return ret0
271}
272
273// DelIgmpDevice indicates an expected call of DelIgmpDevice.
274func (mr *MockDBIntfMockRecorder) DelIgmpDevice(ctx, mvlan, gid, gip, device interface{}) *gomock.Call {
275 mr.mock.ctrl.T.Helper()
276 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelIgmpDevice", reflect.TypeOf((*MockDBIntf)(nil).DelIgmpDevice), ctx, mvlan, gid, gip, device)
277}
278
279// DelIgmpGroup mocks base method.
280func (m *MockDBIntf) DelIgmpGroup(ctx context.Context, id string) error {
281 m.ctrl.T.Helper()
282 ret := m.ctrl.Call(m, "DelIgmpGroup", ctx, id)
283 ret0, _ := ret[0].(error)
284 return ret0
285}
286
287// DelIgmpGroup indicates an expected call of DelIgmpGroup.
288func (mr *MockDBIntfMockRecorder) DelIgmpGroup(ctx, id interface{}) *gomock.Call {
289 mr.mock.ctrl.T.Helper()
290 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelIgmpGroup", reflect.TypeOf((*MockDBIntf)(nil).DelIgmpGroup), ctx, id)
291}
292
293// DelIgmpProfile mocks base method.
294func (m *MockDBIntf) DelIgmpProfile(ctx context.Context, name string) error {
295 m.ctrl.T.Helper()
296 ret := m.ctrl.Call(m, "DelIgmpProfile", ctx, name)
297 ret0, _ := ret[0].(error)
298 return ret0
299}
300
301// DelIgmpProfile indicates an expected call of DelIgmpProfile.
302func (mr *MockDBIntfMockRecorder) DelIgmpProfile(ctx, name interface{}) *gomock.Call {
303 mr.mock.ctrl.T.Helper()
304 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelIgmpProfile", reflect.TypeOf((*MockDBIntf)(nil).DelIgmpProfile), ctx, name)
305}
306
307// DelIgmpRcvr mocks base method.
308func (m *MockDBIntf) DelIgmpRcvr(ctx context.Context, mvlan of.VlanType, gip net.IP, device, rcvr string) error {
309 m.ctrl.T.Helper()
310 ret := m.ctrl.Call(m, "DelIgmpRcvr", ctx, mvlan, gip, device, rcvr)
311 ret0, _ := ret[0].(error)
312 return ret0
313}
314
315// DelIgmpRcvr indicates an expected call of DelIgmpRcvr.
316func (mr *MockDBIntfMockRecorder) DelIgmpRcvr(ctx, mvlan, gip, device, rcvr interface{}) *gomock.Call {
317 mr.mock.ctrl.T.Helper()
318 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelIgmpRcvr", reflect.TypeOf((*MockDBIntf)(nil).DelIgmpRcvr), ctx, mvlan, gip, device, rcvr)
319}
320
321// DelMcastConfig mocks base method.
322func (m *MockDBIntf) DelMcastConfig(ctx context.Context, name string) error {
323 m.ctrl.T.Helper()
324 ret := m.ctrl.Call(m, "DelMcastConfig", ctx, name)
325 ret0, _ := ret[0].(error)
326 return ret0
327}
328
329// DelMcastConfig indicates an expected call of DelMcastConfig.
330func (mr *MockDBIntfMockRecorder) DelMcastConfig(ctx, name interface{}) *gomock.Call {
331 mr.mock.ctrl.T.Helper()
332 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelMcastConfig", reflect.TypeOf((*MockDBIntf)(nil).DelMcastConfig), ctx, name)
333}
334
335// DelMeter mocks base method.
336func (m *MockDBIntf) DelMeter(ctx context.Context, name string) error {
337 m.ctrl.T.Helper()
338 ret := m.ctrl.Call(m, "DelMeter", ctx, name)
339 ret0, _ := ret[0].(error)
340 return ret0
341}
342
343// DelMeter indicates an expected call of DelMeter.
344func (mr *MockDBIntfMockRecorder) DelMeter(ctx, name interface{}) *gomock.Call {
345 mr.mock.ctrl.T.Helper()
346 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelMeter", reflect.TypeOf((*MockDBIntf)(nil).DelMeter), ctx, name)
347}
348
349// DelMigrateServicesReq mocks base method.
350func (m *MockDBIntf) DelMigrateServicesReq(ctx context.Context, deviceID, vlan string) error {
351 m.ctrl.T.Helper()
352 ret := m.ctrl.Call(m, "DelMigrateServicesReq", ctx, deviceID, vlan)
353 ret0, _ := ret[0].(error)
354 return ret0
355}
356
357// DelMigrateServicesReq indicates an expected call of DelMigrateServicesReq.
358func (mr *MockDBIntfMockRecorder) DelMigrateServicesReq(ctx, deviceID, vlan interface{}) *gomock.Call {
359 mr.mock.ctrl.T.Helper()
360 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelMigrateServicesReq", reflect.TypeOf((*MockDBIntf)(nil).DelMigrateServicesReq), ctx, deviceID, vlan)
361}
362
363// DelMigrationInfo mocks base method.
364func (m *MockDBIntf) DelMigrationInfo(ctx context.Context) error {
365 m.ctrl.T.Helper()
366 ret := m.ctrl.Call(m, "DelMigrationInfo", ctx)
367 ret0, _ := ret[0].(error)
368 return ret0
369}
370
371// DelMigrationInfo indicates an expected call of DelMigrationInfo.
372func (mr *MockDBIntfMockRecorder) DelMigrationInfo(ctx interface{}) *gomock.Call {
373 mr.mock.ctrl.T.Helper()
374 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelMigrationInfo", reflect.TypeOf((*MockDBIntf)(nil).DelMigrationInfo), ctx)
375}
376
377// DelMvlan mocks base method.
378func (m *MockDBIntf) DelMvlan(ctx context.Context, mvlan uint16) error {
379 m.ctrl.T.Helper()
380 ret := m.ctrl.Call(m, "DelMvlan", ctx, mvlan)
381 ret0, _ := ret[0].(error)
382 return ret0
383}
384
385// DelMvlan indicates an expected call of DelMvlan.
386func (mr *MockDBIntfMockRecorder) DelMvlan(ctx, mvlan interface{}) *gomock.Call {
387 mr.mock.ctrl.T.Helper()
388 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelMvlan", reflect.TypeOf((*MockDBIntf)(nil).DelMvlan), ctx, mvlan)
389}
390
391// DelNbDevicePort mocks base method.
392func (m *MockDBIntf) DelNbDevicePort(ctx context.Context, device string, ponPortID uint32) {
393 m.ctrl.T.Helper()
394 m.ctrl.Call(m, "DelNbDevicePort", ctx, device, ponPortID)
395}
396
397// DelNbDevicePort indicates an expected call of DelNbDevicePort.
398func (mr *MockDBIntfMockRecorder) DelNbDevicePort(ctx, device, ponPortID interface{}) *gomock.Call {
399 mr.mock.ctrl.T.Helper()
400 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelNbDevicePort", reflect.TypeOf((*MockDBIntf)(nil).DelNbDevicePort), ctx, device, ponPortID)
401}
402
403// DelOlt mocks base method.
404func (m *MockDBIntf) DelOlt(ctx context.Context, deviceID string) error {
405 m.ctrl.T.Helper()
406 ret := m.ctrl.Call(m, "DelOlt", ctx, deviceID)
407 ret0, _ := ret[0].(error)
408 return ret0
409}
410
411// DelOlt indicates an expected call of DelOlt.
412func (mr *MockDBIntfMockRecorder) DelOlt(ctx, deviceID interface{}) *gomock.Call {
413 mr.mock.ctrl.T.Helper()
414 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelOlt", reflect.TypeOf((*MockDBIntf)(nil).DelOlt), ctx, deviceID)
415}
416
417// DelPONCounters mocks base method.
418func (m *MockDBIntf) DelPONCounters(ctx context.Context, device, ponID string) {
419 m.ctrl.T.Helper()
420 m.ctrl.Call(m, "DelPONCounters", ctx, device, ponID)
421}
422
423// DelPONCounters indicates an expected call of DelPONCounters.
424func (mr *MockDBIntfMockRecorder) DelPONCounters(ctx, device, ponID interface{}) *gomock.Call {
425 mr.mock.ctrl.T.Helper()
426 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelPONCounters", reflect.TypeOf((*MockDBIntf)(nil).DelPONCounters), ctx, device, ponID)
427}
428
429// DelPonChannelCounter mocks base method.
430func (m *MockDBIntf) DelPonChannelCounter(ctx context.Context, device, ponID, channel string) error {
431 m.ctrl.T.Helper()
432 ret := m.ctrl.Call(m, "DelPonChannelCounter", ctx, device, ponID, channel)
433 ret0, _ := ret[0].(error)
434 return ret0
435}
436
437// DelPonChannelCounter indicates an expected call of DelPonChannelCounter.
438func (mr *MockDBIntfMockRecorder) DelPonChannelCounter(ctx, device, ponID, channel interface{}) *gomock.Call {
439 mr.mock.ctrl.T.Helper()
440 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelPonChannelCounter", reflect.TypeOf((*MockDBIntf)(nil).DelPonChannelCounter), ctx, device, ponID, channel)
441}
442
443// DelPonCounter mocks base method.
444func (m *MockDBIntf) DelPonCounter(ctx context.Context, device, ponID string) error {
445 m.ctrl.T.Helper()
446 ret := m.ctrl.Call(m, "DelPonCounter", ctx, device, ponID)
447 ret0, _ := ret[0].(error)
448 return ret0
449}
450
451// DelPonCounter indicates an expected call of DelPonCounter.
452func (mr *MockDBIntfMockRecorder) DelPonCounter(ctx, device, ponID interface{}) *gomock.Call {
453 mr.mock.ctrl.T.Helper()
454 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelPonCounter", reflect.TypeOf((*MockDBIntf)(nil).DelPonCounter), ctx, device, ponID)
455}
456
457// DelPort mocks base method.
458func (m *MockDBIntf) DelPort(ctx context.Context, deviceID string, portID uint32) error {
459 m.ctrl.T.Helper()
460 ret := m.ctrl.Call(m, "DelPort", ctx, deviceID, portID)
461 ret0, _ := ret[0].(error)
462 return ret0
463}
464
465// DelPort indicates an expected call of DelPort.
466func (mr *MockDBIntfMockRecorder) DelPort(ctx, deviceID, portID interface{}) *gomock.Call {
467 mr.mock.ctrl.T.Helper()
468 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelPort", reflect.TypeOf((*MockDBIntf)(nil).DelPort), ctx, deviceID, portID)
469}
470
471// DelPortAlarmData mocks base method.
472func (m *MockDBIntf) DelPortAlarmData(ctx context.Context, deviceID string, portID uint32) {
473 m.ctrl.T.Helper()
474 m.ctrl.Call(m, "DelPortAlarmData", ctx, deviceID, portID)
475}
476
477// DelPortAlarmData indicates an expected call of DelPortAlarmData.
478func (mr *MockDBIntfMockRecorder) DelPortAlarmData(ctx, deviceID, portID interface{}) *gomock.Call {
479 mr.mock.ctrl.T.Helper()
480 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelPortAlarmData", reflect.TypeOf((*MockDBIntf)(nil).DelPortAlarmData), ctx, deviceID, portID)
481}
482
483// DelPortAlarmProfile mocks base method.
484func (m *MockDBIntf) DelPortAlarmProfile(ctx context.Context, portAlarmProfileID string) {
485 m.ctrl.T.Helper()
486 m.ctrl.Call(m, "DelPortAlarmProfile", ctx, portAlarmProfileID)
487}
488
489// DelPortAlarmProfile indicates an expected call of DelPortAlarmProfile.
490func (mr *MockDBIntfMockRecorder) DelPortAlarmProfile(ctx, portAlarmProfileID interface{}) *gomock.Call {
491 mr.mock.ctrl.T.Helper()
492 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelPortAlarmProfile", reflect.TypeOf((*MockDBIntf)(nil).DelPortAlarmProfile), ctx, portAlarmProfileID)
493}
494
495// DelService mocks base method.
496func (m *MockDBIntf) DelService(ctx context.Context, name string) error {
497 m.ctrl.T.Helper()
498 ret := m.ctrl.Call(m, "DelService", ctx, name)
499 ret0, _ := ret[0].(error)
500 return ret0
501}
502
503// DelService indicates an expected call of DelService.
504func (mr *MockDBIntfMockRecorder) DelService(ctx, name interface{}) *gomock.Call {
505 mr.mock.ctrl.T.Helper()
506 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelService", reflect.TypeOf((*MockDBIntf)(nil).DelService), ctx, name)
507}
508
509// DelServiceChannelCounter mocks base method.
510func (m *MockDBIntf) DelServiceChannelCounter(ctx context.Context, serviceName, channel string) error {
511 m.ctrl.T.Helper()
512 ret := m.ctrl.Call(m, "DelServiceChannelCounter", ctx, serviceName, channel)
513 ret0, _ := ret[0].(error)
514 return ret0
515}
516
517// DelServiceChannelCounter indicates an expected call of DelServiceChannelCounter.
518func (mr *MockDBIntfMockRecorder) DelServiceChannelCounter(ctx, serviceName, channel interface{}) *gomock.Call {
519 mr.mock.ctrl.T.Helper()
520 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelServiceChannelCounter", reflect.TypeOf((*MockDBIntf)(nil).DelServiceChannelCounter), ctx, serviceName, channel)
521}
522
523// DelSubAlarmData mocks base method.
524func (m *MockDBIntf) DelSubAlarmData(ctx context.Context, deviceID, portName string) {
525 m.ctrl.T.Helper()
526 m.ctrl.Call(m, "DelSubAlarmData", ctx, deviceID, portName)
527}
528
529// DelSubAlarmData indicates an expected call of DelSubAlarmData.
530func (mr *MockDBIntfMockRecorder) DelSubAlarmData(ctx, deviceID, portName interface{}) *gomock.Call {
531 mr.mock.ctrl.T.Helper()
532 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelSubAlarmData", reflect.TypeOf((*MockDBIntf)(nil).DelSubAlarmData), ctx, deviceID, portName)
533}
534
535// DelVnet mocks base method.
536func (m *MockDBIntf) DelVnet(ctx context.Context, name string) error {
537 m.ctrl.T.Helper()
538 ret := m.ctrl.Call(m, "DelVnet", ctx, name)
539 ret0, _ := ret[0].(error)
540 return ret0
541}
542
543// DelVnet indicates an expected call of DelVnet.
544func (mr *MockDBIntfMockRecorder) DelVnet(ctx, name interface{}) *gomock.Call {
545 mr.mock.ctrl.T.Helper()
546 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelVnet", reflect.TypeOf((*MockDBIntf)(nil).DelVnet), ctx, name)
547}
548
549// DelVpv mocks base method.
550func (m *MockDBIntf) DelVpv(ctx context.Context, port string, SVlan, CVlan, UniVlan uint16) error {
551 m.ctrl.T.Helper()
552 ret := m.ctrl.Call(m, "DelVpv", ctx, port, SVlan, CVlan, UniVlan)
553 ret0, _ := ret[0].(error)
554 return ret0
555}
556
557// DelVpv indicates an expected call of DelVpv.
558func (mr *MockDBIntfMockRecorder) DelVpv(ctx, port, SVlan, CVlan, UniVlan interface{}) *gomock.Call {
559 mr.mock.ctrl.T.Helper()
560 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DelVpv", reflect.TypeOf((*MockDBIntf)(nil).DelVpv), ctx, port, SVlan, CVlan, UniVlan)
561}
562
563// DeleteAll mocks base method.
564func (m *MockDBIntf) DeleteAll(ctx context.Context, path string) error {
565 m.ctrl.T.Helper()
566 ret := m.ctrl.Call(m, "DeleteAll", ctx, path)
567 ret0, _ := ret[0].(error)
568 return ret0
569}
570
571// DeleteAll indicates an expected call of DeleteAll.
572func (mr *MockDBIntfMockRecorder) DeleteAll(ctx, path interface{}) *gomock.Call {
573 mr.mock.ctrl.T.Helper()
574 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAll", reflect.TypeOf((*MockDBIntf)(nil).DeleteAll), ctx, path)
575}
576
577// DeleteAllUnderHashKey mocks base method.
578func (m *MockDBIntf) DeleteAllUnderHashKey(ctx context.Context, hashKeyPrefix string) error {
579 m.ctrl.T.Helper()
580 ret := m.ctrl.Call(m, "DeleteAllUnderHashKey", ctx, hashKeyPrefix)
581 ret0, _ := ret[0].(error)
582 return ret0
583}
584
585// DeleteAllUnderHashKey indicates an expected call of DeleteAllUnderHashKey.
586func (mr *MockDBIntfMockRecorder) DeleteAllUnderHashKey(ctx, hashKeyPrefix interface{}) *gomock.Call {
587 mr.mock.ctrl.T.Helper()
588 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAllUnderHashKey", reflect.TypeOf((*MockDBIntf)(nil).DeleteAllUnderHashKey), ctx, hashKeyPrefix)
589}
590
591// Get mocks base method.
592func (m *MockDBIntf) Get(ctx context.Context, key string) (string, error) {
593 m.ctrl.T.Helper()
594 ret := m.ctrl.Call(m, "Get", ctx, key)
595 ret0, _ := ret[0].(string)
596 ret1, _ := ret[1].(error)
597 return ret0, ret1
598}
599
600// Get indicates an expected call of Get.
601func (mr *MockDBIntfMockRecorder) Get(ctx, key interface{}) *gomock.Call {
602 mr.mock.ctrl.T.Helper()
603 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Get", reflect.TypeOf((*MockDBIntf)(nil).Get), ctx, key)
604}
605
606// GetAllIgmpChannels mocks base method.
607func (m *MockDBIntf) GetAllIgmpChannels(ctx context.Context) (map[string]*kvstore.KVPair, error) {
608 m.ctrl.T.Helper()
609 ret := m.ctrl.Call(m, "GetAllIgmpChannels", ctx)
610 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
611 ret1, _ := ret[1].(error)
612 return ret0, ret1
613}
614
615// GetAllIgmpChannels indicates an expected call of GetAllIgmpChannels.
616func (mr *MockDBIntfMockRecorder) GetAllIgmpChannels(ctx interface{}) *gomock.Call {
617 mr.mock.ctrl.T.Helper()
618 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllIgmpChannels", reflect.TypeOf((*MockDBIntf)(nil).GetAllIgmpChannels), ctx)
619}
620
621// GetAllIgmpDevices mocks base method.
622func (m *MockDBIntf) GetAllIgmpDevices(ctx context.Context) (map[string]*kvstore.KVPair, error) {
623 m.ctrl.T.Helper()
624 ret := m.ctrl.Call(m, "GetAllIgmpDevices", ctx)
625 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
626 ret1, _ := ret[1].(error)
627 return ret0, ret1
628}
629
630// GetAllIgmpDevices indicates an expected call of GetAllIgmpDevices.
631func (mr *MockDBIntfMockRecorder) GetAllIgmpDevices(ctx interface{}) *gomock.Call {
632 mr.mock.ctrl.T.Helper()
633 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllIgmpDevices", reflect.TypeOf((*MockDBIntf)(nil).GetAllIgmpDevices), ctx)
634}
635
636// GetAllIgmpRcvrs mocks base method.
637func (m *MockDBIntf) GetAllIgmpRcvrs(ctx context.Context) (map[string]*kvstore.KVPair, error) {
638 m.ctrl.T.Helper()
639 ret := m.ctrl.Call(m, "GetAllIgmpRcvrs", ctx)
640 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
641 ret1, _ := ret[1].(error)
642 return ret0, ret1
643}
644
645// GetAllIgmpRcvrs indicates an expected call of GetAllIgmpRcvrs.
646func (mr *MockDBIntfMockRecorder) GetAllIgmpRcvrs(ctx interface{}) *gomock.Call {
647 mr.mock.ctrl.T.Helper()
648 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllIgmpRcvrs", reflect.TypeOf((*MockDBIntf)(nil).GetAllIgmpRcvrs), ctx)
649}
650
651// GetAllMigrateServicesReq mocks base method.
652func (m *MockDBIntf) GetAllMigrateServicesReq(ctx context.Context, deviceID string) (map[string]*kvstore.KVPair, error) {
653 m.ctrl.T.Helper()
654 ret := m.ctrl.Call(m, "GetAllMigrateServicesReq", ctx, deviceID)
655 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
656 ret1, _ := ret[1].(error)
657 return ret0, ret1
658}
659
660// GetAllMigrateServicesReq indicates an expected call of GetAllMigrateServicesReq.
661func (mr *MockDBIntfMockRecorder) GetAllMigrateServicesReq(ctx, deviceID interface{}) *gomock.Call {
662 mr.mock.ctrl.T.Helper()
663 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllMigrateServicesReq", reflect.TypeOf((*MockDBIntf)(nil).GetAllMigrateServicesReq), ctx, deviceID)
664}
665
666// GetAllNbPorts mocks base method.
667func (m *MockDBIntf) GetAllNbPorts(ctx context.Context, deviceID string) (map[string]*kvstore.KVPair, error) {
668 m.ctrl.T.Helper()
669 ret := m.ctrl.Call(m, "GetAllNbPorts", ctx, deviceID)
670 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
671 ret1, _ := ret[1].(error)
672 return ret0, ret1
673}
674
675// GetAllNbPorts indicates an expected call of GetAllNbPorts.
676func (mr *MockDBIntfMockRecorder) GetAllNbPorts(ctx, deviceID interface{}) *gomock.Call {
677 mr.mock.ctrl.T.Helper()
678 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllNbPorts", reflect.TypeOf((*MockDBIntf)(nil).GetAllNbPorts), ctx, deviceID)
679}
680
681// GetAllPonChannelCounters mocks base method.
682func (m *MockDBIntf) GetAllPonChannelCounters(ctx context.Context, device, ponID string) (map[string]*kvstore.KVPair, error) {
683 m.ctrl.T.Helper()
684 ret := m.ctrl.Call(m, "GetAllPonChannelCounters", ctx, device, ponID)
685 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
686 ret1, _ := ret[1].(error)
687 return ret0, ret1
688}
689
690// GetAllPonChannelCounters indicates an expected call of GetAllPonChannelCounters.
691func (mr *MockDBIntfMockRecorder) GetAllPonChannelCounters(ctx, device, ponID interface{}) *gomock.Call {
692 mr.mock.ctrl.T.Helper()
693 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllPonChannelCounters", reflect.TypeOf((*MockDBIntf)(nil).GetAllPonChannelCounters), ctx, device, ponID)
694}
695
696// GetAllPonCounters mocks base method.
697func (m *MockDBIntf) GetAllPonCounters(ctx context.Context, device string) (map[string]*kvstore.KVPair, error) {
698 m.ctrl.T.Helper()
699 ret := m.ctrl.Call(m, "GetAllPonCounters", ctx, device)
700 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
701 ret1, _ := ret[1].(error)
702 return ret0, ret1
703}
704
705// GetAllPonCounters indicates an expected call of GetAllPonCounters.
706func (mr *MockDBIntfMockRecorder) GetAllPonCounters(ctx, device interface{}) *gomock.Call {
707 mr.mock.ctrl.T.Helper()
708 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllPonCounters", reflect.TypeOf((*MockDBIntf)(nil).GetAllPonCounters), ctx, device)
709}
710
711// GetAllPortAlarmData mocks base method.
712func (m *MockDBIntf) GetAllPortAlarmData(ctx context.Context, deviceID string) (map[string]*kvstore.KVPair, error) {
713 m.ctrl.T.Helper()
714 ret := m.ctrl.Call(m, "GetAllPortAlarmData", ctx, deviceID)
715 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
716 ret1, _ := ret[1].(error)
717 return ret0, ret1
718}
719
720// GetAllPortAlarmData indicates an expected call of GetAllPortAlarmData.
721func (mr *MockDBIntfMockRecorder) GetAllPortAlarmData(ctx, deviceID interface{}) *gomock.Call {
722 mr.mock.ctrl.T.Helper()
723 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllPortAlarmData", reflect.TypeOf((*MockDBIntf)(nil).GetAllPortAlarmData), ctx, deviceID)
724}
725
726// GetAllServiceChannelCounters mocks base method.
727func (m *MockDBIntf) GetAllServiceChannelCounters(ctx context.Context, serviceName string) (map[string]*kvstore.KVPair, error) {
728 m.ctrl.T.Helper()
729 ret := m.ctrl.Call(m, "GetAllServiceChannelCounters", ctx, serviceName)
730 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
731 ret1, _ := ret[1].(error)
732 return ret0, ret1
733}
734
735// GetAllServiceChannelCounters indicates an expected call of GetAllServiceChannelCounters.
736func (mr *MockDBIntfMockRecorder) GetAllServiceChannelCounters(ctx, serviceName interface{}) *gomock.Call {
737 mr.mock.ctrl.T.Helper()
738 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllServiceChannelCounters", reflect.TypeOf((*MockDBIntf)(nil).GetAllServiceChannelCounters), ctx, serviceName)
739}
740
741// GetAllSubAlarmData mocks base method.
742func (m *MockDBIntf) GetAllSubAlarmData(ctx context.Context, deviceID string) (map[string]*kvstore.KVPair, error) {
743 m.ctrl.T.Helper()
744 ret := m.ctrl.Call(m, "GetAllSubAlarmData", ctx, deviceID)
745 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
746 ret1, _ := ret[1].(error)
747 return ret0, ret1
748}
749
750// GetAllSubAlarmData indicates an expected call of GetAllSubAlarmData.
751func (mr *MockDBIntfMockRecorder) GetAllSubAlarmData(ctx, deviceID interface{}) *gomock.Call {
752 mr.mock.ctrl.T.Helper()
753 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllSubAlarmData", reflect.TypeOf((*MockDBIntf)(nil).GetAllSubAlarmData), ctx, deviceID)
754}
755
756// GetDeviceConfig mocks base method.
757func (m *MockDBIntf) GetDeviceConfig(ctx context.Context) (map[string]*kvstore.KVPair, error) {
758 m.ctrl.T.Helper()
759 ret := m.ctrl.Call(m, "GetDeviceConfig", ctx)
760 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
761 ret1, _ := ret[1].(error)
762 return ret0, ret1
763}
764
765// GetDeviceConfig indicates an expected call of GetDeviceConfig.
766func (mr *MockDBIntfMockRecorder) GetDeviceConfig(ctx interface{}) *gomock.Call {
767 mr.mock.ctrl.T.Helper()
768 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeviceConfig", reflect.TypeOf((*MockDBIntf)(nil).GetDeviceConfig), ctx)
769}
770
771// GetDeviceMeter mocks base method.
772func (m *MockDBIntf) GetDeviceMeter(ctx context.Context, deviceID string, meterID uint32) (string, error) {
773 m.ctrl.T.Helper()
774 ret := m.ctrl.Call(m, "GetDeviceMeter", ctx, deviceID, meterID)
775 ret0, _ := ret[0].(string)
776 ret1, _ := ret[1].(error)
777 return ret0, ret1
778}
779
780// GetDeviceMeter indicates an expected call of GetDeviceMeter.
781func (mr *MockDBIntfMockRecorder) GetDeviceMeter(ctx, deviceID, meterID interface{}) *gomock.Call {
782 mr.mock.ctrl.T.Helper()
783 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeviceMeter", reflect.TypeOf((*MockDBIntf)(nil).GetDeviceMeter), ctx, deviceID, meterID)
784}
785
786// GetDeviceMeters mocks base method.
787func (m *MockDBIntf) GetDeviceMeters(ctx context.Context, deviceID string) (map[string]*kvstore.KVPair, error) {
788 m.ctrl.T.Helper()
789 ret := m.ctrl.Call(m, "GetDeviceMeters", ctx, deviceID)
790 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
791 ret1, _ := ret[1].(error)
792 return ret0, ret1
793}
794
795// GetDeviceMeters indicates an expected call of GetDeviceMeters.
796func (mr *MockDBIntfMockRecorder) GetDeviceMeters(ctx, deviceID interface{}) *gomock.Call {
797 mr.mock.ctrl.T.Helper()
798 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeviceMeters", reflect.TypeOf((*MockDBIntf)(nil).GetDeviceMeters), ctx, deviceID)
799}
800
801// GetFlow mocks base method.
802func (m *MockDBIntf) GetFlow(ctx context.Context, deviceID string, flowID uint64) (string, error) {
803 m.ctrl.T.Helper()
804 ret := m.ctrl.Call(m, "GetFlow", ctx, deviceID, flowID)
805 ret0, _ := ret[0].(string)
806 ret1, _ := ret[1].(error)
807 return ret0, ret1
808}
809
810// GetFlow indicates an expected call of GetFlow.
811func (mr *MockDBIntfMockRecorder) GetFlow(ctx, deviceID, flowID interface{}) *gomock.Call {
812 mr.mock.ctrl.T.Helper()
813 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFlow", reflect.TypeOf((*MockDBIntf)(nil).GetFlow), ctx, deviceID, flowID)
814}
815
816// GetFlowHash mocks base method.
817func (m *MockDBIntf) GetFlowHash(ctx context.Context, deviceID string) (string, error) {
818 m.ctrl.T.Helper()
819 ret := m.ctrl.Call(m, "GetFlowHash", ctx, deviceID)
820 ret0, _ := ret[0].(string)
821 ret1, _ := ret[1].(error)
822 return ret0, ret1
823}
824
825// GetFlowHash indicates an expected call of GetFlowHash.
826func (mr *MockDBIntfMockRecorder) GetFlowHash(ctx, deviceID interface{}) *gomock.Call {
827 mr.mock.ctrl.T.Helper()
828 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFlowHash", reflect.TypeOf((*MockDBIntf)(nil).GetFlowHash), ctx, deviceID)
829}
830
831// GetFlows mocks base method.
832func (m *MockDBIntf) GetFlows(ctx context.Context, deviceID string) (map[string]*kvstore.KVPair, error) {
833 m.ctrl.T.Helper()
834 ret := m.ctrl.Call(m, "GetFlows", ctx, deviceID)
835 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
836 ret1, _ := ret[1].(error)
837 return ret0, ret1
838}
839
840// GetFlows indicates an expected call of GetFlows.
841func (mr *MockDBIntfMockRecorder) GetFlows(ctx, deviceID interface{}) *gomock.Call {
842 mr.mock.ctrl.T.Helper()
843 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetFlows", reflect.TypeOf((*MockDBIntf)(nil).GetFlows), ctx, deviceID)
844}
845
846// GetGroup mocks base method.
847func (m *MockDBIntf) GetGroup(ctx context.Context, deviceID string, groupID uint32) (string, error) {
848 m.ctrl.T.Helper()
849 ret := m.ctrl.Call(m, "GetGroup", ctx, deviceID, groupID)
850 ret0, _ := ret[0].(string)
851 ret1, _ := ret[1].(error)
852 return ret0, ret1
853}
854
855// GetGroup indicates an expected call of GetGroup.
856func (mr *MockDBIntfMockRecorder) GetGroup(ctx, deviceID, groupID interface{}) *gomock.Call {
857 mr.mock.ctrl.T.Helper()
858 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetGroup", reflect.TypeOf((*MockDBIntf)(nil).GetGroup), ctx, deviceID, groupID)
859}
860
861// GetGroups mocks base method.
862func (m *MockDBIntf) GetGroups(ctx context.Context, deviceID string) (map[string]*kvstore.KVPair, error) {
863 m.ctrl.T.Helper()
864 ret := m.ctrl.Call(m, "GetGroups", ctx, deviceID)
865 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
866 ret1, _ := ret[1].(error)
867 return ret0, ret1
868}
869
870// GetGroups indicates an expected call of GetGroups.
871func (mr *MockDBIntfMockRecorder) GetGroups(ctx, deviceID interface{}) *gomock.Call {
872 mr.mock.ctrl.T.Helper()
873 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetGroups", reflect.TypeOf((*MockDBIntf)(nil).GetGroups), ctx, deviceID)
874}
875
876// GetHealth mocks base method.
877func (m *MockDBIntf) GetHealth(ctx context.Context) (string, error) {
878 m.ctrl.T.Helper()
879 ret := m.ctrl.Call(m, "GetHealth", ctx)
880 ret0, _ := ret[0].(string)
881 ret1, _ := ret[1].(error)
882 return ret0, ret1
883}
884
885// GetHealth indicates an expected call of GetHealth.
886func (mr *MockDBIntfMockRecorder) GetHealth(ctx interface{}) *gomock.Call {
887 mr.mock.ctrl.T.Helper()
888 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetHealth", reflect.TypeOf((*MockDBIntf)(nil).GetHealth), ctx)
889}
890
891// GetIgmpChannel mocks base method.
892func (m *MockDBIntf) GetIgmpChannel(ctx context.Context, mvlan of.VlanType, gName, device string, gip net.IP) (string, error) {
893 m.ctrl.T.Helper()
894 ret := m.ctrl.Call(m, "GetIgmpChannel", ctx, mvlan, gName, device, gip)
895 ret0, _ := ret[0].(string)
896 ret1, _ := ret[1].(error)
897 return ret0, ret1
898}
899
900// GetIgmpChannel indicates an expected call of GetIgmpChannel.
901func (mr *MockDBIntfMockRecorder) GetIgmpChannel(ctx, mvlan, gName, device, gip interface{}) *gomock.Call {
902 mr.mock.ctrl.T.Helper()
903 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetIgmpChannel", reflect.TypeOf((*MockDBIntf)(nil).GetIgmpChannel), ctx, mvlan, gName, device, gip)
904}
905
906// GetIgmpChannels mocks base method.
907func (m *MockDBIntf) GetIgmpChannels(ctx context.Context, mvlan of.VlanType, gname, device string) (map[string]*kvstore.KVPair, error) {
908 m.ctrl.T.Helper()
909 ret := m.ctrl.Call(m, "GetIgmpChannels", ctx, mvlan, gname, device)
910 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
911 ret1, _ := ret[1].(error)
912 return ret0, ret1
913}
914
915// GetIgmpChannels indicates an expected call of GetIgmpChannels.
916func (mr *MockDBIntfMockRecorder) GetIgmpChannels(ctx, mvlan, gname, device interface{}) *gomock.Call {
917 mr.mock.ctrl.T.Helper()
918 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetIgmpChannels", reflect.TypeOf((*MockDBIntf)(nil).GetIgmpChannels), ctx, mvlan, gname, device)
919}
920
921// GetIgmpDevice mocks base method.
922func (m *MockDBIntf) GetIgmpDevice(ctx context.Context, mvlan of.VlanType, gid string, gip net.IP, device string) (string, error) {
923 m.ctrl.T.Helper()
924 ret := m.ctrl.Call(m, "GetIgmpDevice", ctx, mvlan, gid, gip, device)
925 ret0, _ := ret[0].(string)
926 ret1, _ := ret[1].(error)
927 return ret0, ret1
928}
929
930// GetIgmpDevice indicates an expected call of GetIgmpDevice.
931func (mr *MockDBIntfMockRecorder) GetIgmpDevice(ctx, mvlan, gid, gip, device interface{}) *gomock.Call {
932 mr.mock.ctrl.T.Helper()
933 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetIgmpDevice", reflect.TypeOf((*MockDBIntf)(nil).GetIgmpDevice), ctx, mvlan, gid, gip, device)
934}
935
936// GetIgmpDevices mocks base method.
937func (m *MockDBIntf) GetIgmpDevices(ctx context.Context, mvlan of.VlanType, gid string, gip net.IP) (map[string]*kvstore.KVPair, error) {
938 m.ctrl.T.Helper()
939 ret := m.ctrl.Call(m, "GetIgmpDevices", ctx, mvlan, gid, gip)
940 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
941 ret1, _ := ret[1].(error)
942 return ret0, ret1
943}
944
945// GetIgmpDevices indicates an expected call of GetIgmpDevices.
946func (mr *MockDBIntfMockRecorder) GetIgmpDevices(ctx, mvlan, gid, gip interface{}) *gomock.Call {
947 mr.mock.ctrl.T.Helper()
948 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetIgmpDevices", reflect.TypeOf((*MockDBIntf)(nil).GetIgmpDevices), ctx, mvlan, gid, gip)
949}
950
951// GetIgmpGroup mocks base method.
952func (m *MockDBIntf) GetIgmpGroup(ctx context.Context, id string) (string, error) {
953 m.ctrl.T.Helper()
954 ret := m.ctrl.Call(m, "GetIgmpGroup", ctx, id)
955 ret0, _ := ret[0].(string)
956 ret1, _ := ret[1].(error)
957 return ret0, ret1
958}
959
960// GetIgmpGroup indicates an expected call of GetIgmpGroup.
961func (mr *MockDBIntfMockRecorder) GetIgmpGroup(ctx, id interface{}) *gomock.Call {
962 mr.mock.ctrl.T.Helper()
963 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetIgmpGroup", reflect.TypeOf((*MockDBIntf)(nil).GetIgmpGroup), ctx, id)
964}
965
966// GetIgmpGroups mocks base method.
967func (m *MockDBIntf) GetIgmpGroups(ctx context.Context) (map[string]*kvstore.KVPair, error) {
968 m.ctrl.T.Helper()
969 ret := m.ctrl.Call(m, "GetIgmpGroups", ctx)
970 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
971 ret1, _ := ret[1].(error)
972 return ret0, ret1
973}
974
975// GetIgmpGroups indicates an expected call of GetIgmpGroups.
976func (mr *MockDBIntfMockRecorder) GetIgmpGroups(ctx interface{}) *gomock.Call {
977 mr.mock.ctrl.T.Helper()
978 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetIgmpGroups", reflect.TypeOf((*MockDBIntf)(nil).GetIgmpGroups), ctx)
979}
980
981// GetIgmpProfile mocks base method.
982func (m *MockDBIntf) GetIgmpProfile(ctx context.Context, name string) (string, error) {
983 m.ctrl.T.Helper()
984 ret := m.ctrl.Call(m, "GetIgmpProfile", ctx, name)
985 ret0, _ := ret[0].(string)
986 ret1, _ := ret[1].(error)
987 return ret0, ret1
988}
989
990// GetIgmpProfile indicates an expected call of GetIgmpProfile.
991func (mr *MockDBIntfMockRecorder) GetIgmpProfile(ctx, name interface{}) *gomock.Call {
992 mr.mock.ctrl.T.Helper()
993 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetIgmpProfile", reflect.TypeOf((*MockDBIntf)(nil).GetIgmpProfile), ctx, name)
994}
995
996// GetIgmpProfiles mocks base method.
997func (m *MockDBIntf) GetIgmpProfiles(ctx context.Context) (map[string]*kvstore.KVPair, error) {
998 m.ctrl.T.Helper()
999 ret := m.ctrl.Call(m, "GetIgmpProfiles", ctx)
1000 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
1001 ret1, _ := ret[1].(error)
1002 return ret0, ret1
1003}
1004
1005// GetIgmpProfiles indicates an expected call of GetIgmpProfiles.
1006func (mr *MockDBIntfMockRecorder) GetIgmpProfiles(ctx interface{}) *gomock.Call {
1007 mr.mock.ctrl.T.Helper()
1008 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetIgmpProfiles", reflect.TypeOf((*MockDBIntf)(nil).GetIgmpProfiles), ctx)
1009}
1010
1011// GetIgmpRcvr mocks base method.
1012func (m *MockDBIntf) GetIgmpRcvr(ctx context.Context, mvlan of.VlanType, gip net.IP, device, rcvr string) (string, error) {
1013 m.ctrl.T.Helper()
1014 ret := m.ctrl.Call(m, "GetIgmpRcvr", ctx, mvlan, gip, device, rcvr)
1015 ret0, _ := ret[0].(string)
1016 ret1, _ := ret[1].(error)
1017 return ret0, ret1
1018}
1019
1020// GetIgmpRcvr indicates an expected call of GetIgmpRcvr.
1021func (mr *MockDBIntfMockRecorder) GetIgmpRcvr(ctx, mvlan, gip, device, rcvr interface{}) *gomock.Call {
1022 mr.mock.ctrl.T.Helper()
1023 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetIgmpRcvr", reflect.TypeOf((*MockDBIntf)(nil).GetIgmpRcvr), ctx, mvlan, gip, device, rcvr)
1024}
1025
1026// GetIgmpRcvrs mocks base method.
1027func (m *MockDBIntf) GetIgmpRcvrs(ctx context.Context, mvlan of.VlanType, gip net.IP, device string) (map[string]*kvstore.KVPair, error) {
1028 m.ctrl.T.Helper()
1029 ret := m.ctrl.Call(m, "GetIgmpRcvrs", ctx, mvlan, gip, device)
1030 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
1031 ret1, _ := ret[1].(error)
1032 return ret0, ret1
1033}
1034
1035// GetIgmpRcvrs indicates an expected call of GetIgmpRcvrs.
1036func (mr *MockDBIntfMockRecorder) GetIgmpRcvrs(ctx, mvlan, gip, device interface{}) *gomock.Call {
1037 mr.mock.ctrl.T.Helper()
1038 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetIgmpRcvrs", reflect.TypeOf((*MockDBIntf)(nil).GetIgmpRcvrs), ctx, mvlan, gip, device)
1039}
1040
1041// GetMcastConfig mocks base method.
1042func (m *MockDBIntf) GetMcastConfig(ctx context.Context, name string) (string, error) {
1043 m.ctrl.T.Helper()
1044 ret := m.ctrl.Call(m, "GetMcastConfig", ctx, name)
1045 ret0, _ := ret[0].(string)
1046 ret1, _ := ret[1].(error)
1047 return ret0, ret1
1048}
1049
1050// GetMcastConfig indicates an expected call of GetMcastConfig.
1051func (mr *MockDBIntfMockRecorder) GetMcastConfig(ctx, name interface{}) *gomock.Call {
1052 mr.mock.ctrl.T.Helper()
1053 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMcastConfig", reflect.TypeOf((*MockDBIntf)(nil).GetMcastConfig), ctx, name)
1054}
1055
1056// GetMcastConfigs mocks base method.
1057func (m *MockDBIntf) GetMcastConfigs(ctx context.Context) (map[string]*kvstore.KVPair, error) {
1058 m.ctrl.T.Helper()
1059 ret := m.ctrl.Call(m, "GetMcastConfigs", ctx)
1060 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
1061 ret1, _ := ret[1].(error)
1062 return ret0, ret1
1063}
1064
1065// GetMcastConfigs indicates an expected call of GetMcastConfigs.
1066func (mr *MockDBIntfMockRecorder) GetMcastConfigs(ctx interface{}) *gomock.Call {
1067 mr.mock.ctrl.T.Helper()
1068 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMcastConfigs", reflect.TypeOf((*MockDBIntf)(nil).GetMcastConfigs), ctx)
1069}
1070
1071// GetMeter mocks base method.
1072func (m *MockDBIntf) GetMeter(ctx context.Context, name string) (string, error) {
1073 m.ctrl.T.Helper()
1074 ret := m.ctrl.Call(m, "GetMeter", ctx, name)
1075 ret0, _ := ret[0].(string)
1076 ret1, _ := ret[1].(error)
1077 return ret0, ret1
1078}
1079
1080// GetMeter indicates an expected call of GetMeter.
1081func (mr *MockDBIntfMockRecorder) GetMeter(ctx, name interface{}) *gomock.Call {
1082 mr.mock.ctrl.T.Helper()
1083 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMeter", reflect.TypeOf((*MockDBIntf)(nil).GetMeter), ctx, name)
1084}
1085
1086// GetMeters mocks base method.
1087func (m *MockDBIntf) GetMeters(ctx context.Context) (map[string]*kvstore.KVPair, error) {
1088 m.ctrl.T.Helper()
1089 ret := m.ctrl.Call(m, "GetMeters", ctx)
1090 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
1091 ret1, _ := ret[1].(error)
1092 return ret0, ret1
1093}
1094
1095// GetMeters indicates an expected call of GetMeters.
1096func (mr *MockDBIntfMockRecorder) GetMeters(ctx interface{}) *gomock.Call {
1097 mr.mock.ctrl.T.Helper()
1098 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMeters", reflect.TypeOf((*MockDBIntf)(nil).GetMeters), ctx)
1099}
1100
1101// GetMigrateServicesReq mocks base method.
1102func (m *MockDBIntf) GetMigrateServicesReq(ctx context.Context, deviceID, vlan string) (string, error) {
1103 m.ctrl.T.Helper()
1104 ret := m.ctrl.Call(m, "GetMigrateServicesReq", ctx, deviceID, vlan)
1105 ret0, _ := ret[0].(string)
1106 ret1, _ := ret[1].(error)
1107 return ret0, ret1
1108}
1109
1110// GetMigrateServicesReq indicates an expected call of GetMigrateServicesReq.
1111func (mr *MockDBIntfMockRecorder) GetMigrateServicesReq(ctx, deviceID, vlan interface{}) *gomock.Call {
1112 mr.mock.ctrl.T.Helper()
1113 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMigrateServicesReq", reflect.TypeOf((*MockDBIntf)(nil).GetMigrateServicesReq), ctx, deviceID, vlan)
1114}
1115
1116// GetMigrationInfo mocks base method.
1117func (m *MockDBIntf) GetMigrationInfo(ctx context.Context) (string, error) {
1118 m.ctrl.T.Helper()
1119 ret := m.ctrl.Call(m, "GetMigrationInfo", ctx)
1120 ret0, _ := ret[0].(string)
1121 ret1, _ := ret[1].(error)
1122 return ret0, ret1
1123}
1124
1125// GetMigrationInfo indicates an expected call of GetMigrationInfo.
1126func (mr *MockDBIntfMockRecorder) GetMigrationInfo(ctx interface{}) *gomock.Call {
1127 mr.mock.ctrl.T.Helper()
1128 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMigrationInfo", reflect.TypeOf((*MockDBIntf)(nil).GetMigrationInfo), ctx)
1129}
1130
1131// GetMvlan mocks base method.
1132func (m *MockDBIntf) GetMvlan(ctx context.Context, mvlan uint16) (string, error) {
1133 m.ctrl.T.Helper()
1134 ret := m.ctrl.Call(m, "GetMvlan", ctx, mvlan)
1135 ret0, _ := ret[0].(string)
1136 ret1, _ := ret[1].(error)
1137 return ret0, ret1
1138}
1139
1140// GetMvlan indicates an expected call of GetMvlan.
1141func (mr *MockDBIntfMockRecorder) GetMvlan(ctx, mvlan interface{}) *gomock.Call {
1142 mr.mock.ctrl.T.Helper()
1143 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMvlan", reflect.TypeOf((*MockDBIntf)(nil).GetMvlan), ctx, mvlan)
1144}
1145
1146// GetMvlans mocks base method.
1147func (m *MockDBIntf) GetMvlans(ctx context.Context) (map[string]*kvstore.KVPair, error) {
1148 m.ctrl.T.Helper()
1149 ret := m.ctrl.Call(m, "GetMvlans", ctx)
1150 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
1151 ret1, _ := ret[1].(error)
1152 return ret0, ret1
1153}
1154
1155// GetMvlans indicates an expected call of GetMvlans.
1156func (mr *MockDBIntfMockRecorder) GetMvlans(ctx interface{}) *gomock.Call {
1157 mr.mock.ctrl.T.Helper()
1158 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMvlans", reflect.TypeOf((*MockDBIntf)(nil).GetMvlans), ctx)
1159}
1160
1161// GetOlt mocks base method.
1162func (m *MockDBIntf) GetOlt(ctx context.Context, deviceID string) (string, error) {
1163 m.ctrl.T.Helper()
1164 ret := m.ctrl.Call(m, "GetOlt", ctx, deviceID)
1165 ret0, _ := ret[0].(string)
1166 ret1, _ := ret[1].(error)
1167 return ret0, ret1
1168}
1169
1170// GetOlt indicates an expected call of GetOlt.
1171func (mr *MockDBIntfMockRecorder) GetOlt(ctx, deviceID interface{}) *gomock.Call {
1172 mr.mock.ctrl.T.Helper()
1173 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOlt", reflect.TypeOf((*MockDBIntf)(nil).GetOlt), ctx, deviceID)
1174}
1175
1176// GetOltFlowService mocks base method.
1177func (m *MockDBIntf) GetOltFlowService(ctx context.Context) (string, error) {
1178 m.ctrl.T.Helper()
1179 ret := m.ctrl.Call(m, "GetOltFlowService", ctx)
1180 ret0, _ := ret[0].(string)
1181 ret1, _ := ret[1].(error)
1182 return ret0, ret1
1183}
1184
1185// GetOltFlowService indicates an expected call of GetOltFlowService.
1186func (mr *MockDBIntfMockRecorder) GetOltFlowService(ctx interface{}) *gomock.Call {
1187 mr.mock.ctrl.T.Helper()
1188 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOltFlowService", reflect.TypeOf((*MockDBIntf)(nil).GetOltFlowService), ctx)
1189}
1190
1191// GetOltIgmpCounter mocks base method.
1192func (m *MockDBIntf) GetOltIgmpCounter(ctx context.Context, device string) (string, error) {
1193 m.ctrl.T.Helper()
1194 ret := m.ctrl.Call(m, "GetOltIgmpCounter", ctx, device)
1195 ret0, _ := ret[0].(string)
1196 ret1, _ := ret[1].(error)
1197 return ret0, ret1
1198}
1199
1200// GetOltIgmpCounter indicates an expected call of GetOltIgmpCounter.
1201func (mr *MockDBIntfMockRecorder) GetOltIgmpCounter(ctx, device interface{}) *gomock.Call {
1202 mr.mock.ctrl.T.Helper()
1203 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOltIgmpCounter", reflect.TypeOf((*MockDBIntf)(nil).GetOltIgmpCounter), ctx, device)
1204}
1205
1206// GetPonChannelCounter mocks base method.
1207func (m *MockDBIntf) GetPonChannelCounter(ctx context.Context, device, ponID, channel string) (string, error) {
1208 m.ctrl.T.Helper()
1209 ret := m.ctrl.Call(m, "GetPonChannelCounter", ctx, device, ponID, channel)
1210 ret0, _ := ret[0].(string)
1211 ret1, _ := ret[1].(error)
1212 return ret0, ret1
1213}
1214
1215// GetPonChannelCounter indicates an expected call of GetPonChannelCounter.
1216func (mr *MockDBIntfMockRecorder) GetPonChannelCounter(ctx, device, ponID, channel interface{}) *gomock.Call {
1217 mr.mock.ctrl.T.Helper()
1218 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPonChannelCounter", reflect.TypeOf((*MockDBIntf)(nil).GetPonChannelCounter), ctx, device, ponID, channel)
1219}
1220
1221// GetPonCounter mocks base method.
1222func (m *MockDBIntf) GetPonCounter(ctx context.Context, device, ponID string) (string, error) {
1223 m.ctrl.T.Helper()
1224 ret := m.ctrl.Call(m, "GetPonCounter", ctx, device, ponID)
1225 ret0, _ := ret[0].(string)
1226 ret1, _ := ret[1].(error)
1227 return ret0, ret1
1228}
1229
1230// GetPonCounter indicates an expected call of GetPonCounter.
1231func (mr *MockDBIntfMockRecorder) GetPonCounter(ctx, device, ponID interface{}) *gomock.Call {
1232 mr.mock.ctrl.T.Helper()
1233 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPonCounter", reflect.TypeOf((*MockDBIntf)(nil).GetPonCounter), ctx, device, ponID)
1234}
1235
1236// GetPort mocks base method.
1237func (m *MockDBIntf) GetPort(ctx context.Context, deviceID string, portID uint32) (string, error) {
1238 m.ctrl.T.Helper()
1239 ret := m.ctrl.Call(m, "GetPort", ctx, deviceID, portID)
1240 ret0, _ := ret[0].(string)
1241 ret1, _ := ret[1].(error)
1242 return ret0, ret1
1243}
1244
1245// GetPort indicates an expected call of GetPort.
1246func (mr *MockDBIntfMockRecorder) GetPort(ctx, deviceID, portID interface{}) *gomock.Call {
1247 mr.mock.ctrl.T.Helper()
1248 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPort", reflect.TypeOf((*MockDBIntf)(nil).GetPort), ctx, deviceID, portID)
1249}
1250
1251// GetPortAlarmData mocks base method.
1252func (m *MockDBIntf) GetPortAlarmData(ctx context.Context, deviceID string, portID uint32) (string, error) {
1253 m.ctrl.T.Helper()
1254 ret := m.ctrl.Call(m, "GetPortAlarmData", ctx, deviceID, portID)
1255 ret0, _ := ret[0].(string)
1256 ret1, _ := ret[1].(error)
1257 return ret0, ret1
1258}
1259
1260// GetPortAlarmData indicates an expected call of GetPortAlarmData.
1261func (mr *MockDBIntfMockRecorder) GetPortAlarmData(ctx, deviceID, portID interface{}) *gomock.Call {
1262 mr.mock.ctrl.T.Helper()
1263 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPortAlarmData", reflect.TypeOf((*MockDBIntf)(nil).GetPortAlarmData), ctx, deviceID, portID)
1264}
1265
1266// GetPortAlarmProfile mocks base method.
1267func (m *MockDBIntf) GetPortAlarmProfile(ctx context.Context, portAlarmProfileID string) (map[string]*kvstore.KVPair, error) {
1268 m.ctrl.T.Helper()
1269 ret := m.ctrl.Call(m, "GetPortAlarmProfile", ctx, portAlarmProfileID)
1270 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
1271 ret1, _ := ret[1].(error)
1272 return ret0, ret1
1273}
1274
1275// GetPortAlarmProfile indicates an expected call of GetPortAlarmProfile.
1276func (mr *MockDBIntfMockRecorder) GetPortAlarmProfile(ctx, portAlarmProfileID interface{}) *gomock.Call {
1277 mr.mock.ctrl.T.Helper()
1278 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPortAlarmProfile", reflect.TypeOf((*MockDBIntf)(nil).GetPortAlarmProfile), ctx, portAlarmProfileID)
1279}
1280
1281// GetPorts mocks base method.
1282func (m *MockDBIntf) GetPorts(ctx context.Context, deviceID string) (map[string]*kvstore.KVPair, error) {
1283 m.ctrl.T.Helper()
1284 ret := m.ctrl.Call(m, "GetPorts", ctx, deviceID)
1285 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
1286 ret1, _ := ret[1].(error)
1287 return ret0, ret1
1288}
1289
1290// GetPorts indicates an expected call of GetPorts.
1291func (mr *MockDBIntfMockRecorder) GetPorts(ctx, deviceID interface{}) *gomock.Call {
1292 mr.mock.ctrl.T.Helper()
1293 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPorts", reflect.TypeOf((*MockDBIntf)(nil).GetPorts), ctx, deviceID)
1294}
1295
1296// GetPrevIgmpChannels mocks base method.
1297func (m *MockDBIntf) GetPrevIgmpChannels(ctx context.Context, gname, device string) (map[string]*kvstore.KVPair, error) {
1298 m.ctrl.T.Helper()
1299 ret := m.ctrl.Call(m, "GetPrevIgmpChannels", ctx, gname, device)
1300 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
1301 ret1, _ := ret[1].(error)
1302 return ret0, ret1
1303}
1304
1305// GetPrevIgmpChannels indicates an expected call of GetPrevIgmpChannels.
1306func (mr *MockDBIntfMockRecorder) GetPrevIgmpChannels(ctx, gname, device interface{}) *gomock.Call {
1307 mr.mock.ctrl.T.Helper()
1308 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPrevIgmpChannels", reflect.TypeOf((*MockDBIntf)(nil).GetPrevIgmpChannels), ctx, gname, device)
1309}
1310
1311// GetPrevIgmpDevices mocks base method.
1312func (m *MockDBIntf) GetPrevIgmpDevices(ctx context.Context, mvlan of.VlanType, gid string) (map[string]*kvstore.KVPair, error) {
1313 m.ctrl.T.Helper()
1314 ret := m.ctrl.Call(m, "GetPrevIgmpDevices", ctx, mvlan, gid)
1315 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
1316 ret1, _ := ret[1].(error)
1317 return ret0, ret1
1318}
1319
1320// GetPrevIgmpDevices indicates an expected call of GetPrevIgmpDevices.
1321func (mr *MockDBIntfMockRecorder) GetPrevIgmpDevices(ctx, mvlan, gid interface{}) *gomock.Call {
1322 mr.mock.ctrl.T.Helper()
1323 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPrevIgmpDevices", reflect.TypeOf((*MockDBIntf)(nil).GetPrevIgmpDevices), ctx, mvlan, gid)
1324}
1325
1326// GetPrevIgmpRcvrs mocks base method.
1327func (m *MockDBIntf) GetPrevIgmpRcvrs(ctx context.Context, gip net.IP, device string) (map[string]*kvstore.KVPair, error) {
1328 m.ctrl.T.Helper()
1329 ret := m.ctrl.Call(m, "GetPrevIgmpRcvrs", ctx, gip, device)
1330 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
1331 ret1, _ := ret[1].(error)
1332 return ret0, ret1
1333}
1334
1335// GetPrevIgmpRcvrs indicates an expected call of GetPrevIgmpRcvrs.
1336func (mr *MockDBIntfMockRecorder) GetPrevIgmpRcvrs(ctx, gip, device interface{}) *gomock.Call {
1337 mr.mock.ctrl.T.Helper()
1338 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPrevIgmpRcvrs", reflect.TypeOf((*MockDBIntf)(nil).GetPrevIgmpRcvrs), ctx, gip, device)
1339}
1340
1341// GetService mocks base method.
1342func (m *MockDBIntf) GetService(ctx context.Context, name string) (string, error) {
1343 m.ctrl.T.Helper()
1344 ret := m.ctrl.Call(m, "GetService", ctx, name)
1345 ret0, _ := ret[0].(string)
1346 ret1, _ := ret[1].(error)
1347 return ret0, ret1
1348}
1349
1350// GetService indicates an expected call of GetService.
1351func (mr *MockDBIntfMockRecorder) GetService(ctx, name interface{}) *gomock.Call {
1352 mr.mock.ctrl.T.Helper()
1353 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetService", reflect.TypeOf((*MockDBIntf)(nil).GetService), ctx, name)
1354}
1355
1356// GetServiceChannelCounter mocks base method.
1357func (m *MockDBIntf) GetServiceChannelCounter(ctx context.Context, serviceName, channel string) (string, error) {
1358 m.ctrl.T.Helper()
1359 ret := m.ctrl.Call(m, "GetServiceChannelCounter", ctx, serviceName, channel)
1360 ret0, _ := ret[0].(string)
1361 ret1, _ := ret[1].(error)
1362 return ret0, ret1
1363}
1364
1365// GetServiceChannelCounter indicates an expected call of GetServiceChannelCounter.
1366func (mr *MockDBIntfMockRecorder) GetServiceChannelCounter(ctx, serviceName, channel interface{}) *gomock.Call {
1367 mr.mock.ctrl.T.Helper()
1368 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServiceChannelCounter", reflect.TypeOf((*MockDBIntf)(nil).GetServiceChannelCounter), ctx, serviceName, channel)
1369}
1370
1371// GetServices mocks base method.
1372func (m *MockDBIntf) GetServices(ctx context.Context) (map[string]*kvstore.KVPair, error) {
1373 m.ctrl.T.Helper()
1374 ret := m.ctrl.Call(m, "GetServices", ctx)
1375 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
1376 ret1, _ := ret[1].(error)
1377 return ret0, ret1
1378}
1379
1380// GetServices indicates an expected call of GetServices.
1381func (mr *MockDBIntfMockRecorder) GetServices(ctx interface{}) *gomock.Call {
1382 mr.mock.ctrl.T.Helper()
1383 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetServices", reflect.TypeOf((*MockDBIntf)(nil).GetServices), ctx)
1384}
1385
1386// GetSubAlarmData mocks base method.
1387func (m *MockDBIntf) GetSubAlarmData(ctx context.Context, deviceID, portName string) (string, error) {
1388 m.ctrl.T.Helper()
1389 ret := m.ctrl.Call(m, "GetSubAlarmData", ctx, deviceID, portName)
1390 ret0, _ := ret[0].(string)
1391 ret1, _ := ret[1].(error)
1392 return ret0, ret1
1393}
1394
1395// GetSubAlarmData indicates an expected call of GetSubAlarmData.
1396func (mr *MockDBIntfMockRecorder) GetSubAlarmData(ctx, deviceID, portName interface{}) *gomock.Call {
1397 mr.mock.ctrl.T.Helper()
1398 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetSubAlarmData", reflect.TypeOf((*MockDBIntf)(nil).GetSubAlarmData), ctx, deviceID, portName)
1399}
1400
1401// GetVnet mocks base method.
1402func (m *MockDBIntf) GetVnet(ctx context.Context, name string) (string, error) {
1403 m.ctrl.T.Helper()
1404 ret := m.ctrl.Call(m, "GetVnet", ctx, name)
1405 ret0, _ := ret[0].(string)
1406 ret1, _ := ret[1].(error)
1407 return ret0, ret1
1408}
1409
1410// GetVnet indicates an expected call of GetVnet.
1411func (mr *MockDBIntfMockRecorder) GetVnet(ctx, name interface{}) *gomock.Call {
1412 mr.mock.ctrl.T.Helper()
1413 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVnet", reflect.TypeOf((*MockDBIntf)(nil).GetVnet), ctx, name)
1414}
1415
1416// GetVnets mocks base method.
1417func (m *MockDBIntf) GetVnets(ctx context.Context) (map[string]*kvstore.KVPair, error) {
1418 m.ctrl.T.Helper()
1419 ret := m.ctrl.Call(m, "GetVnets", ctx)
1420 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
1421 ret1, _ := ret[1].(error)
1422 return ret0, ret1
1423}
1424
1425// GetVnets indicates an expected call of GetVnets.
1426func (mr *MockDBIntfMockRecorder) GetVnets(ctx interface{}) *gomock.Call {
1427 mr.mock.ctrl.T.Helper()
1428 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVnets", reflect.TypeOf((*MockDBIntf)(nil).GetVnets), ctx)
1429}
1430
1431// GetVpv mocks base method.
1432func (m *MockDBIntf) GetVpv(ctx context.Context, port string, SVlan, CVlan, UniVlan uint16) (string, error) {
1433 m.ctrl.T.Helper()
1434 ret := m.ctrl.Call(m, "GetVpv", ctx, port, SVlan, CVlan, UniVlan)
1435 ret0, _ := ret[0].(string)
1436 ret1, _ := ret[1].(error)
1437 return ret0, ret1
1438}
1439
1440// GetVpv indicates an expected call of GetVpv.
1441func (mr *MockDBIntfMockRecorder) GetVpv(ctx, port, SVlan, CVlan, UniVlan interface{}) *gomock.Call {
1442 mr.mock.ctrl.T.Helper()
1443 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVpv", reflect.TypeOf((*MockDBIntf)(nil).GetVpv), ctx, port, SVlan, CVlan, UniVlan)
1444}
1445
1446// GetVpvs mocks base method.
1447func (m *MockDBIntf) GetVpvs(ctx context.Context) (map[string]*kvstore.KVPair, error) {
1448 m.ctrl.T.Helper()
1449 ret := m.ctrl.Call(m, "GetVpvs", ctx)
1450 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
1451 ret1, _ := ret[1].(error)
1452 return ret0, ret1
1453}
1454
1455// GetVpvs indicates an expected call of GetVpvs.
1456func (mr *MockDBIntfMockRecorder) GetVpvs(ctx interface{}) *gomock.Call {
1457 mr.mock.ctrl.T.Helper()
1458 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVpvs", reflect.TypeOf((*MockDBIntf)(nil).GetVpvs), ctx)
1459}
1460
1461// List mocks base method.
1462func (m *MockDBIntf) List(ctx context.Context, key string) (map[string]*kvstore.KVPair, error) {
1463 m.ctrl.T.Helper()
1464 ret := m.ctrl.Call(m, "List", ctx, key)
1465 ret0, _ := ret[0].(map[string]*kvstore.KVPair)
1466 ret1, _ := ret[1].(error)
1467 return ret0, ret1
1468}
1469
1470// List indicates an expected call of List.
1471func (mr *MockDBIntfMockRecorder) List(ctx, key interface{}) *gomock.Call {
1472 mr.mock.ctrl.T.Helper()
1473 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "List", reflect.TypeOf((*MockDBIntf)(nil).List), ctx, key)
1474}
1475
1476// OltExists mocks base method.
1477func (m *MockDBIntf) OltExists(ctx context.Context, deviceID string) bool {
1478 m.ctrl.T.Helper()
1479 ret := m.ctrl.Call(m, "OltExists", ctx, deviceID)
1480 ret0, _ := ret[0].(bool)
1481 return ret0
1482}
1483
1484// OltExists indicates an expected call of OltExists.
1485func (mr *MockDBIntfMockRecorder) OltExists(ctx, deviceID interface{}) *gomock.Call {
1486 mr.mock.ctrl.T.Helper()
1487 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "OltExists", reflect.TypeOf((*MockDBIntf)(nil).OltExists), ctx, deviceID)
1488}
1489
1490// Put mocks base method.
1491func (m *MockDBIntf) Put(ctx context.Context, fullKeyPath, value string) error {
1492 m.ctrl.T.Helper()
1493 ret := m.ctrl.Call(m, "Put", ctx, fullKeyPath, value)
1494 ret0, _ := ret[0].(error)
1495 return ret0
1496}
1497
1498// Put indicates an expected call of Put.
1499func (mr *MockDBIntfMockRecorder) Put(ctx, fullKeyPath, value interface{}) *gomock.Call {
1500 mr.mock.ctrl.T.Helper()
1501 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Put", reflect.TypeOf((*MockDBIntf)(nil).Put), ctx, fullKeyPath, value)
1502}
1503
1504// PutDeviceConfig mocks base method.
1505func (m *MockDBIntf) PutDeviceConfig(ctx context.Context, serialNum, value string) error {
1506 m.ctrl.T.Helper()
1507 ret := m.ctrl.Call(m, "PutDeviceConfig", ctx, serialNum, value)
1508 ret0, _ := ret[0].(error)
1509 return ret0
1510}
1511
1512// PutDeviceConfig indicates an expected call of PutDeviceConfig.
1513func (mr *MockDBIntfMockRecorder) PutDeviceConfig(ctx, serialNum, value interface{}) *gomock.Call {
1514 mr.mock.ctrl.T.Helper()
1515 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutDeviceConfig", reflect.TypeOf((*MockDBIntf)(nil).PutDeviceConfig), ctx, serialNum, value)
1516}
1517
1518// PutDeviceMeter mocks base method.
1519func (m *MockDBIntf) PutDeviceMeter(ctx context.Context, deviceID string, meterID uint32, value string) error {
1520 m.ctrl.T.Helper()
1521 ret := m.ctrl.Call(m, "PutDeviceMeter", ctx, deviceID, meterID, value)
1522 ret0, _ := ret[0].(error)
1523 return ret0
1524}
1525
1526// PutDeviceMeter indicates an expected call of PutDeviceMeter.
1527func (mr *MockDBIntfMockRecorder) PutDeviceMeter(ctx, deviceID, meterID, value interface{}) *gomock.Call {
1528 mr.mock.ctrl.T.Helper()
1529 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutDeviceMeter", reflect.TypeOf((*MockDBIntf)(nil).PutDeviceMeter), ctx, deviceID, meterID, value)
1530}
1531
1532// PutFlow mocks base method.
1533func (m *MockDBIntf) PutFlow(ctx context.Context, deviceID string, flowID uint64, value string) error {
1534 m.ctrl.T.Helper()
1535 ret := m.ctrl.Call(m, "PutFlow", ctx, deviceID, flowID, value)
1536 ret0, _ := ret[0].(error)
1537 return ret0
1538}
1539
1540// PutFlow indicates an expected call of PutFlow.
1541func (mr *MockDBIntfMockRecorder) PutFlow(ctx, deviceID, flowID, value interface{}) *gomock.Call {
1542 mr.mock.ctrl.T.Helper()
1543 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutFlow", reflect.TypeOf((*MockDBIntf)(nil).PutFlow), ctx, deviceID, flowID, value)
1544}
1545
1546// PutFlowHash mocks base method.
1547func (m *MockDBIntf) PutFlowHash(ctx context.Context, deviceID, value string) error {
1548 m.ctrl.T.Helper()
1549 ret := m.ctrl.Call(m, "PutFlowHash", ctx, deviceID, value)
1550 ret0, _ := ret[0].(error)
1551 return ret0
1552}
1553
1554// PutFlowHash indicates an expected call of PutFlowHash.
1555func (mr *MockDBIntfMockRecorder) PutFlowHash(ctx, deviceID, value interface{}) *gomock.Call {
1556 mr.mock.ctrl.T.Helper()
1557 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutFlowHash", reflect.TypeOf((*MockDBIntf)(nil).PutFlowHash), ctx, deviceID, value)
1558}
1559
1560// PutGroup mocks base method.
1561func (m *MockDBIntf) PutGroup(ctx context.Context, deviceID string, groupID uint32, value string) error {
1562 m.ctrl.T.Helper()
1563 ret := m.ctrl.Call(m, "PutGroup", ctx, deviceID, groupID, value)
1564 ret0, _ := ret[0].(error)
1565 return ret0
1566}
1567
1568// PutGroup indicates an expected call of PutGroup.
1569func (mr *MockDBIntfMockRecorder) PutGroup(ctx, deviceID, groupID, value interface{}) *gomock.Call {
1570 mr.mock.ctrl.T.Helper()
1571 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutGroup", reflect.TypeOf((*MockDBIntf)(nil).PutGroup), ctx, deviceID, groupID, value)
1572}
1573
1574// PutHealth mocks base method.
1575func (m *MockDBIntf) PutHealth(ctx context.Context, value string) error {
1576 m.ctrl.T.Helper()
1577 ret := m.ctrl.Call(m, "PutHealth", ctx, value)
1578 ret0, _ := ret[0].(error)
1579 return ret0
1580}
1581
1582// PutHealth indicates an expected call of PutHealth.
1583func (mr *MockDBIntfMockRecorder) PutHealth(ctx, value interface{}) *gomock.Call {
1584 mr.mock.ctrl.T.Helper()
1585 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutHealth", reflect.TypeOf((*MockDBIntf)(nil).PutHealth), ctx, value)
1586}
1587
1588// PutIgmpChannel mocks base method.
1589func (m *MockDBIntf) PutIgmpChannel(ctx context.Context, mvlan of.VlanType, gName, device string, gip net.IP, value string) error {
1590 m.ctrl.T.Helper()
1591 ret := m.ctrl.Call(m, "PutIgmpChannel", ctx, mvlan, gName, device, gip, value)
1592 ret0, _ := ret[0].(error)
1593 return ret0
1594}
1595
1596// PutIgmpChannel indicates an expected call of PutIgmpChannel.
1597func (mr *MockDBIntfMockRecorder) PutIgmpChannel(ctx, mvlan, gName, device, gip, value interface{}) *gomock.Call {
1598 mr.mock.ctrl.T.Helper()
1599 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutIgmpChannel", reflect.TypeOf((*MockDBIntf)(nil).PutIgmpChannel), ctx, mvlan, gName, device, gip, value)
1600}
1601
1602// PutIgmpDevice mocks base method.
1603func (m *MockDBIntf) PutIgmpDevice(ctx context.Context, mvlan of.VlanType, gid string, gip net.IP, device, value string) error {
1604 m.ctrl.T.Helper()
1605 ret := m.ctrl.Call(m, "PutIgmpDevice", ctx, mvlan, gid, gip, device, value)
1606 ret0, _ := ret[0].(error)
1607 return ret0
1608}
1609
1610// PutIgmpDevice indicates an expected call of PutIgmpDevice.
1611func (mr *MockDBIntfMockRecorder) PutIgmpDevice(ctx, mvlan, gid, gip, device, value interface{}) *gomock.Call {
1612 mr.mock.ctrl.T.Helper()
1613 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutIgmpDevice", reflect.TypeOf((*MockDBIntf)(nil).PutIgmpDevice), ctx, mvlan, gid, gip, device, value)
1614}
1615
1616// PutIgmpGroup mocks base method.
1617func (m *MockDBIntf) PutIgmpGroup(ctx context.Context, id, value string) error {
1618 m.ctrl.T.Helper()
1619 ret := m.ctrl.Call(m, "PutIgmpGroup", ctx, id, value)
1620 ret0, _ := ret[0].(error)
1621 return ret0
1622}
1623
1624// PutIgmpGroup indicates an expected call of PutIgmpGroup.
1625func (mr *MockDBIntfMockRecorder) PutIgmpGroup(ctx, id, value interface{}) *gomock.Call {
1626 mr.mock.ctrl.T.Helper()
1627 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutIgmpGroup", reflect.TypeOf((*MockDBIntf)(nil).PutIgmpGroup), ctx, id, value)
1628}
1629
1630// PutIgmpProfile mocks base method.
1631func (m *MockDBIntf) PutIgmpProfile(ctx context.Context, name, value string) error {
1632 m.ctrl.T.Helper()
1633 ret := m.ctrl.Call(m, "PutIgmpProfile", ctx, name, value)
1634 ret0, _ := ret[0].(error)
1635 return ret0
1636}
1637
1638// PutIgmpProfile indicates an expected call of PutIgmpProfile.
1639func (mr *MockDBIntfMockRecorder) PutIgmpProfile(ctx, name, value interface{}) *gomock.Call {
1640 mr.mock.ctrl.T.Helper()
1641 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutIgmpProfile", reflect.TypeOf((*MockDBIntf)(nil).PutIgmpProfile), ctx, name, value)
1642}
1643
1644// PutIgmpRcvr mocks base method.
1645func (m *MockDBIntf) PutIgmpRcvr(ctx context.Context, mvlan of.VlanType, gip net.IP, device, rcvr, value string) error {
1646 m.ctrl.T.Helper()
1647 ret := m.ctrl.Call(m, "PutIgmpRcvr", ctx, mvlan, gip, device, rcvr, value)
1648 ret0, _ := ret[0].(error)
1649 return ret0
1650}
1651
1652// PutIgmpRcvr indicates an expected call of PutIgmpRcvr.
1653func (mr *MockDBIntfMockRecorder) PutIgmpRcvr(ctx, mvlan, gip, device, rcvr, value interface{}) *gomock.Call {
1654 mr.mock.ctrl.T.Helper()
1655 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutIgmpRcvr", reflect.TypeOf((*MockDBIntf)(nil).PutIgmpRcvr), ctx, mvlan, gip, device, rcvr, value)
1656}
1657
1658// PutMcastConfig mocks base method.
1659func (m *MockDBIntf) PutMcastConfig(ctx context.Context, name, value string) error {
1660 m.ctrl.T.Helper()
1661 ret := m.ctrl.Call(m, "PutMcastConfig", ctx, name, value)
1662 ret0, _ := ret[0].(error)
1663 return ret0
1664}
1665
1666// PutMcastConfig indicates an expected call of PutMcastConfig.
1667func (mr *MockDBIntfMockRecorder) PutMcastConfig(ctx, name, value interface{}) *gomock.Call {
1668 mr.mock.ctrl.T.Helper()
1669 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutMcastConfig", reflect.TypeOf((*MockDBIntf)(nil).PutMcastConfig), ctx, name, value)
1670}
1671
1672// PutMeter mocks base method.
1673func (m *MockDBIntf) PutMeter(ctx context.Context, name, value string) error {
1674 m.ctrl.T.Helper()
1675 ret := m.ctrl.Call(m, "PutMeter", ctx, name, value)
1676 ret0, _ := ret[0].(error)
1677 return ret0
1678}
1679
1680// PutMeter indicates an expected call of PutMeter.
1681func (mr *MockDBIntfMockRecorder) PutMeter(ctx, name, value interface{}) *gomock.Call {
1682 mr.mock.ctrl.T.Helper()
1683 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutMeter", reflect.TypeOf((*MockDBIntf)(nil).PutMeter), ctx, name, value)
1684}
1685
1686// PutMigrateServicesReq mocks base method.
1687func (m *MockDBIntf) PutMigrateServicesReq(ctx context.Context, deviceID, vlan, value string) error {
1688 m.ctrl.T.Helper()
1689 ret := m.ctrl.Call(m, "PutMigrateServicesReq", ctx, deviceID, vlan, value)
1690 ret0, _ := ret[0].(error)
1691 return ret0
1692}
1693
1694// PutMigrateServicesReq indicates an expected call of PutMigrateServicesReq.
1695func (mr *MockDBIntfMockRecorder) PutMigrateServicesReq(ctx, deviceID, vlan, value interface{}) *gomock.Call {
1696 mr.mock.ctrl.T.Helper()
1697 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutMigrateServicesReq", reflect.TypeOf((*MockDBIntf)(nil).PutMigrateServicesReq), ctx, deviceID, vlan, value)
1698}
1699
1700// PutMigrationInfo mocks base method.
1701func (m *MockDBIntf) PutMigrationInfo(ctx context.Context, value string) error {
1702 m.ctrl.T.Helper()
1703 ret := m.ctrl.Call(m, "PutMigrationInfo", ctx, value)
1704 ret0, _ := ret[0].(error)
1705 return ret0
1706}
1707
1708// PutMigrationInfo indicates an expected call of PutMigrationInfo.
1709func (mr *MockDBIntfMockRecorder) PutMigrationInfo(ctx, value interface{}) *gomock.Call {
1710 mr.mock.ctrl.T.Helper()
1711 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutMigrationInfo", reflect.TypeOf((*MockDBIntf)(nil).PutMigrationInfo), ctx, value)
1712}
1713
1714// PutMvlan mocks base method.
1715func (m *MockDBIntf) PutMvlan(ctx context.Context, mvlan uint16, value string) error {
1716 m.ctrl.T.Helper()
1717 ret := m.ctrl.Call(m, "PutMvlan", ctx, mvlan, value)
1718 ret0, _ := ret[0].(error)
1719 return ret0
1720}
1721
1722// PutMvlan indicates an expected call of PutMvlan.
1723func (mr *MockDBIntfMockRecorder) PutMvlan(ctx, mvlan, value interface{}) *gomock.Call {
1724 mr.mock.ctrl.T.Helper()
1725 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutMvlan", reflect.TypeOf((*MockDBIntf)(nil).PutMvlan), ctx, mvlan, value)
1726}
1727
1728// PutNbDevicePort mocks base method.
1729func (m *MockDBIntf) PutNbDevicePort(ctx context.Context, device string, ponPortID uint32, value string) {
1730 m.ctrl.T.Helper()
1731 m.ctrl.Call(m, "PutNbDevicePort", ctx, device, ponPortID, value)
1732}
1733
1734// PutNbDevicePort indicates an expected call of PutNbDevicePort.
1735func (mr *MockDBIntfMockRecorder) PutNbDevicePort(ctx, device, ponPortID, value interface{}) *gomock.Call {
1736 mr.mock.ctrl.T.Helper()
1737 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutNbDevicePort", reflect.TypeOf((*MockDBIntf)(nil).PutNbDevicePort), ctx, device, ponPortID, value)
1738}
1739
1740// PutOlt mocks base method.
1741func (m *MockDBIntf) PutOlt(ctx context.Context, deviceID, value string) error {
1742 m.ctrl.T.Helper()
1743 ret := m.ctrl.Call(m, "PutOlt", ctx, deviceID, value)
1744 ret0, _ := ret[0].(error)
1745 return ret0
1746}
1747
1748// PutOlt indicates an expected call of PutOlt.
1749func (mr *MockDBIntfMockRecorder) PutOlt(ctx, deviceID, value interface{}) *gomock.Call {
1750 mr.mock.ctrl.T.Helper()
1751 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutOlt", reflect.TypeOf((*MockDBIntf)(nil).PutOlt), ctx, deviceID, value)
1752}
1753
1754// PutOltFlowService mocks base method.
1755func (m *MockDBIntf) PutOltFlowService(ctx context.Context, value string) error {
1756 m.ctrl.T.Helper()
1757 ret := m.ctrl.Call(m, "PutOltFlowService", ctx, value)
1758 ret0, _ := ret[0].(error)
1759 return ret0
1760}
1761
1762// PutOltFlowService indicates an expected call of PutOltFlowService.
1763func (mr *MockDBIntfMockRecorder) PutOltFlowService(ctx, value interface{}) *gomock.Call {
1764 mr.mock.ctrl.T.Helper()
1765 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutOltFlowService", reflect.TypeOf((*MockDBIntf)(nil).PutOltFlowService), ctx, value)
1766}
1767
1768// PutOltIgmpCounters mocks base method.
1769func (m *MockDBIntf) PutOltIgmpCounters(ctx context.Context, device, value string) error {
1770 m.ctrl.T.Helper()
1771 ret := m.ctrl.Call(m, "PutOltIgmpCounters", ctx, device, value)
1772 ret0, _ := ret[0].(error)
1773 return ret0
1774}
1775
1776// PutOltIgmpCounters indicates an expected call of PutOltIgmpCounters.
1777func (mr *MockDBIntfMockRecorder) PutOltIgmpCounters(ctx, device, value interface{}) *gomock.Call {
1778 mr.mock.ctrl.T.Helper()
1779 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutOltIgmpCounters", reflect.TypeOf((*MockDBIntf)(nil).PutOltIgmpCounters), ctx, device, value)
1780}
1781
1782// PutPonChannelCounter mocks base method.
1783func (m *MockDBIntf) PutPonChannelCounter(ctx context.Context, device, ponID, channel, value string) error {
1784 m.ctrl.T.Helper()
1785 ret := m.ctrl.Call(m, "PutPonChannelCounter", ctx, device, ponID, channel, value)
1786 ret0, _ := ret[0].(error)
1787 return ret0
1788}
1789
1790// PutPonChannelCounter indicates an expected call of PutPonChannelCounter.
1791func (mr *MockDBIntfMockRecorder) PutPonChannelCounter(ctx, device, ponID, channel, value interface{}) *gomock.Call {
1792 mr.mock.ctrl.T.Helper()
1793 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutPonChannelCounter", reflect.TypeOf((*MockDBIntf)(nil).PutPonChannelCounter), ctx, device, ponID, channel, value)
1794}
1795
1796// PutPonCounter mocks base method.
1797func (m *MockDBIntf) PutPonCounter(ctx context.Context, device, ponID, value string) error {
1798 m.ctrl.T.Helper()
1799 ret := m.ctrl.Call(m, "PutPonCounter", ctx, device, ponID, value)
1800 ret0, _ := ret[0].(error)
1801 return ret0
1802}
1803
1804// PutPonCounter indicates an expected call of PutPonCounter.
1805func (mr *MockDBIntfMockRecorder) PutPonCounter(ctx, device, ponID, value interface{}) *gomock.Call {
1806 mr.mock.ctrl.T.Helper()
1807 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutPonCounter", reflect.TypeOf((*MockDBIntf)(nil).PutPonCounter), ctx, device, ponID, value)
1808}
1809
1810// PutPort mocks base method.
1811func (m *MockDBIntf) PutPort(ctx context.Context, deviceID string, portID uint32, value string) error {
1812 m.ctrl.T.Helper()
1813 ret := m.ctrl.Call(m, "PutPort", ctx, deviceID, portID, value)
1814 ret0, _ := ret[0].(error)
1815 return ret0
1816}
1817
1818// PutPort indicates an expected call of PutPort.
1819func (mr *MockDBIntfMockRecorder) PutPort(ctx, deviceID, portID, value interface{}) *gomock.Call {
1820 mr.mock.ctrl.T.Helper()
1821 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutPort", reflect.TypeOf((*MockDBIntf)(nil).PutPort), ctx, deviceID, portID, value)
1822}
1823
1824// PutPortAlarmData mocks base method.
1825func (m *MockDBIntf) PutPortAlarmData(ctx context.Context, deviceID string, portID uint32, value string) {
1826 m.ctrl.T.Helper()
1827 m.ctrl.Call(m, "PutPortAlarmData", ctx, deviceID, portID, value)
1828}
1829
1830// PutPortAlarmData indicates an expected call of PutPortAlarmData.
1831func (mr *MockDBIntfMockRecorder) PutPortAlarmData(ctx, deviceID, portID, value interface{}) *gomock.Call {
1832 mr.mock.ctrl.T.Helper()
1833 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutPortAlarmData", reflect.TypeOf((*MockDBIntf)(nil).PutPortAlarmData), ctx, deviceID, portID, value)
1834}
1835
1836// PutPortAlarmProfile mocks base method.
1837func (m *MockDBIntf) PutPortAlarmProfile(ctx context.Context, portAlarmProfileID, value string) {
1838 m.ctrl.T.Helper()
1839 m.ctrl.Call(m, "PutPortAlarmProfile", ctx, portAlarmProfileID, value)
1840}
1841
1842// PutPortAlarmProfile indicates an expected call of PutPortAlarmProfile.
1843func (mr *MockDBIntfMockRecorder) PutPortAlarmProfile(ctx, portAlarmProfileID, value interface{}) *gomock.Call {
1844 mr.mock.ctrl.T.Helper()
1845 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutPortAlarmProfile", reflect.TypeOf((*MockDBIntf)(nil).PutPortAlarmProfile), ctx, portAlarmProfileID, value)
1846}
1847
1848// PutService mocks base method.
1849func (m *MockDBIntf) PutService(ctx context.Context, name, value string) error {
1850 m.ctrl.T.Helper()
1851 ret := m.ctrl.Call(m, "PutService", ctx, name, value)
1852 ret0, _ := ret[0].(error)
1853 return ret0
1854}
1855
1856// PutService indicates an expected call of PutService.
1857func (mr *MockDBIntfMockRecorder) PutService(ctx, name, value interface{}) *gomock.Call {
1858 mr.mock.ctrl.T.Helper()
1859 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutService", reflect.TypeOf((*MockDBIntf)(nil).PutService), ctx, name, value)
1860}
1861
1862// PutServiceChannelCounter mocks base method.
1863func (m *MockDBIntf) PutServiceChannelCounter(ctx context.Context, serviceName, channel, value string) error {
1864 m.ctrl.T.Helper()
1865 ret := m.ctrl.Call(m, "PutServiceChannelCounter", ctx, serviceName, channel, value)
1866 ret0, _ := ret[0].(error)
1867 return ret0
1868}
1869
1870// PutServiceChannelCounter indicates an expected call of PutServiceChannelCounter.
1871func (mr *MockDBIntfMockRecorder) PutServiceChannelCounter(ctx, serviceName, channel, value interface{}) *gomock.Call {
1872 mr.mock.ctrl.T.Helper()
1873 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutServiceChannelCounter", reflect.TypeOf((*MockDBIntf)(nil).PutServiceChannelCounter), ctx, serviceName, channel, value)
1874}
1875
1876// PutSubAlarmData mocks base method.
1877func (m *MockDBIntf) PutSubAlarmData(ctx context.Context, deviceID, portName, value string) {
1878 m.ctrl.T.Helper()
1879 m.ctrl.Call(m, "PutSubAlarmData", ctx, deviceID, portName, value)
1880}
1881
1882// PutSubAlarmData indicates an expected call of PutSubAlarmData.
1883func (mr *MockDBIntfMockRecorder) PutSubAlarmData(ctx, deviceID, portName, value interface{}) *gomock.Call {
1884 mr.mock.ctrl.T.Helper()
1885 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutSubAlarmData", reflect.TypeOf((*MockDBIntf)(nil).PutSubAlarmData), ctx, deviceID, portName, value)
1886}
1887
1888// PutVnet mocks base method.
1889func (m *MockDBIntf) PutVnet(ctx context.Context, name, value string) error {
1890 m.ctrl.T.Helper()
1891 ret := m.ctrl.Call(m, "PutVnet", ctx, name, value)
1892 ret0, _ := ret[0].(error)
1893 return ret0
1894}
1895
1896// PutVnet indicates an expected call of PutVnet.
1897func (mr *MockDBIntfMockRecorder) PutVnet(ctx, name, value interface{}) *gomock.Call {
1898 mr.mock.ctrl.T.Helper()
1899 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutVnet", reflect.TypeOf((*MockDBIntf)(nil).PutVnet), ctx, name, value)
1900}
1901
1902// PutVpv mocks base method.
1903func (m *MockDBIntf) PutVpv(ctx context.Context, port string, SVlan, CVlan, UniVlan uint16, value string) error {
1904 m.ctrl.T.Helper()
1905 ret := m.ctrl.Call(m, "PutVpv", ctx, port, SVlan, CVlan, UniVlan, value)
1906 ret0, _ := ret[0].(error)
1907 return ret0
1908}
1909
1910// PutVpv indicates an expected call of PutVpv.
1911func (mr *MockDBIntfMockRecorder) PutVpv(ctx, port, SVlan, CVlan, UniVlan, value interface{}) *gomock.Call {
1912 mr.mock.ctrl.T.Helper()
1913 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutVpv", reflect.TypeOf((*MockDBIntf)(nil).PutVpv), ctx, port, SVlan, CVlan, UniVlan, value)
1914}