diff --git a/dist/images/Dockerfile.base b/dist/images/Dockerfile.base index 393f6996ba3e..624fcfe887f1 100644 --- a/dist/images/Dockerfile.base +++ b/dist/images/Dockerfile.base @@ -48,7 +48,9 @@ RUN cd /usr/src/ && git clone -b branch-22.12 --depth=1 https://github.com/ovn-o # lflow: do not send direct traffic between lports to conntrack curl -s https://github.com/kubeovn/ovn/commit/54cbe0d1ba2051e640dd3e53498f373362547691.patch | git apply && \ # northd: add nb option version_compatibility - curl -s https://github.com/kubeovn/ovn/commit/06f5a7c684a6030036e2663eecf934b37c3e666e.patch | git apply + curl -s https://github.com/kubeovn/ovn/commit/06f5a7c684a6030036e2663eecf934b37c3e666e.patch | git apply && \ + # northd: skip conntrack when access node local dns ip + curl -s https://github.com/kubeovn/ovn/commit/e529c44edcfffe9edd97b2d2e216b0a7228a6a85.patch | git apply RUN apt install -y build-essential fakeroot \ autoconf automake bzip2 debhelper-compat dh-exec dh-python dh-sequence-python3 dh-sequence-sphinxdoc \ diff --git a/go.mod b/go.mod index e7bfad1855e3..aee85bd46301 100644 --- a/go.mod +++ b/go.mod @@ -17,6 +17,7 @@ require ( github.com/emicklei/go-restful/v3 v3.12.0 github.com/evanphx/json-patch/v5 v5.9.0 github.com/go-logr/stdr v1.2.2 + github.com/golang/mock v1.6.0 github.com/google/uuid v1.6.0 github.com/greenpau/ovsdb v1.0.3 github.com/k8snetworkplumbingwg/network-attachment-definition-client v1.6.0 @@ -128,7 +129,6 @@ require ( github.com/golang-jwt/jwt/v4 v4.5.0 // indirect github.com/golang/glog v1.2.0 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect - github.com/golang/mock v1.6.0 // indirect github.com/golang/protobuf v1.5.4 // indirect github.com/google/btree v1.1.2 // indirect github.com/google/cadvisor v0.48.1 // indirect diff --git a/mocks/pkg/ovs/interface.go b/mocks/pkg/ovs/interface.go index 021e69d4ff5c..586ee8e31905 100644 --- a/mocks/pkg/ovs/interface.go +++ b/mocks/pkg/ovs/interface.go @@ -1,10 +1,5 @@ // Code generated by MockGen. DO NOT EDIT. // Source: ../pkg/ovs/interface.go -// -// Generated by this command: -// -// mockgen -source=../pkg/ovs/interface.go -destination=./pkg/ovs/interface.go -package=ovs -// // Package ovs is a generated GoMock package. package ovs @@ -12,13 +7,13 @@ package ovs import ( reflect "reflect" + gomock "github.com/golang/mock/gomock" v1 "github.com/kubeovn/kube-ovn/pkg/apis/kubeovn/v1" ovs "github.com/kubeovn/kube-ovn/pkg/ovs" ovnnb "github.com/kubeovn/kube-ovn/pkg/ovsdb/ovnnb" ovnsb "github.com/kubeovn/kube-ovn/pkg/ovsdb/ovnsb" util "github.com/kubeovn/kube-ovn/pkg/util" ovsdb "github.com/ovn-org/libovsdb/ovsdb" - gomock "go.uber.org/mock/gomock" v10 "k8s.io/api/networking/v1" ) @@ -69,7 +64,7 @@ func (m *MockNBGlobal) SetAzName(azName string) error { } // SetAzName indicates an expected call of SetAzName. -func (mr *MockNBGlobalMockRecorder) SetAzName(azName any) *gomock.Call { +func (mr *MockNBGlobalMockRecorder) SetAzName(azName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAzName", reflect.TypeOf((*MockNBGlobal)(nil).SetAzName), azName) } @@ -83,7 +78,7 @@ func (m *MockNBGlobal) SetICAutoRoute(enable bool, blackList []string) error { } // SetICAutoRoute indicates an expected call of SetICAutoRoute. -func (mr *MockNBGlobalMockRecorder) SetICAutoRoute(enable, blackList any) *gomock.Call { +func (mr *MockNBGlobalMockRecorder) SetICAutoRoute(enable, blackList interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetICAutoRoute", reflect.TypeOf((*MockNBGlobal)(nil).SetICAutoRoute), enable, blackList) } @@ -97,7 +92,7 @@ func (m *MockNBGlobal) SetLsCtSkipDstLportIPs(enabled bool) error { } // SetLsCtSkipDstLportIPs indicates an expected call of SetLsCtSkipDstLportIPs. -func (mr *MockNBGlobalMockRecorder) SetLsCtSkipDstLportIPs(enabled any) *gomock.Call { +func (mr *MockNBGlobalMockRecorder) SetLsCtSkipDstLportIPs(enabled interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLsCtSkipDstLportIPs", reflect.TypeOf((*MockNBGlobal)(nil).SetLsCtSkipDstLportIPs), enabled) } @@ -111,11 +106,25 @@ func (m *MockNBGlobal) SetLsDnatModDlDst(enabled bool) error { } // SetLsDnatModDlDst indicates an expected call of SetLsDnatModDlDst. -func (mr *MockNBGlobalMockRecorder) SetLsDnatModDlDst(enabled any) *gomock.Call { +func (mr *MockNBGlobalMockRecorder) SetLsDnatModDlDst(enabled interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLsDnatModDlDst", reflect.TypeOf((*MockNBGlobal)(nil).SetLsDnatModDlDst), enabled) } +// SetNodeLocalDNSIP mocks base method. +func (m *MockNBGlobal) SetNodeLocalDNSIP(nodeLocalDNSIP string) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SetNodeLocalDNSIP", nodeLocalDNSIP) + ret0, _ := ret[0].(error) + return ret0 +} + +// SetNodeLocalDNSIP indicates an expected call of SetNodeLocalDNSIP. +func (mr *MockNBGlobalMockRecorder) SetNodeLocalDNSIP(nodeLocalDNSIP interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNodeLocalDNSIP", reflect.TypeOf((*MockNBGlobal)(nil).SetNodeLocalDNSIP), nodeLocalDNSIP) +} + // SetUseCtInvMatch mocks base method. func (m *MockNBGlobal) SetUseCtInvMatch() error { m.ctrl.T.Helper() @@ -131,9 +140,9 @@ func (mr *MockNBGlobalMockRecorder) SetUseCtInvMatch() *gomock.Call { } // UpdateNbGlobal mocks base method. -func (m *MockNBGlobal) UpdateNbGlobal(nbGlobal *ovnnb.NBGlobal, fields ...any) error { +func (m *MockNBGlobal) UpdateNbGlobal(nbGlobal *ovnnb.NBGlobal, fields ...interface{}) error { m.ctrl.T.Helper() - varargs := []any{nbGlobal} + varargs := []interface{}{nbGlobal} for _, a := range fields { varargs = append(varargs, a) } @@ -143,9 +152,9 @@ func (m *MockNBGlobal) UpdateNbGlobal(nbGlobal *ovnnb.NBGlobal, fields ...any) e } // UpdateNbGlobal indicates an expected call of UpdateNbGlobal. -func (mr *MockNBGlobalMockRecorder) UpdateNbGlobal(nbGlobal any, fields ...any) *gomock.Call { +func (mr *MockNBGlobalMockRecorder) UpdateNbGlobal(nbGlobal interface{}, fields ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{nbGlobal}, fields...) + varargs := append([]interface{}{nbGlobal}, fields...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateNbGlobal", reflect.TypeOf((*MockNBGlobal)(nil).UpdateNbGlobal), varargs...) } @@ -181,7 +190,7 @@ func (m *MockLogicalRouter) CreateLogicalRouter(lrName string) error { } // CreateLogicalRouter indicates an expected call of CreateLogicalRouter. -func (mr *MockLogicalRouterMockRecorder) CreateLogicalRouter(lrName any) *gomock.Call { +func (mr *MockLogicalRouterMockRecorder) CreateLogicalRouter(lrName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalRouter", reflect.TypeOf((*MockLogicalRouter)(nil).CreateLogicalRouter), lrName) } @@ -195,7 +204,7 @@ func (m *MockLogicalRouter) DeleteLogicalRouter(lrName string) error { } // DeleteLogicalRouter indicates an expected call of DeleteLogicalRouter. -func (mr *MockLogicalRouterMockRecorder) DeleteLogicalRouter(lrName any) *gomock.Call { +func (mr *MockLogicalRouterMockRecorder) DeleteLogicalRouter(lrName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouter", reflect.TypeOf((*MockLogicalRouter)(nil).DeleteLogicalRouter), lrName) } @@ -210,7 +219,7 @@ func (m *MockLogicalRouter) GetLogicalRouter(lrName string, ignoreNotFound bool) } // GetLogicalRouter indicates an expected call of GetLogicalRouter. -func (mr *MockLogicalRouterMockRecorder) GetLogicalRouter(lrName, ignoreNotFound any) *gomock.Call { +func (mr *MockLogicalRouterMockRecorder) GetLogicalRouter(lrName, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouter", reflect.TypeOf((*MockLogicalRouter)(nil).GetLogicalRouter), lrName, ignoreNotFound) } @@ -225,7 +234,7 @@ func (m *MockLogicalRouter) ListLogicalRouter(needVendorFilter bool, filter func } // ListLogicalRouter indicates an expected call of ListLogicalRouter. -func (mr *MockLogicalRouterMockRecorder) ListLogicalRouter(needVendorFilter, filter any) *gomock.Call { +func (mr *MockLogicalRouterMockRecorder) ListLogicalRouter(needVendorFilter, filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouter", reflect.TypeOf((*MockLogicalRouter)(nil).ListLogicalRouter), needVendorFilter, filter) } @@ -240,7 +249,7 @@ func (m *MockLogicalRouter) LogicalRouterExists(name string) (bool, error) { } // LogicalRouterExists indicates an expected call of LogicalRouterExists. -func (mr *MockLogicalRouterMockRecorder) LogicalRouterExists(name any) *gomock.Call { +func (mr *MockLogicalRouterMockRecorder) LogicalRouterExists(name interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalRouterExists", reflect.TypeOf((*MockLogicalRouter)(nil).LogicalRouterExists), name) } @@ -248,7 +257,7 @@ func (mr *MockLogicalRouterMockRecorder) LogicalRouterExists(name any) *gomock.C // LogicalRouterUpdateLoadBalancers mocks base method. func (m *MockLogicalRouter) LogicalRouterUpdateLoadBalancers(lrName string, op ovsdb.Mutator, lbNames ...string) error { m.ctrl.T.Helper() - varargs := []any{lrName, op} + varargs := []interface{}{lrName, op} for _, a := range lbNames { varargs = append(varargs, a) } @@ -258,9 +267,9 @@ func (m *MockLogicalRouter) LogicalRouterUpdateLoadBalancers(lrName string, op o } // LogicalRouterUpdateLoadBalancers indicates an expected call of LogicalRouterUpdateLoadBalancers. -func (mr *MockLogicalRouterMockRecorder) LogicalRouterUpdateLoadBalancers(lrName, op any, lbNames ...any) *gomock.Call { +func (mr *MockLogicalRouterMockRecorder) LogicalRouterUpdateLoadBalancers(lrName, op interface{}, lbNames ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{lrName, op}, lbNames...) + varargs := append([]interface{}{lrName, op}, lbNames...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalRouterUpdateLoadBalancers", reflect.TypeOf((*MockLogicalRouter)(nil).LogicalRouterUpdateLoadBalancers), varargs...) } @@ -296,7 +305,7 @@ func (m *MockLogicalRouterPort) CreateLogicalRouterPort(lrName, lrpName, mac str } // CreateLogicalRouterPort indicates an expected call of CreateLogicalRouterPort. -func (mr *MockLogicalRouterPortMockRecorder) CreateLogicalRouterPort(lrName, lrpName, mac, networks any) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) CreateLogicalRouterPort(lrName, lrpName, mac, networks interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalRouterPort", reflect.TypeOf((*MockLogicalRouterPort)(nil).CreateLogicalRouterPort), lrName, lrpName, mac, networks) } @@ -310,7 +319,7 @@ func (m *MockLogicalRouterPort) CreatePeerRouterPort(localRouter, remoteRouter, } // CreatePeerRouterPort indicates an expected call of CreatePeerRouterPort. -func (mr *MockLogicalRouterPortMockRecorder) CreatePeerRouterPort(localRouter, remoteRouter, localRouterPortIP any) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) CreatePeerRouterPort(localRouter, remoteRouter, localRouterPortIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePeerRouterPort", reflect.TypeOf((*MockLogicalRouterPort)(nil).CreatePeerRouterPort), localRouter, remoteRouter, localRouterPortIP) } @@ -324,7 +333,7 @@ func (m *MockLogicalRouterPort) DeleteLogicalRouterPort(lrpName string) error { } // DeleteLogicalRouterPort indicates an expected call of DeleteLogicalRouterPort. -func (mr *MockLogicalRouterPortMockRecorder) DeleteLogicalRouterPort(lrpName any) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) DeleteLogicalRouterPort(lrpName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPort", reflect.TypeOf((*MockLogicalRouterPort)(nil).DeleteLogicalRouterPort), lrpName) } @@ -338,7 +347,7 @@ func (m *MockLogicalRouterPort) DeleteLogicalRouterPorts(externalIDs map[string] } // DeleteLogicalRouterPorts indicates an expected call of DeleteLogicalRouterPorts. -func (mr *MockLogicalRouterPortMockRecorder) DeleteLogicalRouterPorts(externalIDs, filter any) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) DeleteLogicalRouterPorts(externalIDs, filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPorts", reflect.TypeOf((*MockLogicalRouterPort)(nil).DeleteLogicalRouterPorts), externalIDs, filter) } @@ -353,7 +362,7 @@ func (m *MockLogicalRouterPort) GetLogicalRouterPort(lrpName string, ignoreNotFo } // GetLogicalRouterPort indicates an expected call of GetLogicalRouterPort. -func (mr *MockLogicalRouterPortMockRecorder) GetLogicalRouterPort(lrpName, ignoreNotFound any) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) GetLogicalRouterPort(lrpName, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouterPort", reflect.TypeOf((*MockLogicalRouterPort)(nil).GetLogicalRouterPort), lrpName, ignoreNotFound) } @@ -368,7 +377,7 @@ func (m *MockLogicalRouterPort) GetLogicalRouterPortByUUID(uuid string) (*ovnnb. } // GetLogicalRouterPortByUUID indicates an expected call of GetLogicalRouterPortByUUID. -func (mr *MockLogicalRouterPortMockRecorder) GetLogicalRouterPortByUUID(uuid any) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) GetLogicalRouterPortByUUID(uuid interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouterPortByUUID", reflect.TypeOf((*MockLogicalRouterPort)(nil).GetLogicalRouterPortByUUID), uuid) } @@ -383,7 +392,7 @@ func (m *MockLogicalRouterPort) ListGatewayChassisByLogicalRouterPort(lrpName st } // ListGatewayChassisByLogicalRouterPort indicates an expected call of ListGatewayChassisByLogicalRouterPort. -func (mr *MockLogicalRouterPortMockRecorder) ListGatewayChassisByLogicalRouterPort(lrpName, ignoreNotFound any) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) ListGatewayChassisByLogicalRouterPort(lrpName, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListGatewayChassisByLogicalRouterPort", reflect.TypeOf((*MockLogicalRouterPort)(nil).ListGatewayChassisByLogicalRouterPort), lrpName, ignoreNotFound) } @@ -398,7 +407,7 @@ func (m *MockLogicalRouterPort) ListLogicalRouterPorts(externalIDs map[string]st } // ListLogicalRouterPorts indicates an expected call of ListLogicalRouterPorts. -func (mr *MockLogicalRouterPortMockRecorder) ListLogicalRouterPorts(externalIDs, filter any) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) ListLogicalRouterPorts(externalIDs, filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouterPorts", reflect.TypeOf((*MockLogicalRouterPort)(nil).ListLogicalRouterPorts), externalIDs, filter) } @@ -413,7 +422,7 @@ func (m *MockLogicalRouterPort) LogicalRouterPortExists(lrpName string) (bool, e } // LogicalRouterPortExists indicates an expected call of LogicalRouterPortExists. -func (mr *MockLogicalRouterPortMockRecorder) LogicalRouterPortExists(lrpName any) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) LogicalRouterPortExists(lrpName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalRouterPortExists", reflect.TypeOf((*MockLogicalRouterPort)(nil).LogicalRouterPortExists), lrpName) } @@ -427,7 +436,7 @@ func (m *MockLogicalRouterPort) UpdateLogicalRouterPortOptions(lrpName string, o } // UpdateLogicalRouterPortOptions indicates an expected call of UpdateLogicalRouterPortOptions. -func (mr *MockLogicalRouterPortMockRecorder) UpdateLogicalRouterPortOptions(lrpName, options any) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) UpdateLogicalRouterPortOptions(lrpName, options interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalRouterPortOptions", reflect.TypeOf((*MockLogicalRouterPort)(nil).UpdateLogicalRouterPortOptions), lrpName, options) } @@ -441,7 +450,7 @@ func (m *MockLogicalRouterPort) UpdateLogicalRouterPortRA(lrpName, ipv6RAConfigs } // UpdateLogicalRouterPortRA indicates an expected call of UpdateLogicalRouterPortRA. -func (mr *MockLogicalRouterPortMockRecorder) UpdateLogicalRouterPortRA(lrpName, ipv6RAConfigsStr, enableIPv6RA any) *gomock.Call { +func (mr *MockLogicalRouterPortMockRecorder) UpdateLogicalRouterPortRA(lrpName, ipv6RAConfigsStr, enableIPv6RA interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalRouterPortRA", reflect.TypeOf((*MockLogicalRouterPort)(nil).UpdateLogicalRouterPortRA), lrpName, ipv6RAConfigsStr, enableIPv6RA) } @@ -470,9 +479,9 @@ func (m *MockGatewayChassis) EXPECT() *MockGatewayChassisMockRecorder { } // UpdateGatewayChassis mocks base method. -func (m *MockGatewayChassis) UpdateGatewayChassis(gwChassis *ovnnb.GatewayChassis, fields ...any) error { +func (m *MockGatewayChassis) UpdateGatewayChassis(gwChassis *ovnnb.GatewayChassis, fields ...interface{}) error { m.ctrl.T.Helper() - varargs := []any{gwChassis} + varargs := []interface{}{gwChassis} for _, a := range fields { varargs = append(varargs, a) } @@ -482,9 +491,9 @@ func (m *MockGatewayChassis) UpdateGatewayChassis(gwChassis *ovnnb.GatewayChassi } // UpdateGatewayChassis indicates an expected call of UpdateGatewayChassis. -func (mr *MockGatewayChassisMockRecorder) UpdateGatewayChassis(gwChassis any, fields ...any) *gomock.Call { +func (mr *MockGatewayChassisMockRecorder) UpdateGatewayChassis(gwChassis interface{}, fields ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{gwChassis}, fields...) + varargs := append([]interface{}{gwChassis}, fields...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateGatewayChassis", reflect.TypeOf((*MockGatewayChassis)(nil).UpdateGatewayChassis), varargs...) } @@ -521,7 +530,7 @@ func (m *MockBFD) CreateBFD(lrpName, dstIP string, minRx, minTx, detectMult int) } // CreateBFD indicates an expected call of CreateBFD. -func (mr *MockBFDMockRecorder) CreateBFD(lrpName, dstIP, minRx, minTx, detectMult any) *gomock.Call { +func (mr *MockBFDMockRecorder) CreateBFD(lrpName, dstIP, minRx, minTx, detectMult interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBFD", reflect.TypeOf((*MockBFD)(nil).CreateBFD), lrpName, dstIP, minRx, minTx, detectMult) } @@ -535,7 +544,7 @@ func (m *MockBFD) DeleteBFD(lrpName, dstIP string) error { } // DeleteBFD indicates an expected call of DeleteBFD. -func (mr *MockBFDMockRecorder) DeleteBFD(lrpName, dstIP any) *gomock.Call { +func (mr *MockBFDMockRecorder) DeleteBFD(lrpName, dstIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBFD", reflect.TypeOf((*MockBFD)(nil).DeleteBFD), lrpName, dstIP) } @@ -550,7 +559,7 @@ func (m *MockBFD) ListBFDs(lrpName, dstIP string) ([]ovnnb.BFD, error) { } // ListBFDs indicates an expected call of ListBFDs. -func (mr *MockBFDMockRecorder) ListBFDs(lrpName, dstIP any) *gomock.Call { +func (mr *MockBFDMockRecorder) ListBFDs(lrpName, dstIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListBFDs", reflect.TypeOf((*MockBFD)(nil).ListBFDs), lrpName, dstIP) } @@ -565,7 +574,7 @@ func (m *MockBFD) ListDownBFDs(dstIP string) ([]ovnnb.BFD, error) { } // ListDownBFDs indicates an expected call of ListDownBFDs. -func (mr *MockBFDMockRecorder) ListDownBFDs(dstIP any) *gomock.Call { +func (mr *MockBFDMockRecorder) ListDownBFDs(dstIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDownBFDs", reflect.TypeOf((*MockBFD)(nil).ListDownBFDs), dstIP) } @@ -580,7 +589,7 @@ func (m *MockBFD) ListUpBFDs(dstIP string) ([]ovnnb.BFD, error) { } // ListUpBFDs indicates an expected call of ListUpBFDs. -func (mr *MockBFDMockRecorder) ListUpBFDs(dstIP any) *gomock.Call { +func (mr *MockBFDMockRecorder) ListUpBFDs(dstIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListUpBFDs", reflect.TypeOf((*MockBFD)(nil).ListUpBFDs), dstIP) } @@ -598,9 +607,9 @@ func (mr *MockBFDMockRecorder) MonitorBFD() *gomock.Call { } // UpdateBFD mocks base method. -func (m *MockBFD) UpdateBFD(bfd *ovnnb.BFD, fields ...any) error { +func (m *MockBFD) UpdateBFD(bfd *ovnnb.BFD, fields ...interface{}) error { m.ctrl.T.Helper() - varargs := []any{bfd} + varargs := []interface{}{bfd} for _, a := range fields { varargs = append(varargs, a) } @@ -610,9 +619,9 @@ func (m *MockBFD) UpdateBFD(bfd *ovnnb.BFD, fields ...any) error { } // UpdateBFD indicates an expected call of UpdateBFD. -func (mr *MockBFDMockRecorder) UpdateBFD(bfd any, fields ...any) *gomock.Call { +func (mr *MockBFDMockRecorder) UpdateBFD(bfd interface{}, fields ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{bfd}, fields...) + varargs := append([]interface{}{bfd}, fields...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateBFD", reflect.TypeOf((*MockBFD)(nil).UpdateBFD), varargs...) } @@ -648,7 +657,7 @@ func (m *MockLogicalSwitch) CreateBareLogicalSwitch(lsName string) error { } // CreateBareLogicalSwitch indicates an expected call of CreateBareLogicalSwitch. -func (mr *MockLogicalSwitchMockRecorder) CreateBareLogicalSwitch(lsName any) *gomock.Call { +func (mr *MockLogicalSwitchMockRecorder) CreateBareLogicalSwitch(lsName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBareLogicalSwitch", reflect.TypeOf((*MockLogicalSwitch)(nil).CreateBareLogicalSwitch), lsName) } @@ -662,7 +671,7 @@ func (m *MockLogicalSwitch) CreateLogicalSwitch(lsName, lrName, cidrBlock, gatew } // CreateLogicalSwitch indicates an expected call of CreateLogicalSwitch. -func (mr *MockLogicalSwitchMockRecorder) CreateLogicalSwitch(lsName, lrName, cidrBlock, gateway, needRouter, randomAllocateGW any) *gomock.Call { +func (mr *MockLogicalSwitchMockRecorder) CreateLogicalSwitch(lsName, lrName, cidrBlock, gateway, needRouter, randomAllocateGW interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalSwitch", reflect.TypeOf((*MockLogicalSwitch)(nil).CreateLogicalSwitch), lsName, lrName, cidrBlock, gateway, needRouter, randomAllocateGW) } @@ -676,7 +685,7 @@ func (m *MockLogicalSwitch) DeleteLogicalSwitch(lsName string) error { } // DeleteLogicalSwitch indicates an expected call of DeleteLogicalSwitch. -func (mr *MockLogicalSwitchMockRecorder) DeleteLogicalSwitch(lsName any) *gomock.Call { +func (mr *MockLogicalSwitchMockRecorder) DeleteLogicalSwitch(lsName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalSwitch", reflect.TypeOf((*MockLogicalSwitch)(nil).DeleteLogicalSwitch), lsName) } @@ -691,7 +700,7 @@ func (m *MockLogicalSwitch) ListLogicalSwitch(needVendorFilter bool, filter func } // ListLogicalSwitch indicates an expected call of ListLogicalSwitch. -func (mr *MockLogicalSwitchMockRecorder) ListLogicalSwitch(needVendorFilter, filter any) *gomock.Call { +func (mr *MockLogicalSwitchMockRecorder) ListLogicalSwitch(needVendorFilter, filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalSwitch", reflect.TypeOf((*MockLogicalSwitch)(nil).ListLogicalSwitch), needVendorFilter, filter) } @@ -706,7 +715,7 @@ func (m *MockLogicalSwitch) LogicalSwitchExists(lsName string) (bool, error) { } // LogicalSwitchExists indicates an expected call of LogicalSwitchExists. -func (mr *MockLogicalSwitchMockRecorder) LogicalSwitchExists(lsName any) *gomock.Call { +func (mr *MockLogicalSwitchMockRecorder) LogicalSwitchExists(lsName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalSwitchExists", reflect.TypeOf((*MockLogicalSwitch)(nil).LogicalSwitchExists), lsName) } @@ -714,7 +723,7 @@ func (mr *MockLogicalSwitchMockRecorder) LogicalSwitchExists(lsName any) *gomock // LogicalSwitchUpdateLoadBalancers mocks base method. func (m *MockLogicalSwitch) LogicalSwitchUpdateLoadBalancers(lsName string, op ovsdb.Mutator, lbNames ...string) error { m.ctrl.T.Helper() - varargs := []any{lsName, op} + varargs := []interface{}{lsName, op} for _, a := range lbNames { varargs = append(varargs, a) } @@ -724,9 +733,9 @@ func (m *MockLogicalSwitch) LogicalSwitchUpdateLoadBalancers(lsName string, op o } // LogicalSwitchUpdateLoadBalancers indicates an expected call of LogicalSwitchUpdateLoadBalancers. -func (mr *MockLogicalSwitchMockRecorder) LogicalSwitchUpdateLoadBalancers(lsName, op any, lbNames ...any) *gomock.Call { +func (mr *MockLogicalSwitchMockRecorder) LogicalSwitchUpdateLoadBalancers(lsName, op interface{}, lbNames ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{lsName, op}, lbNames...) + varargs := append([]interface{}{lsName, op}, lbNames...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalSwitchUpdateLoadBalancers", reflect.TypeOf((*MockLogicalSwitch)(nil).LogicalSwitchUpdateLoadBalancers), varargs...) } @@ -739,7 +748,7 @@ func (m *MockLogicalSwitch) LogicalSwitchUpdateOtherConfig(lsName string, op ovs } // LogicalSwitchUpdateOtherConfig indicates an expected call of LogicalSwitchUpdateOtherConfig. -func (mr *MockLogicalSwitchMockRecorder) LogicalSwitchUpdateOtherConfig(lsName, op, otherConfig any) *gomock.Call { +func (mr *MockLogicalSwitchMockRecorder) LogicalSwitchUpdateOtherConfig(lsName, op, otherConfig interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalSwitchUpdateOtherConfig", reflect.TypeOf((*MockLogicalSwitch)(nil).LogicalSwitchUpdateOtherConfig), lsName, op, otherConfig) } @@ -776,7 +785,7 @@ func (m *MockLogicalSwitchPort) CleanLogicalSwitchPortMigrateOptions(lspName str } // CleanLogicalSwitchPortMigrateOptions indicates an expected call of CleanLogicalSwitchPortMigrateOptions. -func (mr *MockLogicalSwitchPortMockRecorder) CleanLogicalSwitchPortMigrateOptions(lspName any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) CleanLogicalSwitchPortMigrateOptions(lspName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CleanLogicalSwitchPortMigrateOptions", reflect.TypeOf((*MockLogicalSwitchPort)(nil).CleanLogicalSwitchPortMigrateOptions), lspName) } @@ -790,7 +799,7 @@ func (m *MockLogicalSwitchPort) CreateBareLogicalSwitchPort(lsName, lspName, ip, } // CreateBareLogicalSwitchPort indicates an expected call of CreateBareLogicalSwitchPort. -func (mr *MockLogicalSwitchPortMockRecorder) CreateBareLogicalSwitchPort(lsName, lspName, ip, mac any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) CreateBareLogicalSwitchPort(lsName, lspName, ip, mac interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBareLogicalSwitchPort", reflect.TypeOf((*MockLogicalSwitchPort)(nil).CreateBareLogicalSwitchPort), lsName, lspName, ip, mac) } @@ -804,7 +813,7 @@ func (m *MockLogicalSwitchPort) CreateLocalnetLogicalSwitchPort(lsName, lspName, } // CreateLocalnetLogicalSwitchPort indicates an expected call of CreateLocalnetLogicalSwitchPort. -func (mr *MockLogicalSwitchPortMockRecorder) CreateLocalnetLogicalSwitchPort(lsName, lspName, provider, cidrBlock, vlanID any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) CreateLocalnetLogicalSwitchPort(lsName, lspName, provider, cidrBlock, vlanID interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLocalnetLogicalSwitchPort", reflect.TypeOf((*MockLogicalSwitchPort)(nil).CreateLocalnetLogicalSwitchPort), lsName, lspName, provider, cidrBlock, vlanID) } @@ -818,7 +827,7 @@ func (m *MockLogicalSwitchPort) CreateLogicalSwitchPort(lsName, lspName, ip, mac } // CreateLogicalSwitchPort indicates an expected call of CreateLogicalSwitchPort. -func (mr *MockLogicalSwitchPortMockRecorder) CreateLogicalSwitchPort(lsName, lspName, ip, mac, podName, namespace, portSecurity, securityGroups, vips, enableDHCP, dhcpOptions, vpc any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) CreateLogicalSwitchPort(lsName, lspName, ip, mac, podName, namespace, portSecurity, securityGroups, vips, enableDHCP, dhcpOptions, vpc interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalSwitchPort", reflect.TypeOf((*MockLogicalSwitchPort)(nil).CreateLogicalSwitchPort), lsName, lspName, ip, mac, podName, namespace, portSecurity, securityGroups, vips, enableDHCP, dhcpOptions, vpc) } @@ -832,7 +841,7 @@ func (m *MockLogicalSwitchPort) CreateVirtualLogicalSwitchPort(lspName, lsName, } // CreateVirtualLogicalSwitchPort indicates an expected call of CreateVirtualLogicalSwitchPort. -func (mr *MockLogicalSwitchPortMockRecorder) CreateVirtualLogicalSwitchPort(lspName, lsName, ip any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) CreateVirtualLogicalSwitchPort(lspName, lsName, ip interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateVirtualLogicalSwitchPort", reflect.TypeOf((*MockLogicalSwitchPort)(nil).CreateVirtualLogicalSwitchPort), lspName, lsName, ip) } @@ -840,7 +849,7 @@ func (mr *MockLogicalSwitchPortMockRecorder) CreateVirtualLogicalSwitchPort(lspN // CreateVirtualLogicalSwitchPorts mocks base method. func (m *MockLogicalSwitchPort) CreateVirtualLogicalSwitchPorts(lsName string, ips ...string) error { m.ctrl.T.Helper() - varargs := []any{lsName} + varargs := []interface{}{lsName} for _, a := range ips { varargs = append(varargs, a) } @@ -850,9 +859,9 @@ func (m *MockLogicalSwitchPort) CreateVirtualLogicalSwitchPorts(lsName string, i } // CreateVirtualLogicalSwitchPorts indicates an expected call of CreateVirtualLogicalSwitchPorts. -func (mr *MockLogicalSwitchPortMockRecorder) CreateVirtualLogicalSwitchPorts(lsName any, ips ...any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) CreateVirtualLogicalSwitchPorts(lsName interface{}, ips ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{lsName}, ips...) + varargs := append([]interface{}{lsName}, ips...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateVirtualLogicalSwitchPorts", reflect.TypeOf((*MockLogicalSwitchPort)(nil).CreateVirtualLogicalSwitchPorts), varargs...) } @@ -865,7 +874,7 @@ func (m *MockLogicalSwitchPort) DeleteLogicalSwitchPort(lspName string) error { } // DeleteLogicalSwitchPort indicates an expected call of DeleteLogicalSwitchPort. -func (mr *MockLogicalSwitchPortMockRecorder) DeleteLogicalSwitchPort(lspName any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) DeleteLogicalSwitchPort(lspName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalSwitchPort", reflect.TypeOf((*MockLogicalSwitchPort)(nil).DeleteLogicalSwitchPort), lspName) } @@ -879,7 +888,7 @@ func (m *MockLogicalSwitchPort) DeleteLogicalSwitchPorts(externalIDs map[string] } // DeleteLogicalSwitchPorts indicates an expected call of DeleteLogicalSwitchPorts. -func (mr *MockLogicalSwitchPortMockRecorder) DeleteLogicalSwitchPorts(externalIDs, filter any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) DeleteLogicalSwitchPorts(externalIDs, filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalSwitchPorts", reflect.TypeOf((*MockLogicalSwitchPort)(nil).DeleteLogicalSwitchPorts), externalIDs, filter) } @@ -893,7 +902,7 @@ func (m *MockLogicalSwitchPort) EnablePortLayer2forward(lspName string) error { } // EnablePortLayer2forward indicates an expected call of EnablePortLayer2forward. -func (mr *MockLogicalSwitchPortMockRecorder) EnablePortLayer2forward(lspName any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) EnablePortLayer2forward(lspName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnablePortLayer2forward", reflect.TypeOf((*MockLogicalSwitchPort)(nil).EnablePortLayer2forward), lspName) } @@ -908,7 +917,7 @@ func (m *MockLogicalSwitchPort) GetLogicalSwitchPort(lspName string, ignoreNotFo } // GetLogicalSwitchPort indicates an expected call of GetLogicalSwitchPort. -func (mr *MockLogicalSwitchPortMockRecorder) GetLogicalSwitchPort(lspName, ignoreNotFound any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) GetLogicalSwitchPort(lspName, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalSwitchPort", reflect.TypeOf((*MockLogicalSwitchPort)(nil).GetLogicalSwitchPort), lspName, ignoreNotFound) } @@ -923,7 +932,7 @@ func (m *MockLogicalSwitchPort) ListLogicalSwitchPorts(needVendorFilter bool, ex } // ListLogicalSwitchPorts indicates an expected call of ListLogicalSwitchPorts. -func (mr *MockLogicalSwitchPortMockRecorder) ListLogicalSwitchPorts(needVendorFilter, externalIDs, filter any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) ListLogicalSwitchPorts(needVendorFilter, externalIDs, filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalSwitchPorts", reflect.TypeOf((*MockLogicalSwitchPort)(nil).ListLogicalSwitchPorts), needVendorFilter, externalIDs, filter) } @@ -953,7 +962,7 @@ func (m *MockLogicalSwitchPort) ListNormalLogicalSwitchPorts(needVendorFilter bo } // ListNormalLogicalSwitchPorts indicates an expected call of ListNormalLogicalSwitchPorts. -func (mr *MockLogicalSwitchPortMockRecorder) ListNormalLogicalSwitchPorts(needVendorFilter, externalIDs any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) ListNormalLogicalSwitchPorts(needVendorFilter, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListNormalLogicalSwitchPorts", reflect.TypeOf((*MockLogicalSwitchPort)(nil).ListNormalLogicalSwitchPorts), needVendorFilter, externalIDs) } @@ -968,7 +977,7 @@ func (m *MockLogicalSwitchPort) LogicalSwitchPortExists(name string) (bool, erro } // LogicalSwitchPortExists indicates an expected call of LogicalSwitchPortExists. -func (mr *MockLogicalSwitchPortMockRecorder) LogicalSwitchPortExists(name any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) LogicalSwitchPortExists(name interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalSwitchPortExists", reflect.TypeOf((*MockLogicalSwitchPort)(nil).LogicalSwitchPortExists), name) } @@ -982,7 +991,7 @@ func (m *MockLogicalSwitchPort) ResetLogicalSwitchPortMigrateOptions(lspName, sr } // ResetLogicalSwitchPortMigrateOptions indicates an expected call of ResetLogicalSwitchPortMigrateOptions. -func (mr *MockLogicalSwitchPortMockRecorder) ResetLogicalSwitchPortMigrateOptions(lspName, srcNodeName, targetNodeName, migratedFail any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) ResetLogicalSwitchPortMigrateOptions(lspName, srcNodeName, targetNodeName, migratedFail interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResetLogicalSwitchPortMigrateOptions", reflect.TypeOf((*MockLogicalSwitchPort)(nil).ResetLogicalSwitchPortMigrateOptions), lspName, srcNodeName, targetNodeName, migratedFail) } @@ -996,7 +1005,7 @@ func (m *MockLogicalSwitchPort) SetLogicalSwitchPortArpProxy(lspName string, ena } // SetLogicalSwitchPortArpProxy indicates an expected call of SetLogicalSwitchPortArpProxy. -func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortArpProxy(lspName, enableArpProxy any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortArpProxy(lspName, enableArpProxy interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortArpProxy", reflect.TypeOf((*MockLogicalSwitchPort)(nil).SetLogicalSwitchPortArpProxy), lspName, enableArpProxy) } @@ -1010,7 +1019,7 @@ func (m *MockLogicalSwitchPort) SetLogicalSwitchPortExternalIDs(lspName string, } // SetLogicalSwitchPortExternalIDs indicates an expected call of SetLogicalSwitchPortExternalIDs. -func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortExternalIDs(lspName, externalIDs any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortExternalIDs(lspName, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortExternalIDs", reflect.TypeOf((*MockLogicalSwitchPort)(nil).SetLogicalSwitchPortExternalIDs), lspName, externalIDs) } @@ -1024,7 +1033,7 @@ func (m *MockLogicalSwitchPort) SetLogicalSwitchPortMigrateOptions(lspName, srcN } // SetLogicalSwitchPortMigrateOptions indicates an expected call of SetLogicalSwitchPortMigrateOptions. -func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortMigrateOptions(lspName, srcNodeName, targetNodeName any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortMigrateOptions(lspName, srcNodeName, targetNodeName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortMigrateOptions", reflect.TypeOf((*MockLogicalSwitchPort)(nil).SetLogicalSwitchPortMigrateOptions), lspName, srcNodeName, targetNodeName) } @@ -1038,7 +1047,7 @@ func (m *MockLogicalSwitchPort) SetLogicalSwitchPortSecurity(portSecurity bool, } // SetLogicalSwitchPortSecurity indicates an expected call of SetLogicalSwitchPortSecurity. -func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortSecurity(portSecurity, lspName, mac, ips, vips any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortSecurity(portSecurity, lspName, mac, ips, vips interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortSecurity", reflect.TypeOf((*MockLogicalSwitchPort)(nil).SetLogicalSwitchPortSecurity), portSecurity, lspName, mac, ips, vips) } @@ -1046,7 +1055,7 @@ func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortSecurity(portSe // SetLogicalSwitchPortVirtualParents mocks base method. func (m *MockLogicalSwitchPort) SetLogicalSwitchPortVirtualParents(lsName, parents string, ips ...string) error { m.ctrl.T.Helper() - varargs := []any{lsName, parents} + varargs := []interface{}{lsName, parents} for _, a := range ips { varargs = append(varargs, a) } @@ -1056,9 +1065,9 @@ func (m *MockLogicalSwitchPort) SetLogicalSwitchPortVirtualParents(lsName, paren } // SetLogicalSwitchPortVirtualParents indicates an expected call of SetLogicalSwitchPortVirtualParents. -func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortVirtualParents(lsName, parents any, ips ...any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortVirtualParents(lsName, parents interface{}, ips ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{lsName, parents}, ips...) + varargs := append([]interface{}{lsName, parents}, ips...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortVirtualParents", reflect.TypeOf((*MockLogicalSwitchPort)(nil).SetLogicalSwitchPortVirtualParents), varargs...) } @@ -1071,7 +1080,7 @@ func (m *MockLogicalSwitchPort) SetLogicalSwitchPortVlanTag(lspName string, vlan } // SetLogicalSwitchPortVlanTag indicates an expected call of SetLogicalSwitchPortVlanTag. -func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortVlanTag(lspName, vlanID any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortVlanTag(lspName, vlanID interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortVlanTag", reflect.TypeOf((*MockLogicalSwitchPort)(nil).SetLogicalSwitchPortVlanTag), lspName, vlanID) } @@ -1085,7 +1094,7 @@ func (m *MockLogicalSwitchPort) SetLogicalSwitchPortsSecurityGroup(sgName, op st } // SetLogicalSwitchPortsSecurityGroup indicates an expected call of SetLogicalSwitchPortsSecurityGroup. -func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortsSecurityGroup(sgName, op any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) SetLogicalSwitchPortsSecurityGroup(sgName, op interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortsSecurityGroup", reflect.TypeOf((*MockLogicalSwitchPort)(nil).SetLogicalSwitchPortsSecurityGroup), sgName, op) } @@ -1099,7 +1108,7 @@ func (m *MockLogicalSwitchPort) SetVirtualLogicalSwitchPortVirtualParents(lsName } // SetVirtualLogicalSwitchPortVirtualParents indicates an expected call of SetVirtualLogicalSwitchPortVirtualParents. -func (mr *MockLogicalSwitchPortMockRecorder) SetVirtualLogicalSwitchPortVirtualParents(lsName, parents any) *gomock.Call { +func (mr *MockLogicalSwitchPortMockRecorder) SetVirtualLogicalSwitchPortVirtualParents(lsName, parents interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetVirtualLogicalSwitchPortVirtualParents", reflect.TypeOf((*MockLogicalSwitchPort)(nil).SetVirtualLogicalSwitchPortVirtualParents), lsName, parents) } @@ -1136,7 +1145,7 @@ func (m *MockLoadBalancer) CreateLoadBalancer(lbName, protocol, selectFields str } // CreateLoadBalancer indicates an expected call of CreateLoadBalancer. -func (mr *MockLoadBalancerMockRecorder) CreateLoadBalancer(lbName, protocol, selectFields any) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) CreateLoadBalancer(lbName, protocol, selectFields interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLoadBalancer", reflect.TypeOf((*MockLoadBalancer)(nil).CreateLoadBalancer), lbName, protocol, selectFields) } @@ -1150,7 +1159,7 @@ func (m *MockLoadBalancer) DeleteLoadBalancers(filter func(*ovnnb.LoadBalancer) } // DeleteLoadBalancers indicates an expected call of DeleteLoadBalancers. -func (mr *MockLoadBalancerMockRecorder) DeleteLoadBalancers(filter any) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) DeleteLoadBalancers(filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLoadBalancers", reflect.TypeOf((*MockLoadBalancer)(nil).DeleteLoadBalancers), filter) } @@ -1165,7 +1174,7 @@ func (m *MockLoadBalancer) GetLoadBalancer(lbName string, ignoreNotFound bool) ( } // GetLoadBalancer indicates an expected call of GetLoadBalancer. -func (mr *MockLoadBalancerMockRecorder) GetLoadBalancer(lbName, ignoreNotFound any) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) GetLoadBalancer(lbName, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLoadBalancer", reflect.TypeOf((*MockLoadBalancer)(nil).GetLoadBalancer), lbName, ignoreNotFound) } @@ -1180,7 +1189,7 @@ func (m *MockLoadBalancer) ListLoadBalancers(filter func(*ovnnb.LoadBalancer) bo } // ListLoadBalancers indicates an expected call of ListLoadBalancers. -func (mr *MockLoadBalancerMockRecorder) ListLoadBalancers(filter any) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) ListLoadBalancers(filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLoadBalancers", reflect.TypeOf((*MockLoadBalancer)(nil).ListLoadBalancers), filter) } @@ -1194,7 +1203,7 @@ func (m *MockLoadBalancer) LoadBalancerAddHealthCheck(lbName, vip string, ignore } // LoadBalancerAddHealthCheck indicates an expected call of LoadBalancerAddHealthCheck. -func (mr *MockLoadBalancerMockRecorder) LoadBalancerAddHealthCheck(lbName, vip, ignoreHealthCheck, ipPortMapping, externals any) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) LoadBalancerAddHealthCheck(lbName, vip, ignoreHealthCheck, ipPortMapping, externals interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerAddHealthCheck", reflect.TypeOf((*MockLoadBalancer)(nil).LoadBalancerAddHealthCheck), lbName, vip, ignoreHealthCheck, ipPortMapping, externals) } @@ -1208,7 +1217,7 @@ func (m *MockLoadBalancer) LoadBalancerAddIPPortMapping(lbName, vip string, ipPo } // LoadBalancerAddIPPortMapping indicates an expected call of LoadBalancerAddIPPortMapping. -func (mr *MockLoadBalancerMockRecorder) LoadBalancerAddIPPortMapping(lbName, vip, ipPortMappings any) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) LoadBalancerAddIPPortMapping(lbName, vip, ipPortMappings interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerAddIPPortMapping", reflect.TypeOf((*MockLoadBalancer)(nil).LoadBalancerAddIPPortMapping), lbName, vip, ipPortMappings) } @@ -1216,7 +1225,7 @@ func (mr *MockLoadBalancerMockRecorder) LoadBalancerAddIPPortMapping(lbName, vip // LoadBalancerAddVip mocks base method. func (m *MockLoadBalancer) LoadBalancerAddVip(lbName, vip string, backends ...string) error { m.ctrl.T.Helper() - varargs := []any{lbName, vip} + varargs := []interface{}{lbName, vip} for _, a := range backends { varargs = append(varargs, a) } @@ -1226,9 +1235,9 @@ func (m *MockLoadBalancer) LoadBalancerAddVip(lbName, vip string, backends ...st } // LoadBalancerAddVip indicates an expected call of LoadBalancerAddVip. -func (mr *MockLoadBalancerMockRecorder) LoadBalancerAddVip(lbName, vip any, backends ...any) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) LoadBalancerAddVip(lbName, vip interface{}, backends ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{lbName, vip}, backends...) + varargs := append([]interface{}{lbName, vip}, backends...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerAddVip", reflect.TypeOf((*MockLoadBalancer)(nil).LoadBalancerAddVip), varargs...) } @@ -1241,7 +1250,7 @@ func (m *MockLoadBalancer) LoadBalancerDeleteHealthCheck(lbName, uuid string) er } // LoadBalancerDeleteHealthCheck indicates an expected call of LoadBalancerDeleteHealthCheck. -func (mr *MockLoadBalancerMockRecorder) LoadBalancerDeleteHealthCheck(lbName, uuid any) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) LoadBalancerDeleteHealthCheck(lbName, uuid interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerDeleteHealthCheck", reflect.TypeOf((*MockLoadBalancer)(nil).LoadBalancerDeleteHealthCheck), lbName, uuid) } @@ -1255,7 +1264,7 @@ func (m *MockLoadBalancer) LoadBalancerDeleteIPPortMapping(lbName, vip string) e } // LoadBalancerDeleteIPPortMapping indicates an expected call of LoadBalancerDeleteIPPortMapping. -func (mr *MockLoadBalancerMockRecorder) LoadBalancerDeleteIPPortMapping(lbName, vip any) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) LoadBalancerDeleteIPPortMapping(lbName, vip interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerDeleteIPPortMapping", reflect.TypeOf((*MockLoadBalancer)(nil).LoadBalancerDeleteIPPortMapping), lbName, vip) } @@ -1269,7 +1278,7 @@ func (m *MockLoadBalancer) LoadBalancerDeleteVip(lbName, vip string, ignoreHealt } // LoadBalancerDeleteVip indicates an expected call of LoadBalancerDeleteVip. -func (mr *MockLoadBalancerMockRecorder) LoadBalancerDeleteVip(lbName, vip, ignoreHealthCheck any) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) LoadBalancerDeleteVip(lbName, vip, ignoreHealthCheck interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerDeleteVip", reflect.TypeOf((*MockLoadBalancer)(nil).LoadBalancerDeleteVip), lbName, vip, ignoreHealthCheck) } @@ -1284,7 +1293,7 @@ func (m *MockLoadBalancer) LoadBalancerExists(lbName string) (bool, error) { } // LoadBalancerExists indicates an expected call of LoadBalancerExists. -func (mr *MockLoadBalancerMockRecorder) LoadBalancerExists(lbName any) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) LoadBalancerExists(lbName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerExists", reflect.TypeOf((*MockLoadBalancer)(nil).LoadBalancerExists), lbName) } @@ -1298,7 +1307,7 @@ func (m *MockLoadBalancer) LoadBalancerUpdateIPPortMapping(lbName, vip string, i } // LoadBalancerUpdateIPPortMapping indicates an expected call of LoadBalancerUpdateIPPortMapping. -func (mr *MockLoadBalancerMockRecorder) LoadBalancerUpdateIPPortMapping(lbName, vip, ipPortMappings any) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) LoadBalancerUpdateIPPortMapping(lbName, vip, ipPortMappings interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerUpdateIPPortMapping", reflect.TypeOf((*MockLoadBalancer)(nil).LoadBalancerUpdateIPPortMapping), lbName, vip, ipPortMappings) } @@ -1312,7 +1321,7 @@ func (m *MockLoadBalancer) SetLoadBalancerAffinityTimeout(lbName string, timeout } // SetLoadBalancerAffinityTimeout indicates an expected call of SetLoadBalancerAffinityTimeout. -func (mr *MockLoadBalancerMockRecorder) SetLoadBalancerAffinityTimeout(lbName, timeout any) *gomock.Call { +func (mr *MockLoadBalancerMockRecorder) SetLoadBalancerAffinityTimeout(lbName, timeout interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLoadBalancerAffinityTimeout", reflect.TypeOf((*MockLoadBalancer)(nil).SetLoadBalancerAffinityTimeout), lbName, timeout) } @@ -1349,7 +1358,7 @@ func (m *MockLoadBalancerHealthCheck) AddLoadBalancerHealthCheck(lbName, vip str } // AddLoadBalancerHealthCheck indicates an expected call of AddLoadBalancerHealthCheck. -func (mr *MockLoadBalancerHealthCheckMockRecorder) AddLoadBalancerHealthCheck(lbName, vip, externals any) *gomock.Call { +func (mr *MockLoadBalancerHealthCheckMockRecorder) AddLoadBalancerHealthCheck(lbName, vip, externals interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddLoadBalancerHealthCheck", reflect.TypeOf((*MockLoadBalancerHealthCheck)(nil).AddLoadBalancerHealthCheck), lbName, vip, externals) } @@ -1363,7 +1372,7 @@ func (m *MockLoadBalancerHealthCheck) CreateLoadBalancerHealthCheck(lbName, vip } // CreateLoadBalancerHealthCheck indicates an expected call of CreateLoadBalancerHealthCheck. -func (mr *MockLoadBalancerHealthCheckMockRecorder) CreateLoadBalancerHealthCheck(lbName, vip, lbhc any) *gomock.Call { +func (mr *MockLoadBalancerHealthCheckMockRecorder) CreateLoadBalancerHealthCheck(lbName, vip, lbhc interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLoadBalancerHealthCheck", reflect.TypeOf((*MockLoadBalancerHealthCheck)(nil).CreateLoadBalancerHealthCheck), lbName, vip, lbhc) } @@ -1377,7 +1386,7 @@ func (m *MockLoadBalancerHealthCheck) DeleteLoadBalancerHealthCheck(lbName, vip } // DeleteLoadBalancerHealthCheck indicates an expected call of DeleteLoadBalancerHealthCheck. -func (mr *MockLoadBalancerHealthCheckMockRecorder) DeleteLoadBalancerHealthCheck(lbName, vip any) *gomock.Call { +func (mr *MockLoadBalancerHealthCheckMockRecorder) DeleteLoadBalancerHealthCheck(lbName, vip interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLoadBalancerHealthCheck", reflect.TypeOf((*MockLoadBalancerHealthCheck)(nil).DeleteLoadBalancerHealthCheck), lbName, vip) } @@ -1391,7 +1400,7 @@ func (m *MockLoadBalancerHealthCheck) DeleteLoadBalancerHealthChecks(filter func } // DeleteLoadBalancerHealthChecks indicates an expected call of DeleteLoadBalancerHealthChecks. -func (mr *MockLoadBalancerHealthCheckMockRecorder) DeleteLoadBalancerHealthChecks(filter any) *gomock.Call { +func (mr *MockLoadBalancerHealthCheckMockRecorder) DeleteLoadBalancerHealthChecks(filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLoadBalancerHealthChecks", reflect.TypeOf((*MockLoadBalancerHealthCheck)(nil).DeleteLoadBalancerHealthChecks), filter) } @@ -1407,7 +1416,7 @@ func (m *MockLoadBalancerHealthCheck) GetLoadBalancerHealthCheck(lbName, vip str } // GetLoadBalancerHealthCheck indicates an expected call of GetLoadBalancerHealthCheck. -func (mr *MockLoadBalancerHealthCheckMockRecorder) GetLoadBalancerHealthCheck(lbName, vip, ignoreNotFound any) *gomock.Call { +func (mr *MockLoadBalancerHealthCheckMockRecorder) GetLoadBalancerHealthCheck(lbName, vip, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLoadBalancerHealthCheck", reflect.TypeOf((*MockLoadBalancerHealthCheck)(nil).GetLoadBalancerHealthCheck), lbName, vip, ignoreNotFound) } @@ -1422,7 +1431,7 @@ func (m *MockLoadBalancerHealthCheck) ListLoadBalancerHealthChecks(filter func(* } // ListLoadBalancerHealthChecks indicates an expected call of ListLoadBalancerHealthChecks. -func (mr *MockLoadBalancerHealthCheckMockRecorder) ListLoadBalancerHealthChecks(filter any) *gomock.Call { +func (mr *MockLoadBalancerHealthCheckMockRecorder) ListLoadBalancerHealthChecks(filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLoadBalancerHealthChecks", reflect.TypeOf((*MockLoadBalancerHealthCheck)(nil).ListLoadBalancerHealthChecks), filter) } @@ -1437,7 +1446,7 @@ func (m *MockLoadBalancerHealthCheck) LoadBalancerHealthCheckExists(lbName, vip } // LoadBalancerHealthCheckExists indicates an expected call of LoadBalancerHealthCheckExists. -func (mr *MockLoadBalancerHealthCheckMockRecorder) LoadBalancerHealthCheckExists(lbName, vip any) *gomock.Call { +func (mr *MockLoadBalancerHealthCheckMockRecorder) LoadBalancerHealthCheckExists(lbName, vip interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerHealthCheckExists", reflect.TypeOf((*MockLoadBalancerHealthCheck)(nil).LoadBalancerHealthCheckExists), lbName, vip) } @@ -1474,7 +1483,7 @@ func (m *MockPortGroup) CreatePortGroup(pgName string, externalIDs map[string]st } // CreatePortGroup indicates an expected call of CreatePortGroup. -func (mr *MockPortGroupMockRecorder) CreatePortGroup(pgName, externalIDs any) *gomock.Call { +func (mr *MockPortGroupMockRecorder) CreatePortGroup(pgName, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePortGroup", reflect.TypeOf((*MockPortGroup)(nil).CreatePortGroup), pgName, externalIDs) } @@ -1488,7 +1497,7 @@ func (m *MockPortGroup) DeletePortGroup(pgName string) error { } // DeletePortGroup indicates an expected call of DeletePortGroup. -func (mr *MockPortGroupMockRecorder) DeletePortGroup(pgName any) *gomock.Call { +func (mr *MockPortGroupMockRecorder) DeletePortGroup(pgName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePortGroup", reflect.TypeOf((*MockPortGroup)(nil).DeletePortGroup), pgName) } @@ -1503,7 +1512,7 @@ func (m *MockPortGroup) GetPortGroup(pgName string, ignoreNotFound bool) (*ovnnb } // GetPortGroup indicates an expected call of GetPortGroup. -func (mr *MockPortGroupMockRecorder) GetPortGroup(pgName, ignoreNotFound any) *gomock.Call { +func (mr *MockPortGroupMockRecorder) GetPortGroup(pgName, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPortGroup", reflect.TypeOf((*MockPortGroup)(nil).GetPortGroup), pgName, ignoreNotFound) } @@ -1518,7 +1527,7 @@ func (m *MockPortGroup) ListPortGroups(externalIDs map[string]string) ([]ovnnb.P } // ListPortGroups indicates an expected call of ListPortGroups. -func (mr *MockPortGroupMockRecorder) ListPortGroups(externalIDs any) *gomock.Call { +func (mr *MockPortGroupMockRecorder) ListPortGroups(externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPortGroups", reflect.TypeOf((*MockPortGroup)(nil).ListPortGroups), externalIDs) } @@ -1526,7 +1535,7 @@ func (mr *MockPortGroupMockRecorder) ListPortGroups(externalIDs any) *gomock.Cal // PortGroupAddPorts mocks base method. func (m *MockPortGroup) PortGroupAddPorts(pgName string, lspNames ...string) error { m.ctrl.T.Helper() - varargs := []any{pgName} + varargs := []interface{}{pgName} for _, a := range lspNames { varargs = append(varargs, a) } @@ -1536,9 +1545,9 @@ func (m *MockPortGroup) PortGroupAddPorts(pgName string, lspNames ...string) err } // PortGroupAddPorts indicates an expected call of PortGroupAddPorts. -func (mr *MockPortGroupMockRecorder) PortGroupAddPorts(pgName any, lspNames ...any) *gomock.Call { +func (mr *MockPortGroupMockRecorder) PortGroupAddPorts(pgName interface{}, lspNames ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{pgName}, lspNames...) + varargs := append([]interface{}{pgName}, lspNames...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortGroupAddPorts", reflect.TypeOf((*MockPortGroup)(nil).PortGroupAddPorts), varargs...) } @@ -1552,7 +1561,7 @@ func (m *MockPortGroup) PortGroupExists(pgName string) (bool, error) { } // PortGroupExists indicates an expected call of PortGroupExists. -func (mr *MockPortGroupMockRecorder) PortGroupExists(pgName any) *gomock.Call { +func (mr *MockPortGroupMockRecorder) PortGroupExists(pgName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortGroupExists", reflect.TypeOf((*MockPortGroup)(nil).PortGroupExists), pgName) } @@ -1560,7 +1569,7 @@ func (mr *MockPortGroupMockRecorder) PortGroupExists(pgName any) *gomock.Call { // PortGroupRemovePorts mocks base method. func (m *MockPortGroup) PortGroupRemovePorts(pgName string, lspNames ...string) error { m.ctrl.T.Helper() - varargs := []any{pgName} + varargs := []interface{}{pgName} for _, a := range lspNames { varargs = append(varargs, a) } @@ -1570,9 +1579,9 @@ func (m *MockPortGroup) PortGroupRemovePorts(pgName string, lspNames ...string) } // PortGroupRemovePorts indicates an expected call of PortGroupRemovePorts. -func (mr *MockPortGroupMockRecorder) PortGroupRemovePorts(pgName any, lspNames ...any) *gomock.Call { +func (mr *MockPortGroupMockRecorder) PortGroupRemovePorts(pgName interface{}, lspNames ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{pgName}, lspNames...) + varargs := append([]interface{}{pgName}, lspNames...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortGroupRemovePorts", reflect.TypeOf((*MockPortGroup)(nil).PortGroupRemovePorts), varargs...) } @@ -1585,7 +1594,7 @@ func (m *MockPortGroup) PortGroupSetPorts(pgName string, ports []string) error { } // PortGroupSetPorts indicates an expected call of PortGroupSetPorts. -func (mr *MockPortGroupMockRecorder) PortGroupSetPorts(pgName, ports any) *gomock.Call { +func (mr *MockPortGroupMockRecorder) PortGroupSetPorts(pgName, ports interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortGroupSetPorts", reflect.TypeOf((*MockPortGroup)(nil).PortGroupSetPorts), pgName, ports) } @@ -1622,7 +1631,7 @@ func (m *MockACL) CreateGatewayACL(lsName, pgName, gateway string) error { } // CreateGatewayACL indicates an expected call of CreateGatewayACL. -func (mr *MockACLMockRecorder) CreateGatewayACL(lsName, pgName, gateway any) *gomock.Call { +func (mr *MockACLMockRecorder) CreateGatewayACL(lsName, pgName, gateway interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateGatewayACL", reflect.TypeOf((*MockACL)(nil).CreateGatewayACL), lsName, pgName, gateway) } @@ -1636,7 +1645,7 @@ func (m *MockACL) CreateNodeACL(pgName, nodeIPStr, joinIPStr string) error { } // CreateNodeACL indicates an expected call of CreateNodeACL. -func (mr *MockACLMockRecorder) CreateNodeACL(pgName, nodeIPStr, joinIPStr any) *gomock.Call { +func (mr *MockACLMockRecorder) CreateNodeACL(pgName, nodeIPStr, joinIPStr interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateNodeACL", reflect.TypeOf((*MockACL)(nil).CreateNodeACL), pgName, nodeIPStr, joinIPStr) } @@ -1650,7 +1659,7 @@ func (m *MockACL) CreateSgBaseACL(sgName, direction string) error { } // CreateSgBaseACL indicates an expected call of CreateSgBaseACL. -func (mr *MockACLMockRecorder) CreateSgBaseACL(sgName, direction any) *gomock.Call { +func (mr *MockACLMockRecorder) CreateSgBaseACL(sgName, direction interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSgBaseACL", reflect.TypeOf((*MockACL)(nil).CreateSgBaseACL), sgName, direction) } @@ -1664,7 +1673,7 @@ func (m *MockACL) CreateSgDenyAllACL(sgName string) error { } // CreateSgDenyAllACL indicates an expected call of CreateSgDenyAllACL. -func (mr *MockACLMockRecorder) CreateSgDenyAllACL(sgName any) *gomock.Call { +func (mr *MockACLMockRecorder) CreateSgDenyAllACL(sgName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSgDenyAllACL", reflect.TypeOf((*MockACL)(nil).CreateSgDenyAllACL), sgName) } @@ -1678,7 +1687,7 @@ func (m *MockACL) DeleteAcls(parentName, parentType, direction string, externalI } // DeleteAcls indicates an expected call of DeleteAcls. -func (mr *MockACLMockRecorder) DeleteAcls(parentName, parentType, direction, externalIDs any) *gomock.Call { +func (mr *MockACLMockRecorder) DeleteAcls(parentName, parentType, direction, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAcls", reflect.TypeOf((*MockACL)(nil).DeleteAcls), parentName, parentType, direction, externalIDs) } @@ -1693,7 +1702,7 @@ func (m *MockACL) DeleteAclsOps(parentName, parentType, direction string, extern } // DeleteAclsOps indicates an expected call of DeleteAclsOps. -func (mr *MockACLMockRecorder) DeleteAclsOps(parentName, parentType, direction, externalIDs any) *gomock.Call { +func (mr *MockACLMockRecorder) DeleteAclsOps(parentName, parentType, direction, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAclsOps", reflect.TypeOf((*MockACL)(nil).DeleteAclsOps), parentName, parentType, direction, externalIDs) } @@ -1707,7 +1716,7 @@ func (m *MockACL) SetACLLog(pgName, protocol string, logEnable, isIngress bool) } // SetACLLog indicates an expected call of SetACLLog. -func (mr *MockACLMockRecorder) SetACLLog(pgName, protocol, logEnable, isIngress any) *gomock.Call { +func (mr *MockACLMockRecorder) SetACLLog(pgName, protocol, logEnable, isIngress interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetACLLog", reflect.TypeOf((*MockACL)(nil).SetACLLog), pgName, protocol, logEnable, isIngress) } @@ -1721,7 +1730,7 @@ func (m *MockACL) SetLogicalSwitchPrivate(lsName, cidrBlock, nodeSwitchCIDR stri } // SetLogicalSwitchPrivate indicates an expected call of SetLogicalSwitchPrivate. -func (mr *MockACLMockRecorder) SetLogicalSwitchPrivate(lsName, cidrBlock, nodeSwitchCIDR, allowSubnets any) *gomock.Call { +func (mr *MockACLMockRecorder) SetLogicalSwitchPrivate(lsName, cidrBlock, nodeSwitchCIDR, allowSubnets interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPrivate", reflect.TypeOf((*MockACL)(nil).SetLogicalSwitchPrivate), lsName, cidrBlock, nodeSwitchCIDR, allowSubnets) } @@ -1736,7 +1745,7 @@ func (m *MockACL) UpdateEgressACLOps(pgName, asEgressName, asExceptName, protoco } // UpdateEgressACLOps indicates an expected call of UpdateEgressACLOps. -func (mr *MockACLMockRecorder) UpdateEgressACLOps(pgName, asEgressName, asExceptName, protocol, npp, logEnable, namedPortMap any) *gomock.Call { +func (mr *MockACLMockRecorder) UpdateEgressACLOps(pgName, asEgressName, asExceptName, protocol, npp, logEnable, namedPortMap interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateEgressACLOps", reflect.TypeOf((*MockACL)(nil).UpdateEgressACLOps), pgName, asEgressName, asExceptName, protocol, npp, logEnable, namedPortMap) } @@ -1751,7 +1760,7 @@ func (m *MockACL) UpdateIngressACLOps(pgName, asIngressName, asExceptName, proto } // UpdateIngressACLOps indicates an expected call of UpdateIngressACLOps. -func (mr *MockACLMockRecorder) UpdateIngressACLOps(pgName, asIngressName, asExceptName, protocol, npp, logEnable, namedPortMap any) *gomock.Call { +func (mr *MockACLMockRecorder) UpdateIngressACLOps(pgName, asIngressName, asExceptName, protocol, npp, logEnable, namedPortMap interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateIngressACLOps", reflect.TypeOf((*MockACL)(nil).UpdateIngressACLOps), pgName, asIngressName, asExceptName, protocol, npp, logEnable, namedPortMap) } @@ -1765,7 +1774,7 @@ func (m *MockACL) UpdateLogicalSwitchACL(lsName, cidrBlock string, subnetAcls [] } // UpdateLogicalSwitchACL indicates an expected call of UpdateLogicalSwitchACL. -func (mr *MockACLMockRecorder) UpdateLogicalSwitchACL(lsName, cidrBlock, subnetAcls, allowEWTraffic any) *gomock.Call { +func (mr *MockACLMockRecorder) UpdateLogicalSwitchACL(lsName, cidrBlock, subnetAcls, allowEWTraffic interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalSwitchACL", reflect.TypeOf((*MockACL)(nil).UpdateLogicalSwitchACL), lsName, cidrBlock, subnetAcls, allowEWTraffic) } @@ -1779,7 +1788,7 @@ func (m *MockACL) UpdateSgACL(sg *v1.SecurityGroup, direction string) error { } // UpdateSgACL indicates an expected call of UpdateSgACL. -func (mr *MockACLMockRecorder) UpdateSgACL(sg, direction any) *gomock.Call { +func (mr *MockACLMockRecorder) UpdateSgACL(sg, direction interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateSgACL", reflect.TypeOf((*MockACL)(nil).UpdateSgACL), sg, direction) } @@ -1810,7 +1819,7 @@ func (m *MockAddressSet) EXPECT() *MockAddressSetMockRecorder { // AddressSetUpdateAddress mocks base method. func (m *MockAddressSet) AddressSetUpdateAddress(asName string, addresses ...string) error { m.ctrl.T.Helper() - varargs := []any{asName} + varargs := []interface{}{asName} for _, a := range addresses { varargs = append(varargs, a) } @@ -1820,9 +1829,9 @@ func (m *MockAddressSet) AddressSetUpdateAddress(asName string, addresses ...str } // AddressSetUpdateAddress indicates an expected call of AddressSetUpdateAddress. -func (mr *MockAddressSetMockRecorder) AddressSetUpdateAddress(asName any, addresses ...any) *gomock.Call { +func (mr *MockAddressSetMockRecorder) AddressSetUpdateAddress(asName interface{}, addresses ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{asName}, addresses...) + varargs := append([]interface{}{asName}, addresses...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddressSetUpdateAddress", reflect.TypeOf((*MockAddressSet)(nil).AddressSetUpdateAddress), varargs...) } @@ -1835,7 +1844,7 @@ func (m *MockAddressSet) CreateAddressSet(asName string, externalIDs map[string] } // CreateAddressSet indicates an expected call of CreateAddressSet. -func (mr *MockAddressSetMockRecorder) CreateAddressSet(asName, externalIDs any) *gomock.Call { +func (mr *MockAddressSetMockRecorder) CreateAddressSet(asName, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAddressSet", reflect.TypeOf((*MockAddressSet)(nil).CreateAddressSet), asName, externalIDs) } @@ -1849,7 +1858,7 @@ func (m *MockAddressSet) DeleteAddressSet(asName string) error { } // DeleteAddressSet indicates an expected call of DeleteAddressSet. -func (mr *MockAddressSetMockRecorder) DeleteAddressSet(asName any) *gomock.Call { +func (mr *MockAddressSetMockRecorder) DeleteAddressSet(asName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAddressSet", reflect.TypeOf((*MockAddressSet)(nil).DeleteAddressSet), asName) } @@ -1863,7 +1872,7 @@ func (m *MockAddressSet) DeleteAddressSets(externalIDs map[string]string) error } // DeleteAddressSets indicates an expected call of DeleteAddressSets. -func (mr *MockAddressSetMockRecorder) DeleteAddressSets(externalIDs any) *gomock.Call { +func (mr *MockAddressSetMockRecorder) DeleteAddressSets(externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAddressSets", reflect.TypeOf((*MockAddressSet)(nil).DeleteAddressSets), externalIDs) } @@ -1878,7 +1887,7 @@ func (m *MockAddressSet) ListAddressSets(externalIDs map[string]string) ([]ovnnb } // ListAddressSets indicates an expected call of ListAddressSets. -func (mr *MockAddressSetMockRecorder) ListAddressSets(externalIDs any) *gomock.Call { +func (mr *MockAddressSetMockRecorder) ListAddressSets(externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAddressSets", reflect.TypeOf((*MockAddressSet)(nil).ListAddressSets), externalIDs) } @@ -1909,7 +1918,7 @@ func (m *MockLogicalRouterStaticRoute) EXPECT() *MockLogicalRouterStaticRouteMoc // AddLogicalRouterStaticRoute mocks base method. func (m *MockLogicalRouterStaticRoute) AddLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix string, bfdID *string, nexthops ...string) error { m.ctrl.T.Helper() - varargs := []any{lrName, routeTable, policy, ipPrefix, bfdID} + varargs := []interface{}{lrName, routeTable, policy, ipPrefix, bfdID} for _, a := range nexthops { varargs = append(varargs, a) } @@ -1919,9 +1928,9 @@ func (m *MockLogicalRouterStaticRoute) AddLogicalRouterStaticRoute(lrName, route } // AddLogicalRouterStaticRoute indicates an expected call of AddLogicalRouterStaticRoute. -func (mr *MockLogicalRouterStaticRouteMockRecorder) AddLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, bfdID any, nexthops ...any) *gomock.Call { +func (mr *MockLogicalRouterStaticRouteMockRecorder) AddLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, bfdID interface{}, nexthops ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{lrName, routeTable, policy, ipPrefix, bfdID}, nexthops...) + varargs := append([]interface{}{lrName, routeTable, policy, ipPrefix, bfdID}, nexthops...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddLogicalRouterStaticRoute", reflect.TypeOf((*MockLogicalRouterStaticRoute)(nil).AddLogicalRouterStaticRoute), varargs...) } @@ -1934,7 +1943,7 @@ func (m *MockLogicalRouterStaticRoute) ClearLogicalRouterStaticRoute(lrName stri } // ClearLogicalRouterStaticRoute indicates an expected call of ClearLogicalRouterStaticRoute. -func (mr *MockLogicalRouterStaticRouteMockRecorder) ClearLogicalRouterStaticRoute(lrName any) *gomock.Call { +func (mr *MockLogicalRouterStaticRouteMockRecorder) ClearLogicalRouterStaticRoute(lrName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearLogicalRouterStaticRoute", reflect.TypeOf((*MockLogicalRouterStaticRoute)(nil).ClearLogicalRouterStaticRoute), lrName) } @@ -1948,7 +1957,7 @@ func (m *MockLogicalRouterStaticRoute) DeleteLogicalRouterStaticRoute(lrName str } // DeleteLogicalRouterStaticRoute indicates an expected call of DeleteLogicalRouterStaticRoute. -func (mr *MockLogicalRouterStaticRouteMockRecorder) DeleteLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, nextHop any) *gomock.Call { +func (mr *MockLogicalRouterStaticRouteMockRecorder) DeleteLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, nextHop interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterStaticRoute", reflect.TypeOf((*MockLogicalRouterStaticRoute)(nil).DeleteLogicalRouterStaticRoute), lrName, routeTable, policy, ipPrefix, nextHop) } @@ -1963,7 +1972,7 @@ func (m *MockLogicalRouterStaticRoute) ListLogicalRouterStaticRoutes(lrName stri } // ListLogicalRouterStaticRoutes indicates an expected call of ListLogicalRouterStaticRoutes. -func (mr *MockLogicalRouterStaticRouteMockRecorder) ListLogicalRouterStaticRoutes(lrName, routeTable, policy, ipPrefix, externalIDs any) *gomock.Call { +func (mr *MockLogicalRouterStaticRouteMockRecorder) ListLogicalRouterStaticRoutes(lrName, routeTable, policy, ipPrefix, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouterStaticRoutes", reflect.TypeOf((*MockLogicalRouterStaticRoute)(nil).ListLogicalRouterStaticRoutes), lrName, routeTable, policy, ipPrefix, externalIDs) } @@ -1978,7 +1987,7 @@ func (m *MockLogicalRouterStaticRoute) ListLogicalRouterStaticRoutesByOption(lrN } // ListLogicalRouterStaticRoutesByOption indicates an expected call of ListLogicalRouterStaticRoutesByOption. -func (mr *MockLogicalRouterStaticRouteMockRecorder) ListLogicalRouterStaticRoutesByOption(lrName, routeTable, key, value any) *gomock.Call { +func (mr *MockLogicalRouterStaticRouteMockRecorder) ListLogicalRouterStaticRoutesByOption(lrName, routeTable, key, value interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouterStaticRoutesByOption", reflect.TypeOf((*MockLogicalRouterStaticRoute)(nil).ListLogicalRouterStaticRoutesByOption), lrName, routeTable, key, value) } @@ -1993,7 +2002,7 @@ func (m *MockLogicalRouterStaticRoute) LogicalRouterStaticRouteExists(lrName, ro } // LogicalRouterStaticRouteExists indicates an expected call of LogicalRouterStaticRouteExists. -func (mr *MockLogicalRouterStaticRouteMockRecorder) LogicalRouterStaticRouteExists(lrName, routeTable, policy, ipPrefix, nexthop any) *gomock.Call { +func (mr *MockLogicalRouterStaticRouteMockRecorder) LogicalRouterStaticRouteExists(lrName, routeTable, policy, ipPrefix, nexthop interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalRouterStaticRouteExists", reflect.TypeOf((*MockLogicalRouterStaticRoute)(nil).LogicalRouterStaticRouteExists), lrName, routeTable, policy, ipPrefix, nexthop) } @@ -2030,7 +2039,7 @@ func (m *MockLogicalRouterPolicy) AddLogicalRouterPolicy(lrName string, priority } // AddLogicalRouterPolicy indicates an expected call of AddLogicalRouterPolicy. -func (mr *MockLogicalRouterPolicyMockRecorder) AddLogicalRouterPolicy(lrName, priority, match, action, nextHops, externalIDs any) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) AddLogicalRouterPolicy(lrName, priority, match, action, nextHops, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddLogicalRouterPolicy", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).AddLogicalRouterPolicy), lrName, priority, match, action, nextHops, externalIDs) } @@ -2044,7 +2053,7 @@ func (m *MockLogicalRouterPolicy) ClearLogicalRouterPolicy(lrName string) error } // ClearLogicalRouterPolicy indicates an expected call of ClearLogicalRouterPolicy. -func (mr *MockLogicalRouterPolicyMockRecorder) ClearLogicalRouterPolicy(lrName any) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) ClearLogicalRouterPolicy(lrName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearLogicalRouterPolicy", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).ClearLogicalRouterPolicy), lrName) } @@ -2058,7 +2067,7 @@ func (m *MockLogicalRouterPolicy) DeleteLogicalRouterPolicies(lrName string, pri } // DeleteLogicalRouterPolicies indicates an expected call of DeleteLogicalRouterPolicies. -func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicies(lrName, priority, externalIDs any) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicies(lrName, priority, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPolicies", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).DeleteLogicalRouterPolicies), lrName, priority, externalIDs) } @@ -2072,7 +2081,7 @@ func (m *MockLogicalRouterPolicy) DeleteLogicalRouterPolicy(lrName string, prior } // DeleteLogicalRouterPolicy indicates an expected call of DeleteLogicalRouterPolicy. -func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicy(lrName, priority, match any) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicy(lrName, priority, match interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPolicy", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).DeleteLogicalRouterPolicy), lrName, priority, match) } @@ -2086,7 +2095,7 @@ func (m *MockLogicalRouterPolicy) DeleteLogicalRouterPolicyByNexthop(lrName stri } // DeleteLogicalRouterPolicyByNexthop indicates an expected call of DeleteLogicalRouterPolicyByNexthop. -func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicyByNexthop(lrName, priority, nexthop any) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicyByNexthop(lrName, priority, nexthop interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPolicyByNexthop", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).DeleteLogicalRouterPolicyByNexthop), lrName, priority, nexthop) } @@ -2100,7 +2109,7 @@ func (m *MockLogicalRouterPolicy) DeleteLogicalRouterPolicyByUUID(lrName, uuid s } // DeleteLogicalRouterPolicyByUUID indicates an expected call of DeleteLogicalRouterPolicyByUUID. -func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicyByUUID(lrName, uuid any) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) DeleteLogicalRouterPolicyByUUID(lrName, uuid interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPolicyByUUID", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).DeleteLogicalRouterPolicyByUUID), lrName, uuid) } @@ -2115,7 +2124,7 @@ func (m *MockLogicalRouterPolicy) GetLogicalRouterPoliciesByExtID(lrName, key, v } // GetLogicalRouterPoliciesByExtID indicates an expected call of GetLogicalRouterPoliciesByExtID. -func (mr *MockLogicalRouterPolicyMockRecorder) GetLogicalRouterPoliciesByExtID(lrName, key, value any) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) GetLogicalRouterPoliciesByExtID(lrName, key, value interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouterPoliciesByExtID", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).GetLogicalRouterPoliciesByExtID), lrName, key, value) } @@ -2130,7 +2139,7 @@ func (m *MockLogicalRouterPolicy) GetLogicalRouterPolicy(lrName string, priority } // GetLogicalRouterPolicy indicates an expected call of GetLogicalRouterPolicy. -func (mr *MockLogicalRouterPolicyMockRecorder) GetLogicalRouterPolicy(lrName, priority, match, ignoreNotFound any) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) GetLogicalRouterPolicy(lrName, priority, match, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouterPolicy", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).GetLogicalRouterPolicy), lrName, priority, match, ignoreNotFound) } @@ -2145,7 +2154,7 @@ func (m *MockLogicalRouterPolicy) ListLogicalRouterPolicies(lrName string, prior } // ListLogicalRouterPolicies indicates an expected call of ListLogicalRouterPolicies. -func (mr *MockLogicalRouterPolicyMockRecorder) ListLogicalRouterPolicies(lrName, priority, externalIDs, ignoreExtIDEmptyValue any) *gomock.Call { +func (mr *MockLogicalRouterPolicyMockRecorder) ListLogicalRouterPolicies(lrName, priority, externalIDs, ignoreExtIDEmptyValue interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouterPolicies", reflect.TypeOf((*MockLogicalRouterPolicy)(nil).ListLogicalRouterPolicies), lrName, priority, externalIDs, ignoreExtIDEmptyValue) } @@ -2182,7 +2191,7 @@ func (m *MockNAT) AddNat(lrName, natType, externalIP, logicalIP, logicalMac, por } // AddNat indicates an expected call of AddNat. -func (mr *MockNATMockRecorder) AddNat(lrName, natType, externalIP, logicalIP, logicalMac, port, options any) *gomock.Call { +func (mr *MockNATMockRecorder) AddNat(lrName, natType, externalIP, logicalIP, logicalMac, port, options interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddNat", reflect.TypeOf((*MockNAT)(nil).AddNat), lrName, natType, externalIP, logicalIP, logicalMac, port, options) } @@ -2196,7 +2205,7 @@ func (m *MockNAT) DeleteNat(lrName, natType, externalIP, logicalIP string) error } // DeleteNat indicates an expected call of DeleteNat. -func (mr *MockNATMockRecorder) DeleteNat(lrName, natType, externalIP, logicalIP any) *gomock.Call { +func (mr *MockNATMockRecorder) DeleteNat(lrName, natType, externalIP, logicalIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNat", reflect.TypeOf((*MockNAT)(nil).DeleteNat), lrName, natType, externalIP, logicalIP) } @@ -2210,7 +2219,7 @@ func (m *MockNAT) DeleteNats(lrName, natType, logicalIP string) error { } // DeleteNats indicates an expected call of DeleteNats. -func (mr *MockNATMockRecorder) DeleteNats(lrName, natType, logicalIP any) *gomock.Call { +func (mr *MockNATMockRecorder) DeleteNats(lrName, natType, logicalIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNats", reflect.TypeOf((*MockNAT)(nil).DeleteNats), lrName, natType, logicalIP) } @@ -2225,7 +2234,7 @@ func (m *MockNAT) GetNATByUUID(uuid string) (*ovnnb.NAT, error) { } // GetNATByUUID indicates an expected call of GetNATByUUID. -func (mr *MockNATMockRecorder) GetNATByUUID(uuid any) *gomock.Call { +func (mr *MockNATMockRecorder) GetNATByUUID(uuid interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNATByUUID", reflect.TypeOf((*MockNAT)(nil).GetNATByUUID), uuid) } @@ -2240,7 +2249,7 @@ func (m *MockNAT) ListNats(lrName, natType, logicalIP string, externalIDs map[st } // ListNats indicates an expected call of ListNats. -func (mr *MockNATMockRecorder) ListNats(lrName, natType, logicalIP, externalIDs any) *gomock.Call { +func (mr *MockNATMockRecorder) ListNats(lrName, natType, logicalIP, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListNats", reflect.TypeOf((*MockNAT)(nil).ListNats), lrName, natType, logicalIP, externalIDs) } @@ -2255,7 +2264,7 @@ func (m *MockNAT) NatExists(lrName, natType, externalIP, logicalIP string) (bool } // NatExists indicates an expected call of NatExists. -func (mr *MockNATMockRecorder) NatExists(lrName, natType, externalIP, logicalIP any) *gomock.Call { +func (mr *MockNATMockRecorder) NatExists(lrName, natType, externalIP, logicalIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NatExists", reflect.TypeOf((*MockNAT)(nil).NatExists), lrName, natType, externalIP, logicalIP) } @@ -2269,7 +2278,7 @@ func (m *MockNAT) UpdateDnatAndSnat(lrName, externalIP, logicalIP, lspName, exte } // UpdateDnatAndSnat indicates an expected call of UpdateDnatAndSnat. -func (mr *MockNATMockRecorder) UpdateDnatAndSnat(lrName, externalIP, logicalIP, lspName, externalMac, gatewayType any) *gomock.Call { +func (mr *MockNATMockRecorder) UpdateDnatAndSnat(lrName, externalIP, logicalIP, lspName, externalMac, gatewayType interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateDnatAndSnat", reflect.TypeOf((*MockNAT)(nil).UpdateDnatAndSnat), lrName, externalIP, logicalIP, lspName, externalMac, gatewayType) } @@ -2283,7 +2292,7 @@ func (m *MockNAT) UpdateSnat(lrName, externalIP, logicalIP string) error { } // UpdateSnat indicates an expected call of UpdateSnat. -func (mr *MockNATMockRecorder) UpdateSnat(lrName, externalIP, logicalIP any) *gomock.Call { +func (mr *MockNATMockRecorder) UpdateSnat(lrName, externalIP, logicalIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateSnat", reflect.TypeOf((*MockNAT)(nil).UpdateSnat), lrName, externalIP, logicalIP) } @@ -2320,7 +2329,7 @@ func (m *MockDHCPOptions) DeleteDHCPOptions(lsName, protocol string) error { } // DeleteDHCPOptions indicates an expected call of DeleteDHCPOptions. -func (mr *MockDHCPOptionsMockRecorder) DeleteDHCPOptions(lsName, protocol any) *gomock.Call { +func (mr *MockDHCPOptionsMockRecorder) DeleteDHCPOptions(lsName, protocol interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDHCPOptions", reflect.TypeOf((*MockDHCPOptions)(nil).DeleteDHCPOptions), lsName, protocol) } @@ -2328,7 +2337,7 @@ func (mr *MockDHCPOptionsMockRecorder) DeleteDHCPOptions(lsName, protocol any) * // DeleteDHCPOptionsByUUIDs mocks base method. func (m *MockDHCPOptions) DeleteDHCPOptionsByUUIDs(uuidList ...string) error { m.ctrl.T.Helper() - varargs := []any{} + varargs := []interface{}{} for _, a := range uuidList { varargs = append(varargs, a) } @@ -2338,7 +2347,7 @@ func (m *MockDHCPOptions) DeleteDHCPOptionsByUUIDs(uuidList ...string) error { } // DeleteDHCPOptionsByUUIDs indicates an expected call of DeleteDHCPOptionsByUUIDs. -func (mr *MockDHCPOptionsMockRecorder) DeleteDHCPOptionsByUUIDs(uuidList ...any) *gomock.Call { +func (mr *MockDHCPOptionsMockRecorder) DeleteDHCPOptionsByUUIDs(uuidList ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDHCPOptionsByUUIDs", reflect.TypeOf((*MockDHCPOptions)(nil).DeleteDHCPOptionsByUUIDs), uuidList...) } @@ -2353,7 +2362,7 @@ func (m *MockDHCPOptions) ListDHCPOptions(needVendorFilter bool, externalIDs map } // ListDHCPOptions indicates an expected call of ListDHCPOptions. -func (mr *MockDHCPOptionsMockRecorder) ListDHCPOptions(needVendorFilter, externalIDs any) *gomock.Call { +func (mr *MockDHCPOptionsMockRecorder) ListDHCPOptions(needVendorFilter, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDHCPOptions", reflect.TypeOf((*MockDHCPOptions)(nil).ListDHCPOptions), needVendorFilter, externalIDs) } @@ -2368,7 +2377,7 @@ func (m *MockDHCPOptions) UpdateDHCPOptions(subnet *v1.Subnet, mtu int) (*ovs.DH } // UpdateDHCPOptions indicates an expected call of UpdateDHCPOptions. -func (mr *MockDHCPOptionsMockRecorder) UpdateDHCPOptions(subnet, mtu any) *gomock.Call { +func (mr *MockDHCPOptionsMockRecorder) UpdateDHCPOptions(subnet, mtu interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateDHCPOptions", reflect.TypeOf((*MockDHCPOptions)(nil).UpdateDHCPOptions), subnet, mtu) } @@ -2405,7 +2414,7 @@ func (m *MockNbClient) AddLoadBalancerHealthCheck(lbName, vip string, externals } // AddLoadBalancerHealthCheck indicates an expected call of AddLoadBalancerHealthCheck. -func (mr *MockNbClientMockRecorder) AddLoadBalancerHealthCheck(lbName, vip, externals any) *gomock.Call { +func (mr *MockNbClientMockRecorder) AddLoadBalancerHealthCheck(lbName, vip, externals interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddLoadBalancerHealthCheck", reflect.TypeOf((*MockNbClient)(nil).AddLoadBalancerHealthCheck), lbName, vip, externals) } @@ -2419,7 +2428,7 @@ func (m *MockNbClient) AddLogicalRouterPolicy(lrName string, priority int, match } // AddLogicalRouterPolicy indicates an expected call of AddLogicalRouterPolicy. -func (mr *MockNbClientMockRecorder) AddLogicalRouterPolicy(lrName, priority, match, action, nextHops, externalIDs any) *gomock.Call { +func (mr *MockNbClientMockRecorder) AddLogicalRouterPolicy(lrName, priority, match, action, nextHops, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddLogicalRouterPolicy", reflect.TypeOf((*MockNbClient)(nil).AddLogicalRouterPolicy), lrName, priority, match, action, nextHops, externalIDs) } @@ -2427,7 +2436,7 @@ func (mr *MockNbClientMockRecorder) AddLogicalRouterPolicy(lrName, priority, mat // AddLogicalRouterStaticRoute mocks base method. func (m *MockNbClient) AddLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix string, bfdID *string, nexthops ...string) error { m.ctrl.T.Helper() - varargs := []any{lrName, routeTable, policy, ipPrefix, bfdID} + varargs := []interface{}{lrName, routeTable, policy, ipPrefix, bfdID} for _, a := range nexthops { varargs = append(varargs, a) } @@ -2437,9 +2446,9 @@ func (m *MockNbClient) AddLogicalRouterStaticRoute(lrName, routeTable, policy, i } // AddLogicalRouterStaticRoute indicates an expected call of AddLogicalRouterStaticRoute. -func (mr *MockNbClientMockRecorder) AddLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, bfdID any, nexthops ...any) *gomock.Call { +func (mr *MockNbClientMockRecorder) AddLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, bfdID interface{}, nexthops ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{lrName, routeTable, policy, ipPrefix, bfdID}, nexthops...) + varargs := append([]interface{}{lrName, routeTable, policy, ipPrefix, bfdID}, nexthops...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddLogicalRouterStaticRoute", reflect.TypeOf((*MockNbClient)(nil).AddLogicalRouterStaticRoute), varargs...) } @@ -2452,7 +2461,7 @@ func (m *MockNbClient) AddNat(lrName, natType, externalIP, logicalIP, logicalMac } // AddNat indicates an expected call of AddNat. -func (mr *MockNbClientMockRecorder) AddNat(lrName, natType, externalIP, logicalIP, logicalMac, port, options any) *gomock.Call { +func (mr *MockNbClientMockRecorder) AddNat(lrName, natType, externalIP, logicalIP, logicalMac, port, options interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddNat", reflect.TypeOf((*MockNbClient)(nil).AddNat), lrName, natType, externalIP, logicalIP, logicalMac, port, options) } @@ -2460,7 +2469,7 @@ func (mr *MockNbClientMockRecorder) AddNat(lrName, natType, externalIP, logicalI // AddressSetUpdateAddress mocks base method. func (m *MockNbClient) AddressSetUpdateAddress(asName string, addresses ...string) error { m.ctrl.T.Helper() - varargs := []any{asName} + varargs := []interface{}{asName} for _, a := range addresses { varargs = append(varargs, a) } @@ -2470,9 +2479,9 @@ func (m *MockNbClient) AddressSetUpdateAddress(asName string, addresses ...strin } // AddressSetUpdateAddress indicates an expected call of AddressSetUpdateAddress. -func (mr *MockNbClientMockRecorder) AddressSetUpdateAddress(asName any, addresses ...any) *gomock.Call { +func (mr *MockNbClientMockRecorder) AddressSetUpdateAddress(asName interface{}, addresses ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{asName}, addresses...) + varargs := append([]interface{}{asName}, addresses...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AddressSetUpdateAddress", reflect.TypeOf((*MockNbClient)(nil).AddressSetUpdateAddress), varargs...) } @@ -2485,7 +2494,7 @@ func (m *MockNbClient) CleanLogicalSwitchPortMigrateOptions(lspName string) erro } // CleanLogicalSwitchPortMigrateOptions indicates an expected call of CleanLogicalSwitchPortMigrateOptions. -func (mr *MockNbClientMockRecorder) CleanLogicalSwitchPortMigrateOptions(lspName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CleanLogicalSwitchPortMigrateOptions(lspName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CleanLogicalSwitchPortMigrateOptions", reflect.TypeOf((*MockNbClient)(nil).CleanLogicalSwitchPortMigrateOptions), lspName) } @@ -2499,7 +2508,7 @@ func (m *MockNbClient) ClearLogicalRouterPolicy(lrName string) error { } // ClearLogicalRouterPolicy indicates an expected call of ClearLogicalRouterPolicy. -func (mr *MockNbClientMockRecorder) ClearLogicalRouterPolicy(lrName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ClearLogicalRouterPolicy(lrName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearLogicalRouterPolicy", reflect.TypeOf((*MockNbClient)(nil).ClearLogicalRouterPolicy), lrName) } @@ -2513,7 +2522,7 @@ func (m *MockNbClient) ClearLogicalRouterStaticRoute(lrName string) error { } // ClearLogicalRouterStaticRoute indicates an expected call of ClearLogicalRouterStaticRoute. -func (mr *MockNbClientMockRecorder) ClearLogicalRouterStaticRoute(lrName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ClearLogicalRouterStaticRoute(lrName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ClearLogicalRouterStaticRoute", reflect.TypeOf((*MockNbClient)(nil).ClearLogicalRouterStaticRoute), lrName) } @@ -2527,7 +2536,7 @@ func (m *MockNbClient) CreateAddressSet(asName string, externalIDs map[string]st } // CreateAddressSet indicates an expected call of CreateAddressSet. -func (mr *MockNbClientMockRecorder) CreateAddressSet(asName, externalIDs any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateAddressSet(asName, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateAddressSet", reflect.TypeOf((*MockNbClient)(nil).CreateAddressSet), asName, externalIDs) } @@ -2542,7 +2551,7 @@ func (m *MockNbClient) CreateBFD(lrpName, dstIP string, minRx, minTx, detectMult } // CreateBFD indicates an expected call of CreateBFD. -func (mr *MockNbClientMockRecorder) CreateBFD(lrpName, dstIP, minRx, minTx, detectMult any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateBFD(lrpName, dstIP, minRx, minTx, detectMult interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBFD", reflect.TypeOf((*MockNbClient)(nil).CreateBFD), lrpName, dstIP, minRx, minTx, detectMult) } @@ -2556,7 +2565,7 @@ func (m *MockNbClient) CreateBareLogicalSwitch(lsName string) error { } // CreateBareLogicalSwitch indicates an expected call of CreateBareLogicalSwitch. -func (mr *MockNbClientMockRecorder) CreateBareLogicalSwitch(lsName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateBareLogicalSwitch(lsName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBareLogicalSwitch", reflect.TypeOf((*MockNbClient)(nil).CreateBareLogicalSwitch), lsName) } @@ -2570,7 +2579,7 @@ func (m *MockNbClient) CreateBareLogicalSwitchPort(lsName, lspName, ip, mac stri } // CreateBareLogicalSwitchPort indicates an expected call of CreateBareLogicalSwitchPort. -func (mr *MockNbClientMockRecorder) CreateBareLogicalSwitchPort(lsName, lspName, ip, mac any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateBareLogicalSwitchPort(lsName, lspName, ip, mac interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateBareLogicalSwitchPort", reflect.TypeOf((*MockNbClient)(nil).CreateBareLogicalSwitchPort), lsName, lspName, ip, mac) } @@ -2584,7 +2593,7 @@ func (m *MockNbClient) CreateGatewayACL(lsName, pgName, gateway string) error { } // CreateGatewayACL indicates an expected call of CreateGatewayACL. -func (mr *MockNbClientMockRecorder) CreateGatewayACL(lsName, pgName, gateway any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateGatewayACL(lsName, pgName, gateway interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateGatewayACL", reflect.TypeOf((*MockNbClient)(nil).CreateGatewayACL), lsName, pgName, gateway) } @@ -2592,7 +2601,7 @@ func (mr *MockNbClientMockRecorder) CreateGatewayACL(lsName, pgName, gateway any // CreateGatewayLogicalSwitch mocks base method. func (m *MockNbClient) CreateGatewayLogicalSwitch(lsName, lrName, provider, ip, mac string, vlanID int, chassises ...string) error { m.ctrl.T.Helper() - varargs := []any{lsName, lrName, provider, ip, mac, vlanID} + varargs := []interface{}{lsName, lrName, provider, ip, mac, vlanID} for _, a := range chassises { varargs = append(varargs, a) } @@ -2602,9 +2611,9 @@ func (m *MockNbClient) CreateGatewayLogicalSwitch(lsName, lrName, provider, ip, } // CreateGatewayLogicalSwitch indicates an expected call of CreateGatewayLogicalSwitch. -func (mr *MockNbClientMockRecorder) CreateGatewayLogicalSwitch(lsName, lrName, provider, ip, mac, vlanID any, chassises ...any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateGatewayLogicalSwitch(lsName, lrName, provider, ip, mac, vlanID interface{}, chassises ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{lsName, lrName, provider, ip, mac, vlanID}, chassises...) + varargs := append([]interface{}{lsName, lrName, provider, ip, mac, vlanID}, chassises...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateGatewayLogicalSwitch", reflect.TypeOf((*MockNbClient)(nil).CreateGatewayLogicalSwitch), varargs...) } @@ -2617,7 +2626,7 @@ func (m *MockNbClient) CreateLoadBalancer(lbName, protocol, selectFields string) } // CreateLoadBalancer indicates an expected call of CreateLoadBalancer. -func (mr *MockNbClientMockRecorder) CreateLoadBalancer(lbName, protocol, selectFields any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateLoadBalancer(lbName, protocol, selectFields interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLoadBalancer", reflect.TypeOf((*MockNbClient)(nil).CreateLoadBalancer), lbName, protocol, selectFields) } @@ -2631,7 +2640,7 @@ func (m *MockNbClient) CreateLoadBalancerHealthCheck(lbName, vip string, lbhc *o } // CreateLoadBalancerHealthCheck indicates an expected call of CreateLoadBalancerHealthCheck. -func (mr *MockNbClientMockRecorder) CreateLoadBalancerHealthCheck(lbName, vip, lbhc any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateLoadBalancerHealthCheck(lbName, vip, lbhc interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLoadBalancerHealthCheck", reflect.TypeOf((*MockNbClient)(nil).CreateLoadBalancerHealthCheck), lbName, vip, lbhc) } @@ -2645,7 +2654,7 @@ func (m *MockNbClient) CreateLocalnetLogicalSwitchPort(lsName, lspName, provider } // CreateLocalnetLogicalSwitchPort indicates an expected call of CreateLocalnetLogicalSwitchPort. -func (mr *MockNbClientMockRecorder) CreateLocalnetLogicalSwitchPort(lsName, lspName, provider, cidrBlock, vlanID any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateLocalnetLogicalSwitchPort(lsName, lspName, provider, cidrBlock, vlanID interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLocalnetLogicalSwitchPort", reflect.TypeOf((*MockNbClient)(nil).CreateLocalnetLogicalSwitchPort), lsName, lspName, provider, cidrBlock, vlanID) } @@ -2653,7 +2662,7 @@ func (mr *MockNbClientMockRecorder) CreateLocalnetLogicalSwitchPort(lsName, lspN // CreateLogicalPatchPort mocks base method. func (m *MockNbClient) CreateLogicalPatchPort(lsName, lrName, lspName, lrpName, ip, mac string, chassises ...string) error { m.ctrl.T.Helper() - varargs := []any{lsName, lrName, lspName, lrpName, ip, mac} + varargs := []interface{}{lsName, lrName, lspName, lrpName, ip, mac} for _, a := range chassises { varargs = append(varargs, a) } @@ -2663,9 +2672,9 @@ func (m *MockNbClient) CreateLogicalPatchPort(lsName, lrName, lspName, lrpName, } // CreateLogicalPatchPort indicates an expected call of CreateLogicalPatchPort. -func (mr *MockNbClientMockRecorder) CreateLogicalPatchPort(lsName, lrName, lspName, lrpName, ip, mac any, chassises ...any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateLogicalPatchPort(lsName, lrName, lspName, lrpName, ip, mac interface{}, chassises ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{lsName, lrName, lspName, lrpName, ip, mac}, chassises...) + varargs := append([]interface{}{lsName, lrName, lspName, lrpName, ip, mac}, chassises...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalPatchPort", reflect.TypeOf((*MockNbClient)(nil).CreateLogicalPatchPort), varargs...) } @@ -2678,7 +2687,7 @@ func (m *MockNbClient) CreateLogicalRouter(lrName string) error { } // CreateLogicalRouter indicates an expected call of CreateLogicalRouter. -func (mr *MockNbClientMockRecorder) CreateLogicalRouter(lrName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateLogicalRouter(lrName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalRouter", reflect.TypeOf((*MockNbClient)(nil).CreateLogicalRouter), lrName) } @@ -2692,7 +2701,7 @@ func (m *MockNbClient) CreateLogicalRouterPort(lrName, lrpName, mac string, netw } // CreateLogicalRouterPort indicates an expected call of CreateLogicalRouterPort. -func (mr *MockNbClientMockRecorder) CreateLogicalRouterPort(lrName, lrpName, mac, networks any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateLogicalRouterPort(lrName, lrpName, mac, networks interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalRouterPort", reflect.TypeOf((*MockNbClient)(nil).CreateLogicalRouterPort), lrName, lrpName, mac, networks) } @@ -2706,7 +2715,7 @@ func (m *MockNbClient) CreateLogicalSwitch(lsName, lrName, cidrBlock, gateway st } // CreateLogicalSwitch indicates an expected call of CreateLogicalSwitch. -func (mr *MockNbClientMockRecorder) CreateLogicalSwitch(lsName, lrName, cidrBlock, gateway, needRouter, randomAllocateGW any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateLogicalSwitch(lsName, lrName, cidrBlock, gateway, needRouter, randomAllocateGW interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalSwitch", reflect.TypeOf((*MockNbClient)(nil).CreateLogicalSwitch), lsName, lrName, cidrBlock, gateway, needRouter, randomAllocateGW) } @@ -2720,7 +2729,7 @@ func (m *MockNbClient) CreateLogicalSwitchPort(lsName, lspName, ip, mac, podName } // CreateLogicalSwitchPort indicates an expected call of CreateLogicalSwitchPort. -func (mr *MockNbClientMockRecorder) CreateLogicalSwitchPort(lsName, lspName, ip, mac, podName, namespace, portSecurity, securityGroups, vips, enableDHCP, dhcpOptions, vpc any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateLogicalSwitchPort(lsName, lspName, ip, mac, podName, namespace, portSecurity, securityGroups, vips, enableDHCP, dhcpOptions, vpc interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateLogicalSwitchPort", reflect.TypeOf((*MockNbClient)(nil).CreateLogicalSwitchPort), lsName, lspName, ip, mac, podName, namespace, portSecurity, securityGroups, vips, enableDHCP, dhcpOptions, vpc) } @@ -2734,7 +2743,7 @@ func (m *MockNbClient) CreateNodeACL(pgName, nodeIPStr, joinIPStr string) error } // CreateNodeACL indicates an expected call of CreateNodeACL. -func (mr *MockNbClientMockRecorder) CreateNodeACL(pgName, nodeIPStr, joinIPStr any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateNodeACL(pgName, nodeIPStr, joinIPStr interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateNodeACL", reflect.TypeOf((*MockNbClient)(nil).CreateNodeACL), pgName, nodeIPStr, joinIPStr) } @@ -2748,7 +2757,7 @@ func (m *MockNbClient) CreatePeerRouterPort(localRouter, remoteRouter, localRout } // CreatePeerRouterPort indicates an expected call of CreatePeerRouterPort. -func (mr *MockNbClientMockRecorder) CreatePeerRouterPort(localRouter, remoteRouter, localRouterPortIP any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreatePeerRouterPort(localRouter, remoteRouter, localRouterPortIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePeerRouterPort", reflect.TypeOf((*MockNbClient)(nil).CreatePeerRouterPort), localRouter, remoteRouter, localRouterPortIP) } @@ -2762,7 +2771,7 @@ func (m *MockNbClient) CreatePortGroup(pgName string, externalIDs map[string]str } // CreatePortGroup indicates an expected call of CreatePortGroup. -func (mr *MockNbClientMockRecorder) CreatePortGroup(pgName, externalIDs any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreatePortGroup(pgName, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreatePortGroup", reflect.TypeOf((*MockNbClient)(nil).CreatePortGroup), pgName, externalIDs) } @@ -2776,7 +2785,7 @@ func (m *MockNbClient) CreateSgBaseACL(sgName, direction string) error { } // CreateSgBaseACL indicates an expected call of CreateSgBaseACL. -func (mr *MockNbClientMockRecorder) CreateSgBaseACL(sgName, direction any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateSgBaseACL(sgName, direction interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSgBaseACL", reflect.TypeOf((*MockNbClient)(nil).CreateSgBaseACL), sgName, direction) } @@ -2790,7 +2799,7 @@ func (m *MockNbClient) CreateSgDenyAllACL(sgName string) error { } // CreateSgDenyAllACL indicates an expected call of CreateSgDenyAllACL. -func (mr *MockNbClientMockRecorder) CreateSgDenyAllACL(sgName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateSgDenyAllACL(sgName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSgDenyAllACL", reflect.TypeOf((*MockNbClient)(nil).CreateSgDenyAllACL), sgName) } @@ -2804,7 +2813,7 @@ func (m *MockNbClient) CreateVirtualLogicalSwitchPort(lspName, lsName, ip string } // CreateVirtualLogicalSwitchPort indicates an expected call of CreateVirtualLogicalSwitchPort. -func (mr *MockNbClientMockRecorder) CreateVirtualLogicalSwitchPort(lspName, lsName, ip any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateVirtualLogicalSwitchPort(lspName, lsName, ip interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateVirtualLogicalSwitchPort", reflect.TypeOf((*MockNbClient)(nil).CreateVirtualLogicalSwitchPort), lspName, lsName, ip) } @@ -2812,7 +2821,7 @@ func (mr *MockNbClientMockRecorder) CreateVirtualLogicalSwitchPort(lspName, lsNa // CreateVirtualLogicalSwitchPorts mocks base method. func (m *MockNbClient) CreateVirtualLogicalSwitchPorts(lsName string, ips ...string) error { m.ctrl.T.Helper() - varargs := []any{lsName} + varargs := []interface{}{lsName} for _, a := range ips { varargs = append(varargs, a) } @@ -2822,9 +2831,9 @@ func (m *MockNbClient) CreateVirtualLogicalSwitchPorts(lsName string, ips ...str } // CreateVirtualLogicalSwitchPorts indicates an expected call of CreateVirtualLogicalSwitchPorts. -func (mr *MockNbClientMockRecorder) CreateVirtualLogicalSwitchPorts(lsName any, ips ...any) *gomock.Call { +func (mr *MockNbClientMockRecorder) CreateVirtualLogicalSwitchPorts(lsName interface{}, ips ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{lsName}, ips...) + varargs := append([]interface{}{lsName}, ips...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateVirtualLogicalSwitchPorts", reflect.TypeOf((*MockNbClient)(nil).CreateVirtualLogicalSwitchPorts), varargs...) } @@ -2837,7 +2846,7 @@ func (m *MockNbClient) DeleteAcls(parentName, parentType, direction string, exte } // DeleteAcls indicates an expected call of DeleteAcls. -func (mr *MockNbClientMockRecorder) DeleteAcls(parentName, parentType, direction, externalIDs any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteAcls(parentName, parentType, direction, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAcls", reflect.TypeOf((*MockNbClient)(nil).DeleteAcls), parentName, parentType, direction, externalIDs) } @@ -2852,7 +2861,7 @@ func (m *MockNbClient) DeleteAclsOps(parentName, parentType, direction string, e } // DeleteAclsOps indicates an expected call of DeleteAclsOps. -func (mr *MockNbClientMockRecorder) DeleteAclsOps(parentName, parentType, direction, externalIDs any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteAclsOps(parentName, parentType, direction, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAclsOps", reflect.TypeOf((*MockNbClient)(nil).DeleteAclsOps), parentName, parentType, direction, externalIDs) } @@ -2866,7 +2875,7 @@ func (m *MockNbClient) DeleteAddressSet(asName string) error { } // DeleteAddressSet indicates an expected call of DeleteAddressSet. -func (mr *MockNbClientMockRecorder) DeleteAddressSet(asName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteAddressSet(asName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAddressSet", reflect.TypeOf((*MockNbClient)(nil).DeleteAddressSet), asName) } @@ -2880,7 +2889,7 @@ func (m *MockNbClient) DeleteAddressSets(externalIDs map[string]string) error { } // DeleteAddressSets indicates an expected call of DeleteAddressSets. -func (mr *MockNbClientMockRecorder) DeleteAddressSets(externalIDs any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteAddressSets(externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteAddressSets", reflect.TypeOf((*MockNbClient)(nil).DeleteAddressSets), externalIDs) } @@ -2894,7 +2903,7 @@ func (m *MockNbClient) DeleteBFD(lrpName, dstIP string) error { } // DeleteBFD indicates an expected call of DeleteBFD. -func (mr *MockNbClientMockRecorder) DeleteBFD(lrpName, dstIP any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteBFD(lrpName, dstIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteBFD", reflect.TypeOf((*MockNbClient)(nil).DeleteBFD), lrpName, dstIP) } @@ -2908,7 +2917,7 @@ func (m *MockNbClient) DeleteDHCPOptions(lsName, protocol string) error { } // DeleteDHCPOptions indicates an expected call of DeleteDHCPOptions. -func (mr *MockNbClientMockRecorder) DeleteDHCPOptions(lsName, protocol any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteDHCPOptions(lsName, protocol interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDHCPOptions", reflect.TypeOf((*MockNbClient)(nil).DeleteDHCPOptions), lsName, protocol) } @@ -2916,7 +2925,7 @@ func (mr *MockNbClientMockRecorder) DeleteDHCPOptions(lsName, protocol any) *gom // DeleteDHCPOptionsByUUIDs mocks base method. func (m *MockNbClient) DeleteDHCPOptionsByUUIDs(uuidList ...string) error { m.ctrl.T.Helper() - varargs := []any{} + varargs := []interface{}{} for _, a := range uuidList { varargs = append(varargs, a) } @@ -2926,7 +2935,7 @@ func (m *MockNbClient) DeleteDHCPOptionsByUUIDs(uuidList ...string) error { } // DeleteDHCPOptionsByUUIDs indicates an expected call of DeleteDHCPOptionsByUUIDs. -func (mr *MockNbClientMockRecorder) DeleteDHCPOptionsByUUIDs(uuidList ...any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteDHCPOptionsByUUIDs(uuidList ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDHCPOptionsByUUIDs", reflect.TypeOf((*MockNbClient)(nil).DeleteDHCPOptionsByUUIDs), uuidList...) } @@ -2940,7 +2949,7 @@ func (m *MockNbClient) DeleteLoadBalancerHealthCheck(lbName, vip string) error { } // DeleteLoadBalancerHealthCheck indicates an expected call of DeleteLoadBalancerHealthCheck. -func (mr *MockNbClientMockRecorder) DeleteLoadBalancerHealthCheck(lbName, vip any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLoadBalancerHealthCheck(lbName, vip interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLoadBalancerHealthCheck", reflect.TypeOf((*MockNbClient)(nil).DeleteLoadBalancerHealthCheck), lbName, vip) } @@ -2954,7 +2963,7 @@ func (m *MockNbClient) DeleteLoadBalancerHealthChecks(filter func(*ovnnb.LoadBal } // DeleteLoadBalancerHealthChecks indicates an expected call of DeleteLoadBalancerHealthChecks. -func (mr *MockNbClientMockRecorder) DeleteLoadBalancerHealthChecks(filter any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLoadBalancerHealthChecks(filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLoadBalancerHealthChecks", reflect.TypeOf((*MockNbClient)(nil).DeleteLoadBalancerHealthChecks), filter) } @@ -2968,7 +2977,7 @@ func (m *MockNbClient) DeleteLoadBalancers(filter func(*ovnnb.LoadBalancer) bool } // DeleteLoadBalancers indicates an expected call of DeleteLoadBalancers. -func (mr *MockNbClientMockRecorder) DeleteLoadBalancers(filter any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLoadBalancers(filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLoadBalancers", reflect.TypeOf((*MockNbClient)(nil).DeleteLoadBalancers), filter) } @@ -2982,7 +2991,7 @@ func (m *MockNbClient) DeleteLogicalGatewaySwitch(lsName, lrName string) error { } // DeleteLogicalGatewaySwitch indicates an expected call of DeleteLogicalGatewaySwitch. -func (mr *MockNbClientMockRecorder) DeleteLogicalGatewaySwitch(lsName, lrName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalGatewaySwitch(lsName, lrName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalGatewaySwitch", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalGatewaySwitch), lsName, lrName) } @@ -2996,7 +3005,7 @@ func (m *MockNbClient) DeleteLogicalRouter(lrName string) error { } // DeleteLogicalRouter indicates an expected call of DeleteLogicalRouter. -func (mr *MockNbClientMockRecorder) DeleteLogicalRouter(lrName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalRouter(lrName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouter", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalRouter), lrName) } @@ -3010,7 +3019,7 @@ func (m *MockNbClient) DeleteLogicalRouterPolicies(lrName string, priority int, } // DeleteLogicalRouterPolicies indicates an expected call of DeleteLogicalRouterPolicies. -func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicies(lrName, priority, externalIDs any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicies(lrName, priority, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPolicies", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalRouterPolicies), lrName, priority, externalIDs) } @@ -3024,7 +3033,7 @@ func (m *MockNbClient) DeleteLogicalRouterPolicy(lrName string, priority int, ma } // DeleteLogicalRouterPolicy indicates an expected call of DeleteLogicalRouterPolicy. -func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicy(lrName, priority, match any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicy(lrName, priority, match interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPolicy", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalRouterPolicy), lrName, priority, match) } @@ -3038,7 +3047,7 @@ func (m *MockNbClient) DeleteLogicalRouterPolicyByNexthop(lrName string, priorit } // DeleteLogicalRouterPolicyByNexthop indicates an expected call of DeleteLogicalRouterPolicyByNexthop. -func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicyByNexthop(lrName, priority, nexthop any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicyByNexthop(lrName, priority, nexthop interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPolicyByNexthop", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalRouterPolicyByNexthop), lrName, priority, nexthop) } @@ -3052,7 +3061,7 @@ func (m *MockNbClient) DeleteLogicalRouterPolicyByUUID(lrName, uuid string) erro } // DeleteLogicalRouterPolicyByUUID indicates an expected call of DeleteLogicalRouterPolicyByUUID. -func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicyByUUID(lrName, uuid any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPolicyByUUID(lrName, uuid interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPolicyByUUID", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalRouterPolicyByUUID), lrName, uuid) } @@ -3066,7 +3075,7 @@ func (m *MockNbClient) DeleteLogicalRouterPort(lrpName string) error { } // DeleteLogicalRouterPort indicates an expected call of DeleteLogicalRouterPort. -func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPort(lrpName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPort(lrpName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPort", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalRouterPort), lrpName) } @@ -3080,7 +3089,7 @@ func (m *MockNbClient) DeleteLogicalRouterPorts(externalIDs map[string]string, f } // DeleteLogicalRouterPorts indicates an expected call of DeleteLogicalRouterPorts. -func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPorts(externalIDs, filter any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalRouterPorts(externalIDs, filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterPorts", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalRouterPorts), externalIDs, filter) } @@ -3094,7 +3103,7 @@ func (m *MockNbClient) DeleteLogicalRouterStaticRoute(lrName string, routeTable, } // DeleteLogicalRouterStaticRoute indicates an expected call of DeleteLogicalRouterStaticRoute. -func (mr *MockNbClientMockRecorder) DeleteLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, nextHop any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalRouterStaticRoute(lrName, routeTable, policy, ipPrefix, nextHop interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalRouterStaticRoute", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalRouterStaticRoute), lrName, routeTable, policy, ipPrefix, nextHop) } @@ -3108,7 +3117,7 @@ func (m *MockNbClient) DeleteLogicalSwitch(lsName string) error { } // DeleteLogicalSwitch indicates an expected call of DeleteLogicalSwitch. -func (mr *MockNbClientMockRecorder) DeleteLogicalSwitch(lsName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalSwitch(lsName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalSwitch", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalSwitch), lsName) } @@ -3122,7 +3131,7 @@ func (m *MockNbClient) DeleteLogicalSwitchPort(lspName string) error { } // DeleteLogicalSwitchPort indicates an expected call of DeleteLogicalSwitchPort. -func (mr *MockNbClientMockRecorder) DeleteLogicalSwitchPort(lspName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalSwitchPort(lspName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalSwitchPort", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalSwitchPort), lspName) } @@ -3136,7 +3145,7 @@ func (m *MockNbClient) DeleteLogicalSwitchPorts(externalIDs map[string]string, f } // DeleteLogicalSwitchPorts indicates an expected call of DeleteLogicalSwitchPorts. -func (mr *MockNbClientMockRecorder) DeleteLogicalSwitchPorts(externalIDs, filter any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteLogicalSwitchPorts(externalIDs, filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteLogicalSwitchPorts", reflect.TypeOf((*MockNbClient)(nil).DeleteLogicalSwitchPorts), externalIDs, filter) } @@ -3150,7 +3159,7 @@ func (m *MockNbClient) DeleteNat(lrName, natType, externalIP, logicalIP string) } // DeleteNat indicates an expected call of DeleteNat. -func (mr *MockNbClientMockRecorder) DeleteNat(lrName, natType, externalIP, logicalIP any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteNat(lrName, natType, externalIP, logicalIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNat", reflect.TypeOf((*MockNbClient)(nil).DeleteNat), lrName, natType, externalIP, logicalIP) } @@ -3164,7 +3173,7 @@ func (m *MockNbClient) DeleteNats(lrName, natType, logicalIP string) error { } // DeleteNats indicates an expected call of DeleteNats. -func (mr *MockNbClientMockRecorder) DeleteNats(lrName, natType, logicalIP any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteNats(lrName, natType, logicalIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteNats", reflect.TypeOf((*MockNbClient)(nil).DeleteNats), lrName, natType, logicalIP) } @@ -3178,7 +3187,7 @@ func (m *MockNbClient) DeletePortGroup(pgName string) error { } // DeletePortGroup indicates an expected call of DeletePortGroup. -func (mr *MockNbClientMockRecorder) DeletePortGroup(pgName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeletePortGroup(pgName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeletePortGroup", reflect.TypeOf((*MockNbClient)(nil).DeletePortGroup), pgName) } @@ -3192,7 +3201,7 @@ func (m *MockNbClient) DeleteSecurityGroup(sgName string) error { } // DeleteSecurityGroup indicates an expected call of DeleteSecurityGroup. -func (mr *MockNbClientMockRecorder) DeleteSecurityGroup(sgName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) DeleteSecurityGroup(sgName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSecurityGroup", reflect.TypeOf((*MockNbClient)(nil).DeleteSecurityGroup), sgName) } @@ -3206,13 +3215,13 @@ func (m *MockNbClient) EnablePortLayer2forward(lspName string) error { } // EnablePortLayer2forward indicates an expected call of EnablePortLayer2forward. -func (mr *MockNbClientMockRecorder) EnablePortLayer2forward(lspName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) EnablePortLayer2forward(lspName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnablePortLayer2forward", reflect.TypeOf((*MockNbClient)(nil).EnablePortLayer2forward), lspName) } // GetEntityInfo mocks base method. -func (m *MockNbClient) GetEntityInfo(entity any) error { +func (m *MockNbClient) GetEntityInfo(entity interface{}) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetEntityInfo", entity) ret0, _ := ret[0].(error) @@ -3220,7 +3229,7 @@ func (m *MockNbClient) GetEntityInfo(entity any) error { } // GetEntityInfo indicates an expected call of GetEntityInfo. -func (mr *MockNbClientMockRecorder) GetEntityInfo(entity any) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetEntityInfo(entity interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEntityInfo", reflect.TypeOf((*MockNbClient)(nil).GetEntityInfo), entity) } @@ -3235,7 +3244,7 @@ func (m *MockNbClient) GetLoadBalancer(lbName string, ignoreNotFound bool) (*ovn } // GetLoadBalancer indicates an expected call of GetLoadBalancer. -func (mr *MockNbClientMockRecorder) GetLoadBalancer(lbName, ignoreNotFound any) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetLoadBalancer(lbName, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLoadBalancer", reflect.TypeOf((*MockNbClient)(nil).GetLoadBalancer), lbName, ignoreNotFound) } @@ -3251,7 +3260,7 @@ func (m *MockNbClient) GetLoadBalancerHealthCheck(lbName, vip string, ignoreNotF } // GetLoadBalancerHealthCheck indicates an expected call of GetLoadBalancerHealthCheck. -func (mr *MockNbClientMockRecorder) GetLoadBalancerHealthCheck(lbName, vip, ignoreNotFound any) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetLoadBalancerHealthCheck(lbName, vip, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLoadBalancerHealthCheck", reflect.TypeOf((*MockNbClient)(nil).GetLoadBalancerHealthCheck), lbName, vip, ignoreNotFound) } @@ -3266,7 +3275,7 @@ func (m *MockNbClient) GetLogicalRouter(lrName string, ignoreNotFound bool) (*ov } // GetLogicalRouter indicates an expected call of GetLogicalRouter. -func (mr *MockNbClientMockRecorder) GetLogicalRouter(lrName, ignoreNotFound any) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetLogicalRouter(lrName, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouter", reflect.TypeOf((*MockNbClient)(nil).GetLogicalRouter), lrName, ignoreNotFound) } @@ -3281,7 +3290,7 @@ func (m *MockNbClient) GetLogicalRouterPoliciesByExtID(lrName, key, value string } // GetLogicalRouterPoliciesByExtID indicates an expected call of GetLogicalRouterPoliciesByExtID. -func (mr *MockNbClientMockRecorder) GetLogicalRouterPoliciesByExtID(lrName, key, value any) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetLogicalRouterPoliciesByExtID(lrName, key, value interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouterPoliciesByExtID", reflect.TypeOf((*MockNbClient)(nil).GetLogicalRouterPoliciesByExtID), lrName, key, value) } @@ -3296,7 +3305,7 @@ func (m *MockNbClient) GetLogicalRouterPolicy(lrName string, priority int, match } // GetLogicalRouterPolicy indicates an expected call of GetLogicalRouterPolicy. -func (mr *MockNbClientMockRecorder) GetLogicalRouterPolicy(lrName, priority, match, ignoreNotFound any) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetLogicalRouterPolicy(lrName, priority, match, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouterPolicy", reflect.TypeOf((*MockNbClient)(nil).GetLogicalRouterPolicy), lrName, priority, match, ignoreNotFound) } @@ -3311,7 +3320,7 @@ func (m *MockNbClient) GetLogicalRouterPort(lrpName string, ignoreNotFound bool) } // GetLogicalRouterPort indicates an expected call of GetLogicalRouterPort. -func (mr *MockNbClientMockRecorder) GetLogicalRouterPort(lrpName, ignoreNotFound any) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetLogicalRouterPort(lrpName, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouterPort", reflect.TypeOf((*MockNbClient)(nil).GetLogicalRouterPort), lrpName, ignoreNotFound) } @@ -3326,7 +3335,7 @@ func (m *MockNbClient) GetLogicalRouterPortByUUID(uuid string) (*ovnnb.LogicalRo } // GetLogicalRouterPortByUUID indicates an expected call of GetLogicalRouterPortByUUID. -func (mr *MockNbClientMockRecorder) GetLogicalRouterPortByUUID(uuid any) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetLogicalRouterPortByUUID(uuid interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalRouterPortByUUID", reflect.TypeOf((*MockNbClient)(nil).GetLogicalRouterPortByUUID), uuid) } @@ -3341,7 +3350,7 @@ func (m *MockNbClient) GetLogicalSwitchPort(lspName string, ignoreNotFound bool) } // GetLogicalSwitchPort indicates an expected call of GetLogicalSwitchPort. -func (mr *MockNbClientMockRecorder) GetLogicalSwitchPort(lspName, ignoreNotFound any) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetLogicalSwitchPort(lspName, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalSwitchPort", reflect.TypeOf((*MockNbClient)(nil).GetLogicalSwitchPort), lspName, ignoreNotFound) } @@ -3356,7 +3365,7 @@ func (m *MockNbClient) GetNATByUUID(uuid string) (*ovnnb.NAT, error) { } // GetNATByUUID indicates an expected call of GetNATByUUID. -func (mr *MockNbClientMockRecorder) GetNATByUUID(uuid any) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetNATByUUID(uuid interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNATByUUID", reflect.TypeOf((*MockNbClient)(nil).GetNATByUUID), uuid) } @@ -3386,7 +3395,7 @@ func (m *MockNbClient) GetPortGroup(pgName string, ignoreNotFound bool) (*ovnnb. } // GetPortGroup indicates an expected call of GetPortGroup. -func (mr *MockNbClientMockRecorder) GetPortGroup(pgName, ignoreNotFound any) *gomock.Call { +func (mr *MockNbClientMockRecorder) GetPortGroup(pgName, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetPortGroup", reflect.TypeOf((*MockNbClient)(nil).GetPortGroup), pgName, ignoreNotFound) } @@ -3401,7 +3410,7 @@ func (m *MockNbClient) ListAddressSets(externalIDs map[string]string) ([]ovnnb.A } // ListAddressSets indicates an expected call of ListAddressSets. -func (mr *MockNbClientMockRecorder) ListAddressSets(externalIDs any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListAddressSets(externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAddressSets", reflect.TypeOf((*MockNbClient)(nil).ListAddressSets), externalIDs) } @@ -3416,7 +3425,7 @@ func (m *MockNbClient) ListBFDs(lrpName, dstIP string) ([]ovnnb.BFD, error) { } // ListBFDs indicates an expected call of ListBFDs. -func (mr *MockNbClientMockRecorder) ListBFDs(lrpName, dstIP any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListBFDs(lrpName, dstIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListBFDs", reflect.TypeOf((*MockNbClient)(nil).ListBFDs), lrpName, dstIP) } @@ -3431,7 +3440,7 @@ func (m *MockNbClient) ListDHCPOptions(needVendorFilter bool, externalIDs map[st } // ListDHCPOptions indicates an expected call of ListDHCPOptions. -func (mr *MockNbClientMockRecorder) ListDHCPOptions(needVendorFilter, externalIDs any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListDHCPOptions(needVendorFilter, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDHCPOptions", reflect.TypeOf((*MockNbClient)(nil).ListDHCPOptions), needVendorFilter, externalIDs) } @@ -3446,7 +3455,7 @@ func (m *MockNbClient) ListDownBFDs(dstIP string) ([]ovnnb.BFD, error) { } // ListDownBFDs indicates an expected call of ListDownBFDs. -func (mr *MockNbClientMockRecorder) ListDownBFDs(dstIP any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListDownBFDs(dstIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDownBFDs", reflect.TypeOf((*MockNbClient)(nil).ListDownBFDs), dstIP) } @@ -3461,7 +3470,7 @@ func (m *MockNbClient) ListGatewayChassisByLogicalRouterPort(lrpName string, ign } // ListGatewayChassisByLogicalRouterPort indicates an expected call of ListGatewayChassisByLogicalRouterPort. -func (mr *MockNbClientMockRecorder) ListGatewayChassisByLogicalRouterPort(lrpName, ignoreNotFound any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListGatewayChassisByLogicalRouterPort(lrpName, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListGatewayChassisByLogicalRouterPort", reflect.TypeOf((*MockNbClient)(nil).ListGatewayChassisByLogicalRouterPort), lrpName, ignoreNotFound) } @@ -3476,7 +3485,7 @@ func (m *MockNbClient) ListLoadBalancerHealthChecks(filter func(*ovnnb.LoadBalan } // ListLoadBalancerHealthChecks indicates an expected call of ListLoadBalancerHealthChecks. -func (mr *MockNbClientMockRecorder) ListLoadBalancerHealthChecks(filter any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLoadBalancerHealthChecks(filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLoadBalancerHealthChecks", reflect.TypeOf((*MockNbClient)(nil).ListLoadBalancerHealthChecks), filter) } @@ -3491,7 +3500,7 @@ func (m *MockNbClient) ListLoadBalancers(filter func(*ovnnb.LoadBalancer) bool) } // ListLoadBalancers indicates an expected call of ListLoadBalancers. -func (mr *MockNbClientMockRecorder) ListLoadBalancers(filter any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLoadBalancers(filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLoadBalancers", reflect.TypeOf((*MockNbClient)(nil).ListLoadBalancers), filter) } @@ -3506,7 +3515,7 @@ func (m *MockNbClient) ListLogicalRouter(needVendorFilter bool, filter func(*ovn } // ListLogicalRouter indicates an expected call of ListLogicalRouter. -func (mr *MockNbClientMockRecorder) ListLogicalRouter(needVendorFilter, filter any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLogicalRouter(needVendorFilter, filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouter", reflect.TypeOf((*MockNbClient)(nil).ListLogicalRouter), needVendorFilter, filter) } @@ -3521,7 +3530,7 @@ func (m *MockNbClient) ListLogicalRouterPolicies(lrName string, priority int, ex } // ListLogicalRouterPolicies indicates an expected call of ListLogicalRouterPolicies. -func (mr *MockNbClientMockRecorder) ListLogicalRouterPolicies(lrName, priority, externalIDs, ignoreExtIDEmptyValue any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLogicalRouterPolicies(lrName, priority, externalIDs, ignoreExtIDEmptyValue interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouterPolicies", reflect.TypeOf((*MockNbClient)(nil).ListLogicalRouterPolicies), lrName, priority, externalIDs, ignoreExtIDEmptyValue) } @@ -3536,7 +3545,7 @@ func (m *MockNbClient) ListLogicalRouterPorts(externalIDs map[string]string, fil } // ListLogicalRouterPorts indicates an expected call of ListLogicalRouterPorts. -func (mr *MockNbClientMockRecorder) ListLogicalRouterPorts(externalIDs, filter any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLogicalRouterPorts(externalIDs, filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouterPorts", reflect.TypeOf((*MockNbClient)(nil).ListLogicalRouterPorts), externalIDs, filter) } @@ -3551,7 +3560,7 @@ func (m *MockNbClient) ListLogicalRouterStaticRoutes(lrName string, routeTable, } // ListLogicalRouterStaticRoutes indicates an expected call of ListLogicalRouterStaticRoutes. -func (mr *MockNbClientMockRecorder) ListLogicalRouterStaticRoutes(lrName, routeTable, policy, ipPrefix, externalIDs any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLogicalRouterStaticRoutes(lrName, routeTable, policy, ipPrefix, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouterStaticRoutes", reflect.TypeOf((*MockNbClient)(nil).ListLogicalRouterStaticRoutes), lrName, routeTable, policy, ipPrefix, externalIDs) } @@ -3566,7 +3575,7 @@ func (m *MockNbClient) ListLogicalRouterStaticRoutesByOption(lrName, routeTable, } // ListLogicalRouterStaticRoutesByOption indicates an expected call of ListLogicalRouterStaticRoutesByOption. -func (mr *MockNbClientMockRecorder) ListLogicalRouterStaticRoutesByOption(lrName, routeTable, key, value any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLogicalRouterStaticRoutesByOption(lrName, routeTable, key, value interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalRouterStaticRoutesByOption", reflect.TypeOf((*MockNbClient)(nil).ListLogicalRouterStaticRoutesByOption), lrName, routeTable, key, value) } @@ -3581,7 +3590,7 @@ func (m *MockNbClient) ListLogicalSwitch(needVendorFilter bool, filter func(*ovn } // ListLogicalSwitch indicates an expected call of ListLogicalSwitch. -func (mr *MockNbClientMockRecorder) ListLogicalSwitch(needVendorFilter, filter any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLogicalSwitch(needVendorFilter, filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalSwitch", reflect.TypeOf((*MockNbClient)(nil).ListLogicalSwitch), needVendorFilter, filter) } @@ -3596,7 +3605,7 @@ func (m *MockNbClient) ListLogicalSwitchPorts(needVendorFilter bool, externalIDs } // ListLogicalSwitchPorts indicates an expected call of ListLogicalSwitchPorts. -func (mr *MockNbClientMockRecorder) ListLogicalSwitchPorts(needVendorFilter, externalIDs, filter any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListLogicalSwitchPorts(needVendorFilter, externalIDs, filter interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalSwitchPorts", reflect.TypeOf((*MockNbClient)(nil).ListLogicalSwitchPorts), needVendorFilter, externalIDs, filter) } @@ -3626,7 +3635,7 @@ func (m *MockNbClient) ListNats(lrName, natType, logicalIP string, externalIDs m } // ListNats indicates an expected call of ListNats. -func (mr *MockNbClientMockRecorder) ListNats(lrName, natType, logicalIP, externalIDs any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListNats(lrName, natType, logicalIP, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListNats", reflect.TypeOf((*MockNbClient)(nil).ListNats), lrName, natType, logicalIP, externalIDs) } @@ -3641,7 +3650,7 @@ func (m *MockNbClient) ListNormalLogicalSwitchPorts(needVendorFilter bool, exter } // ListNormalLogicalSwitchPorts indicates an expected call of ListNormalLogicalSwitchPorts. -func (mr *MockNbClientMockRecorder) ListNormalLogicalSwitchPorts(needVendorFilter, externalIDs any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListNormalLogicalSwitchPorts(needVendorFilter, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListNormalLogicalSwitchPorts", reflect.TypeOf((*MockNbClient)(nil).ListNormalLogicalSwitchPorts), needVendorFilter, externalIDs) } @@ -3656,7 +3665,7 @@ func (m *MockNbClient) ListPortGroups(externalIDs map[string]string) ([]ovnnb.Po } // ListPortGroups indicates an expected call of ListPortGroups. -func (mr *MockNbClientMockRecorder) ListPortGroups(externalIDs any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListPortGroups(externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPortGroups", reflect.TypeOf((*MockNbClient)(nil).ListPortGroups), externalIDs) } @@ -3671,7 +3680,7 @@ func (m *MockNbClient) ListUpBFDs(dstIP string) ([]ovnnb.BFD, error) { } // ListUpBFDs indicates an expected call of ListUpBFDs. -func (mr *MockNbClientMockRecorder) ListUpBFDs(dstIP any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ListUpBFDs(dstIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListUpBFDs", reflect.TypeOf((*MockNbClient)(nil).ListUpBFDs), dstIP) } @@ -3685,7 +3694,7 @@ func (m *MockNbClient) LoadBalancerAddHealthCheck(lbName, vip string, ignoreHeal } // LoadBalancerAddHealthCheck indicates an expected call of LoadBalancerAddHealthCheck. -func (mr *MockNbClientMockRecorder) LoadBalancerAddHealthCheck(lbName, vip, ignoreHealthCheck, ipPortMapping, externals any) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerAddHealthCheck(lbName, vip, ignoreHealthCheck, ipPortMapping, externals interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerAddHealthCheck", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerAddHealthCheck), lbName, vip, ignoreHealthCheck, ipPortMapping, externals) } @@ -3699,7 +3708,7 @@ func (m *MockNbClient) LoadBalancerAddIPPortMapping(lbName, vip string, ipPortMa } // LoadBalancerAddIPPortMapping indicates an expected call of LoadBalancerAddIPPortMapping. -func (mr *MockNbClientMockRecorder) LoadBalancerAddIPPortMapping(lbName, vip, ipPortMappings any) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerAddIPPortMapping(lbName, vip, ipPortMappings interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerAddIPPortMapping", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerAddIPPortMapping), lbName, vip, ipPortMappings) } @@ -3707,7 +3716,7 @@ func (mr *MockNbClientMockRecorder) LoadBalancerAddIPPortMapping(lbName, vip, ip // LoadBalancerAddVip mocks base method. func (m *MockNbClient) LoadBalancerAddVip(lbName, vip string, backends ...string) error { m.ctrl.T.Helper() - varargs := []any{lbName, vip} + varargs := []interface{}{lbName, vip} for _, a := range backends { varargs = append(varargs, a) } @@ -3717,9 +3726,9 @@ func (m *MockNbClient) LoadBalancerAddVip(lbName, vip string, backends ...string } // LoadBalancerAddVip indicates an expected call of LoadBalancerAddVip. -func (mr *MockNbClientMockRecorder) LoadBalancerAddVip(lbName, vip any, backends ...any) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerAddVip(lbName, vip interface{}, backends ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{lbName, vip}, backends...) + varargs := append([]interface{}{lbName, vip}, backends...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerAddVip", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerAddVip), varargs...) } @@ -3732,7 +3741,7 @@ func (m *MockNbClient) LoadBalancerDeleteHealthCheck(lbName, uuid string) error } // LoadBalancerDeleteHealthCheck indicates an expected call of LoadBalancerDeleteHealthCheck. -func (mr *MockNbClientMockRecorder) LoadBalancerDeleteHealthCheck(lbName, uuid any) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerDeleteHealthCheck(lbName, uuid interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerDeleteHealthCheck", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerDeleteHealthCheck), lbName, uuid) } @@ -3746,7 +3755,7 @@ func (m *MockNbClient) LoadBalancerDeleteIPPortMapping(lbName, vip string) error } // LoadBalancerDeleteIPPortMapping indicates an expected call of LoadBalancerDeleteIPPortMapping. -func (mr *MockNbClientMockRecorder) LoadBalancerDeleteIPPortMapping(lbName, vip any) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerDeleteIPPortMapping(lbName, vip interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerDeleteIPPortMapping", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerDeleteIPPortMapping), lbName, vip) } @@ -3760,7 +3769,7 @@ func (m *MockNbClient) LoadBalancerDeleteVip(lbName, vip string, ignoreHealthChe } // LoadBalancerDeleteVip indicates an expected call of LoadBalancerDeleteVip. -func (mr *MockNbClientMockRecorder) LoadBalancerDeleteVip(lbName, vip, ignoreHealthCheck any) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerDeleteVip(lbName, vip, ignoreHealthCheck interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerDeleteVip", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerDeleteVip), lbName, vip, ignoreHealthCheck) } @@ -3775,7 +3784,7 @@ func (m *MockNbClient) LoadBalancerExists(lbName string) (bool, error) { } // LoadBalancerExists indicates an expected call of LoadBalancerExists. -func (mr *MockNbClientMockRecorder) LoadBalancerExists(lbName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerExists(lbName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerExists", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerExists), lbName) } @@ -3790,7 +3799,7 @@ func (m *MockNbClient) LoadBalancerHealthCheckExists(lbName, vip string) (bool, } // LoadBalancerHealthCheckExists indicates an expected call of LoadBalancerHealthCheckExists. -func (mr *MockNbClientMockRecorder) LoadBalancerHealthCheckExists(lbName, vip any) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerHealthCheckExists(lbName, vip interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerHealthCheckExists", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerHealthCheckExists), lbName, vip) } @@ -3804,7 +3813,7 @@ func (m *MockNbClient) LoadBalancerUpdateIPPortMapping(lbName, vip string, ipPor } // LoadBalancerUpdateIPPortMapping indicates an expected call of LoadBalancerUpdateIPPortMapping. -func (mr *MockNbClientMockRecorder) LoadBalancerUpdateIPPortMapping(lbName, vip, ipPortMappings any) *gomock.Call { +func (mr *MockNbClientMockRecorder) LoadBalancerUpdateIPPortMapping(lbName, vip, ipPortMappings interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LoadBalancerUpdateIPPortMapping", reflect.TypeOf((*MockNbClient)(nil).LoadBalancerUpdateIPPortMapping), lbName, vip, ipPortMappings) } @@ -3819,7 +3828,7 @@ func (m *MockNbClient) LogicalRouterExists(name string) (bool, error) { } // LogicalRouterExists indicates an expected call of LogicalRouterExists. -func (mr *MockNbClientMockRecorder) LogicalRouterExists(name any) *gomock.Call { +func (mr *MockNbClientMockRecorder) LogicalRouterExists(name interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalRouterExists", reflect.TypeOf((*MockNbClient)(nil).LogicalRouterExists), name) } @@ -3834,7 +3843,7 @@ func (m *MockNbClient) LogicalRouterPortExists(lrpName string) (bool, error) { } // LogicalRouterPortExists indicates an expected call of LogicalRouterPortExists. -func (mr *MockNbClientMockRecorder) LogicalRouterPortExists(lrpName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) LogicalRouterPortExists(lrpName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalRouterPortExists", reflect.TypeOf((*MockNbClient)(nil).LogicalRouterPortExists), lrpName) } @@ -3849,7 +3858,7 @@ func (m *MockNbClient) LogicalRouterStaticRouteExists(lrName, routeTable, policy } // LogicalRouterStaticRouteExists indicates an expected call of LogicalRouterStaticRouteExists. -func (mr *MockNbClientMockRecorder) LogicalRouterStaticRouteExists(lrName, routeTable, policy, ipPrefix, nexthop any) *gomock.Call { +func (mr *MockNbClientMockRecorder) LogicalRouterStaticRouteExists(lrName, routeTable, policy, ipPrefix, nexthop interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalRouterStaticRouteExists", reflect.TypeOf((*MockNbClient)(nil).LogicalRouterStaticRouteExists), lrName, routeTable, policy, ipPrefix, nexthop) } @@ -3857,7 +3866,7 @@ func (mr *MockNbClientMockRecorder) LogicalRouterStaticRouteExists(lrName, route // LogicalRouterUpdateLoadBalancers mocks base method. func (m *MockNbClient) LogicalRouterUpdateLoadBalancers(lrName string, op ovsdb.Mutator, lbNames ...string) error { m.ctrl.T.Helper() - varargs := []any{lrName, op} + varargs := []interface{}{lrName, op} for _, a := range lbNames { varargs = append(varargs, a) } @@ -3867,9 +3876,9 @@ func (m *MockNbClient) LogicalRouterUpdateLoadBalancers(lrName string, op ovsdb. } // LogicalRouterUpdateLoadBalancers indicates an expected call of LogicalRouterUpdateLoadBalancers. -func (mr *MockNbClientMockRecorder) LogicalRouterUpdateLoadBalancers(lrName, op any, lbNames ...any) *gomock.Call { +func (mr *MockNbClientMockRecorder) LogicalRouterUpdateLoadBalancers(lrName, op interface{}, lbNames ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{lrName, op}, lbNames...) + varargs := append([]interface{}{lrName, op}, lbNames...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalRouterUpdateLoadBalancers", reflect.TypeOf((*MockNbClient)(nil).LogicalRouterUpdateLoadBalancers), varargs...) } @@ -3883,7 +3892,7 @@ func (m *MockNbClient) LogicalSwitchExists(lsName string) (bool, error) { } // LogicalSwitchExists indicates an expected call of LogicalSwitchExists. -func (mr *MockNbClientMockRecorder) LogicalSwitchExists(lsName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) LogicalSwitchExists(lsName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalSwitchExists", reflect.TypeOf((*MockNbClient)(nil).LogicalSwitchExists), lsName) } @@ -3898,7 +3907,7 @@ func (m *MockNbClient) LogicalSwitchPortExists(name string) (bool, error) { } // LogicalSwitchPortExists indicates an expected call of LogicalSwitchPortExists. -func (mr *MockNbClientMockRecorder) LogicalSwitchPortExists(name any) *gomock.Call { +func (mr *MockNbClientMockRecorder) LogicalSwitchPortExists(name interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalSwitchPortExists", reflect.TypeOf((*MockNbClient)(nil).LogicalSwitchPortExists), name) } @@ -3906,7 +3915,7 @@ func (mr *MockNbClientMockRecorder) LogicalSwitchPortExists(name any) *gomock.Ca // LogicalSwitchUpdateLoadBalancers mocks base method. func (m *MockNbClient) LogicalSwitchUpdateLoadBalancers(lsName string, op ovsdb.Mutator, lbNames ...string) error { m.ctrl.T.Helper() - varargs := []any{lsName, op} + varargs := []interface{}{lsName, op} for _, a := range lbNames { varargs = append(varargs, a) } @@ -3916,9 +3925,9 @@ func (m *MockNbClient) LogicalSwitchUpdateLoadBalancers(lsName string, op ovsdb. } // LogicalSwitchUpdateLoadBalancers indicates an expected call of LogicalSwitchUpdateLoadBalancers. -func (mr *MockNbClientMockRecorder) LogicalSwitchUpdateLoadBalancers(lsName, op any, lbNames ...any) *gomock.Call { +func (mr *MockNbClientMockRecorder) LogicalSwitchUpdateLoadBalancers(lsName, op interface{}, lbNames ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{lsName, op}, lbNames...) + varargs := append([]interface{}{lsName, op}, lbNames...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalSwitchUpdateLoadBalancers", reflect.TypeOf((*MockNbClient)(nil).LogicalSwitchUpdateLoadBalancers), varargs...) } @@ -3931,7 +3940,7 @@ func (m *MockNbClient) LogicalSwitchUpdateOtherConfig(lsName string, op ovsdb.Mu } // LogicalSwitchUpdateOtherConfig indicates an expected call of LogicalSwitchUpdateOtherConfig. -func (mr *MockNbClientMockRecorder) LogicalSwitchUpdateOtherConfig(lsName, op, otherConfig any) *gomock.Call { +func (mr *MockNbClientMockRecorder) LogicalSwitchUpdateOtherConfig(lsName, op, otherConfig interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "LogicalSwitchUpdateOtherConfig", reflect.TypeOf((*MockNbClient)(nil).LogicalSwitchUpdateOtherConfig), lsName, op, otherConfig) } @@ -3958,7 +3967,7 @@ func (m *MockNbClient) NatExists(lrName, natType, externalIP, logicalIP string) } // NatExists indicates an expected call of NatExists. -func (mr *MockNbClientMockRecorder) NatExists(lrName, natType, externalIP, logicalIP any) *gomock.Call { +func (mr *MockNbClientMockRecorder) NatExists(lrName, natType, externalIP, logicalIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "NatExists", reflect.TypeOf((*MockNbClient)(nil).NatExists), lrName, natType, externalIP, logicalIP) } @@ -3966,7 +3975,7 @@ func (mr *MockNbClientMockRecorder) NatExists(lrName, natType, externalIP, logic // PortGroupAddPorts mocks base method. func (m *MockNbClient) PortGroupAddPorts(pgName string, lspNames ...string) error { m.ctrl.T.Helper() - varargs := []any{pgName} + varargs := []interface{}{pgName} for _, a := range lspNames { varargs = append(varargs, a) } @@ -3976,9 +3985,9 @@ func (m *MockNbClient) PortGroupAddPorts(pgName string, lspNames ...string) erro } // PortGroupAddPorts indicates an expected call of PortGroupAddPorts. -func (mr *MockNbClientMockRecorder) PortGroupAddPorts(pgName any, lspNames ...any) *gomock.Call { +func (mr *MockNbClientMockRecorder) PortGroupAddPorts(pgName interface{}, lspNames ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{pgName}, lspNames...) + varargs := append([]interface{}{pgName}, lspNames...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortGroupAddPorts", reflect.TypeOf((*MockNbClient)(nil).PortGroupAddPorts), varargs...) } @@ -3992,7 +4001,7 @@ func (m *MockNbClient) PortGroupExists(pgName string) (bool, error) { } // PortGroupExists indicates an expected call of PortGroupExists. -func (mr *MockNbClientMockRecorder) PortGroupExists(pgName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) PortGroupExists(pgName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortGroupExists", reflect.TypeOf((*MockNbClient)(nil).PortGroupExists), pgName) } @@ -4000,7 +4009,7 @@ func (mr *MockNbClientMockRecorder) PortGroupExists(pgName any) *gomock.Call { // PortGroupRemovePorts mocks base method. func (m *MockNbClient) PortGroupRemovePorts(pgName string, lspNames ...string) error { m.ctrl.T.Helper() - varargs := []any{pgName} + varargs := []interface{}{pgName} for _, a := range lspNames { varargs = append(varargs, a) } @@ -4010,9 +4019,9 @@ func (m *MockNbClient) PortGroupRemovePorts(pgName string, lspNames ...string) e } // PortGroupRemovePorts indicates an expected call of PortGroupRemovePorts. -func (mr *MockNbClientMockRecorder) PortGroupRemovePorts(pgName any, lspNames ...any) *gomock.Call { +func (mr *MockNbClientMockRecorder) PortGroupRemovePorts(pgName interface{}, lspNames ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{pgName}, lspNames...) + varargs := append([]interface{}{pgName}, lspNames...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortGroupRemovePorts", reflect.TypeOf((*MockNbClient)(nil).PortGroupRemovePorts), varargs...) } @@ -4025,7 +4034,7 @@ func (m *MockNbClient) PortGroupSetPorts(pgName string, ports []string) error { } // PortGroupSetPorts indicates an expected call of PortGroupSetPorts. -func (mr *MockNbClientMockRecorder) PortGroupSetPorts(pgName, ports any) *gomock.Call { +func (mr *MockNbClientMockRecorder) PortGroupSetPorts(pgName, ports interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PortGroupSetPorts", reflect.TypeOf((*MockNbClient)(nil).PortGroupSetPorts), pgName, ports) } @@ -4039,7 +4048,7 @@ func (m *MockNbClient) RemoveLogicalPatchPort(lspName, lrpName string) error { } // RemoveLogicalPatchPort indicates an expected call of RemoveLogicalPatchPort. -func (mr *MockNbClientMockRecorder) RemoveLogicalPatchPort(lspName, lrpName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) RemoveLogicalPatchPort(lspName, lrpName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RemoveLogicalPatchPort", reflect.TypeOf((*MockNbClient)(nil).RemoveLogicalPatchPort), lspName, lrpName) } @@ -4053,7 +4062,7 @@ func (m *MockNbClient) ResetLogicalSwitchPortMigrateOptions(lspName, srcNodeName } // ResetLogicalSwitchPortMigrateOptions indicates an expected call of ResetLogicalSwitchPortMigrateOptions. -func (mr *MockNbClientMockRecorder) ResetLogicalSwitchPortMigrateOptions(lspName, srcNodeName, targetNodeName, migratedFail any) *gomock.Call { +func (mr *MockNbClientMockRecorder) ResetLogicalSwitchPortMigrateOptions(lspName, srcNodeName, targetNodeName, migratedFail interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ResetLogicalSwitchPortMigrateOptions", reflect.TypeOf((*MockNbClient)(nil).ResetLogicalSwitchPortMigrateOptions), lspName, srcNodeName, targetNodeName, migratedFail) } @@ -4067,7 +4076,7 @@ func (m *MockNbClient) SetACLLog(pgName, protocol string, logEnable, isIngress b } // SetACLLog indicates an expected call of SetACLLog. -func (mr *MockNbClientMockRecorder) SetACLLog(pgName, protocol, logEnable, isIngress any) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetACLLog(pgName, protocol, logEnable, isIngress interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetACLLog", reflect.TypeOf((*MockNbClient)(nil).SetACLLog), pgName, protocol, logEnable, isIngress) } @@ -4081,7 +4090,7 @@ func (m *MockNbClient) SetAzName(azName string) error { } // SetAzName indicates an expected call of SetAzName. -func (mr *MockNbClientMockRecorder) SetAzName(azName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetAzName(azName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetAzName", reflect.TypeOf((*MockNbClient)(nil).SetAzName), azName) } @@ -4095,7 +4104,7 @@ func (m *MockNbClient) SetICAutoRoute(enable bool, blackList []string) error { } // SetICAutoRoute indicates an expected call of SetICAutoRoute. -func (mr *MockNbClientMockRecorder) SetICAutoRoute(enable, blackList any) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetICAutoRoute(enable, blackList interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetICAutoRoute", reflect.TypeOf((*MockNbClient)(nil).SetICAutoRoute), enable, blackList) } @@ -4109,7 +4118,7 @@ func (m *MockNbClient) SetLoadBalancerAffinityTimeout(lbName string, timeout int } // SetLoadBalancerAffinityTimeout indicates an expected call of SetLoadBalancerAffinityTimeout. -func (mr *MockNbClientMockRecorder) SetLoadBalancerAffinityTimeout(lbName, timeout any) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLoadBalancerAffinityTimeout(lbName, timeout interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLoadBalancerAffinityTimeout", reflect.TypeOf((*MockNbClient)(nil).SetLoadBalancerAffinityTimeout), lbName, timeout) } @@ -4123,7 +4132,7 @@ func (m *MockNbClient) SetLogicalSwitchPortArpProxy(lspName string, enableArpPro } // SetLogicalSwitchPortArpProxy indicates an expected call of SetLogicalSwitchPortArpProxy. -func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortArpProxy(lspName, enableArpProxy any) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortArpProxy(lspName, enableArpProxy interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortArpProxy", reflect.TypeOf((*MockNbClient)(nil).SetLogicalSwitchPortArpProxy), lspName, enableArpProxy) } @@ -4137,7 +4146,7 @@ func (m *MockNbClient) SetLogicalSwitchPortExternalIDs(lspName string, externalI } // SetLogicalSwitchPortExternalIDs indicates an expected call of SetLogicalSwitchPortExternalIDs. -func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortExternalIDs(lspName, externalIDs any) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortExternalIDs(lspName, externalIDs interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortExternalIDs", reflect.TypeOf((*MockNbClient)(nil).SetLogicalSwitchPortExternalIDs), lspName, externalIDs) } @@ -4151,7 +4160,7 @@ func (m *MockNbClient) SetLogicalSwitchPortMigrateOptions(lspName, srcNodeName, } // SetLogicalSwitchPortMigrateOptions indicates an expected call of SetLogicalSwitchPortMigrateOptions. -func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortMigrateOptions(lspName, srcNodeName, targetNodeName any) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortMigrateOptions(lspName, srcNodeName, targetNodeName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortMigrateOptions", reflect.TypeOf((*MockNbClient)(nil).SetLogicalSwitchPortMigrateOptions), lspName, srcNodeName, targetNodeName) } @@ -4165,7 +4174,7 @@ func (m *MockNbClient) SetLogicalSwitchPortSecurity(portSecurity bool, lspName, } // SetLogicalSwitchPortSecurity indicates an expected call of SetLogicalSwitchPortSecurity. -func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortSecurity(portSecurity, lspName, mac, ips, vips any) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortSecurity(portSecurity, lspName, mac, ips, vips interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortSecurity", reflect.TypeOf((*MockNbClient)(nil).SetLogicalSwitchPortSecurity), portSecurity, lspName, mac, ips, vips) } @@ -4173,7 +4182,7 @@ func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortSecurity(portSecurity, l // SetLogicalSwitchPortVirtualParents mocks base method. func (m *MockNbClient) SetLogicalSwitchPortVirtualParents(lsName, parents string, ips ...string) error { m.ctrl.T.Helper() - varargs := []any{lsName, parents} + varargs := []interface{}{lsName, parents} for _, a := range ips { varargs = append(varargs, a) } @@ -4183,9 +4192,9 @@ func (m *MockNbClient) SetLogicalSwitchPortVirtualParents(lsName, parents string } // SetLogicalSwitchPortVirtualParents indicates an expected call of SetLogicalSwitchPortVirtualParents. -func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortVirtualParents(lsName, parents any, ips ...any) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortVirtualParents(lsName, parents interface{}, ips ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{lsName, parents}, ips...) + varargs := append([]interface{}{lsName, parents}, ips...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortVirtualParents", reflect.TypeOf((*MockNbClient)(nil).SetLogicalSwitchPortVirtualParents), varargs...) } @@ -4198,7 +4207,7 @@ func (m *MockNbClient) SetLogicalSwitchPortVlanTag(lspName string, vlanID int) e } // SetLogicalSwitchPortVlanTag indicates an expected call of SetLogicalSwitchPortVlanTag. -func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortVlanTag(lspName, vlanID any) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortVlanTag(lspName, vlanID interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortVlanTag", reflect.TypeOf((*MockNbClient)(nil).SetLogicalSwitchPortVlanTag), lspName, vlanID) } @@ -4212,7 +4221,7 @@ func (m *MockNbClient) SetLogicalSwitchPortsSecurityGroup(sgName, op string) err } // SetLogicalSwitchPortsSecurityGroup indicates an expected call of SetLogicalSwitchPortsSecurityGroup. -func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortsSecurityGroup(sgName, op any) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLogicalSwitchPortsSecurityGroup(sgName, op interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPortsSecurityGroup", reflect.TypeOf((*MockNbClient)(nil).SetLogicalSwitchPortsSecurityGroup), sgName, op) } @@ -4226,7 +4235,7 @@ func (m *MockNbClient) SetLogicalSwitchPrivate(lsName, cidrBlock, nodeSwitchCIDR } // SetLogicalSwitchPrivate indicates an expected call of SetLogicalSwitchPrivate. -func (mr *MockNbClientMockRecorder) SetLogicalSwitchPrivate(lsName, cidrBlock, nodeSwitchCIDR, allowSubnets any) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLogicalSwitchPrivate(lsName, cidrBlock, nodeSwitchCIDR, allowSubnets interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLogicalSwitchPrivate", reflect.TypeOf((*MockNbClient)(nil).SetLogicalSwitchPrivate), lsName, cidrBlock, nodeSwitchCIDR, allowSubnets) } @@ -4240,7 +4249,7 @@ func (m *MockNbClient) SetLsCtSkipDstLportIPs(enabled bool) error { } // SetLsCtSkipDstLportIPs indicates an expected call of SetLsCtSkipDstLportIPs. -func (mr *MockNbClientMockRecorder) SetLsCtSkipDstLportIPs(enabled any) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLsCtSkipDstLportIPs(enabled interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLsCtSkipDstLportIPs", reflect.TypeOf((*MockNbClient)(nil).SetLsCtSkipDstLportIPs), enabled) } @@ -4254,11 +4263,25 @@ func (m *MockNbClient) SetLsDnatModDlDst(enabled bool) error { } // SetLsDnatModDlDst indicates an expected call of SetLsDnatModDlDst. -func (mr *MockNbClientMockRecorder) SetLsDnatModDlDst(enabled any) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetLsDnatModDlDst(enabled interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetLsDnatModDlDst", reflect.TypeOf((*MockNbClient)(nil).SetLsDnatModDlDst), enabled) } +// SetNodeLocalDNSIP mocks base method. +func (m *MockNbClient) SetNodeLocalDNSIP(nodeLocalDNSIP string) error { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "SetNodeLocalDNSIP", nodeLocalDNSIP) + ret0, _ := ret[0].(error) + return ret0 +} + +// SetNodeLocalDNSIP indicates an expected call of SetNodeLocalDNSIP. +func (mr *MockNbClientMockRecorder) SetNodeLocalDNSIP(nodeLocalDNSIP interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetNodeLocalDNSIP", reflect.TypeOf((*MockNbClient)(nil).SetNodeLocalDNSIP), nodeLocalDNSIP) +} + // SetUseCtInvMatch mocks base method. func (m *MockNbClient) SetUseCtInvMatch() error { m.ctrl.T.Helper() @@ -4282,7 +4305,7 @@ func (m *MockNbClient) SetVirtualLogicalSwitchPortVirtualParents(lsName, parents } // SetVirtualLogicalSwitchPortVirtualParents indicates an expected call of SetVirtualLogicalSwitchPortVirtualParents. -func (mr *MockNbClientMockRecorder) SetVirtualLogicalSwitchPortVirtualParents(lsName, parents any) *gomock.Call { +func (mr *MockNbClientMockRecorder) SetVirtualLogicalSwitchPortVirtualParents(lsName, parents interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetVirtualLogicalSwitchPortVirtualParents", reflect.TypeOf((*MockNbClient)(nil).SetVirtualLogicalSwitchPortVirtualParents), lsName, parents) } @@ -4296,15 +4319,15 @@ func (m *MockNbClient) Transact(method string, operations []ovsdb.Operation) err } // Transact indicates an expected call of Transact. -func (mr *MockNbClientMockRecorder) Transact(method, operations any) *gomock.Call { +func (mr *MockNbClientMockRecorder) Transact(method, operations interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Transact", reflect.TypeOf((*MockNbClient)(nil).Transact), method, operations) } // UpdateBFD mocks base method. -func (m *MockNbClient) UpdateBFD(bfd *ovnnb.BFD, fields ...any) error { +func (m *MockNbClient) UpdateBFD(bfd *ovnnb.BFD, fields ...interface{}) error { m.ctrl.T.Helper() - varargs := []any{bfd} + varargs := []interface{}{bfd} for _, a := range fields { varargs = append(varargs, a) } @@ -4314,9 +4337,9 @@ func (m *MockNbClient) UpdateBFD(bfd *ovnnb.BFD, fields ...any) error { } // UpdateBFD indicates an expected call of UpdateBFD. -func (mr *MockNbClientMockRecorder) UpdateBFD(bfd any, fields ...any) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateBFD(bfd interface{}, fields ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{bfd}, fields...) + varargs := append([]interface{}{bfd}, fields...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateBFD", reflect.TypeOf((*MockNbClient)(nil).UpdateBFD), varargs...) } @@ -4330,7 +4353,7 @@ func (m *MockNbClient) UpdateDHCPOptions(subnet *v1.Subnet, mtu int) (*ovs.DHCPO } // UpdateDHCPOptions indicates an expected call of UpdateDHCPOptions. -func (mr *MockNbClientMockRecorder) UpdateDHCPOptions(subnet, mtu any) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateDHCPOptions(subnet, mtu interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateDHCPOptions", reflect.TypeOf((*MockNbClient)(nil).UpdateDHCPOptions), subnet, mtu) } @@ -4344,7 +4367,7 @@ func (m *MockNbClient) UpdateDnatAndSnat(lrName, externalIP, logicalIP, lspName, } // UpdateDnatAndSnat indicates an expected call of UpdateDnatAndSnat. -func (mr *MockNbClientMockRecorder) UpdateDnatAndSnat(lrName, externalIP, logicalIP, lspName, externalMac, gatewayType any) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateDnatAndSnat(lrName, externalIP, logicalIP, lspName, externalMac, gatewayType interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateDnatAndSnat", reflect.TypeOf((*MockNbClient)(nil).UpdateDnatAndSnat), lrName, externalIP, logicalIP, lspName, externalMac, gatewayType) } @@ -4359,15 +4382,15 @@ func (m *MockNbClient) UpdateEgressACLOps(pgName, asEgressName, asExceptName, pr } // UpdateEgressACLOps indicates an expected call of UpdateEgressACLOps. -func (mr *MockNbClientMockRecorder) UpdateEgressACLOps(pgName, asEgressName, asExceptName, protocol, npp, logEnable, namedPortMap any) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateEgressACLOps(pgName, asEgressName, asExceptName, protocol, npp, logEnable, namedPortMap interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateEgressACLOps", reflect.TypeOf((*MockNbClient)(nil).UpdateEgressACLOps), pgName, asEgressName, asExceptName, protocol, npp, logEnable, namedPortMap) } // UpdateGatewayChassis mocks base method. -func (m *MockNbClient) UpdateGatewayChassis(gwChassis *ovnnb.GatewayChassis, fields ...any) error { +func (m *MockNbClient) UpdateGatewayChassis(gwChassis *ovnnb.GatewayChassis, fields ...interface{}) error { m.ctrl.T.Helper() - varargs := []any{gwChassis} + varargs := []interface{}{gwChassis} for _, a := range fields { varargs = append(varargs, a) } @@ -4377,9 +4400,9 @@ func (m *MockNbClient) UpdateGatewayChassis(gwChassis *ovnnb.GatewayChassis, fie } // UpdateGatewayChassis indicates an expected call of UpdateGatewayChassis. -func (mr *MockNbClientMockRecorder) UpdateGatewayChassis(gwChassis any, fields ...any) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateGatewayChassis(gwChassis interface{}, fields ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{gwChassis}, fields...) + varargs := append([]interface{}{gwChassis}, fields...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateGatewayChassis", reflect.TypeOf((*MockNbClient)(nil).UpdateGatewayChassis), varargs...) } @@ -4393,7 +4416,7 @@ func (m *MockNbClient) UpdateIngressACLOps(pgName, asIngressName, asExceptName, } // UpdateIngressACLOps indicates an expected call of UpdateIngressACLOps. -func (mr *MockNbClientMockRecorder) UpdateIngressACLOps(pgName, asIngressName, asExceptName, protocol, npp, logEnable, namedPortMap any) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateIngressACLOps(pgName, asIngressName, asExceptName, protocol, npp, logEnable, namedPortMap interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateIngressACLOps", reflect.TypeOf((*MockNbClient)(nil).UpdateIngressACLOps), pgName, asIngressName, asExceptName, protocol, npp, logEnable, namedPortMap) } @@ -4407,7 +4430,7 @@ func (m *MockNbClient) UpdateLogicalRouterPortOptions(lrpName string, options ma } // UpdateLogicalRouterPortOptions indicates an expected call of UpdateLogicalRouterPortOptions. -func (mr *MockNbClientMockRecorder) UpdateLogicalRouterPortOptions(lrpName, options any) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateLogicalRouterPortOptions(lrpName, options interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalRouterPortOptions", reflect.TypeOf((*MockNbClient)(nil).UpdateLogicalRouterPortOptions), lrpName, options) } @@ -4421,7 +4444,7 @@ func (m *MockNbClient) UpdateLogicalRouterPortRA(lrpName, ipv6RAConfigsStr strin } // UpdateLogicalRouterPortRA indicates an expected call of UpdateLogicalRouterPortRA. -func (mr *MockNbClientMockRecorder) UpdateLogicalRouterPortRA(lrpName, ipv6RAConfigsStr, enableIPv6RA any) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateLogicalRouterPortRA(lrpName, ipv6RAConfigsStr, enableIPv6RA interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalRouterPortRA", reflect.TypeOf((*MockNbClient)(nil).UpdateLogicalRouterPortRA), lrpName, ipv6RAConfigsStr, enableIPv6RA) } @@ -4435,15 +4458,15 @@ func (m *MockNbClient) UpdateLogicalSwitchACL(lsName, cidrBlock string, subnetAc } // UpdateLogicalSwitchACL indicates an expected call of UpdateLogicalSwitchACL. -func (mr *MockNbClientMockRecorder) UpdateLogicalSwitchACL(lsName, cidrBlock, subnetAcls, allowEWTraffic any) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateLogicalSwitchACL(lsName, cidrBlock, subnetAcls, allowEWTraffic interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalSwitchACL", reflect.TypeOf((*MockNbClient)(nil).UpdateLogicalSwitchACL), lsName, cidrBlock, subnetAcls, allowEWTraffic) } // UpdateNbGlobal mocks base method. -func (m *MockNbClient) UpdateNbGlobal(nbGlobal *ovnnb.NBGlobal, fields ...any) error { +func (m *MockNbClient) UpdateNbGlobal(nbGlobal *ovnnb.NBGlobal, fields ...interface{}) error { m.ctrl.T.Helper() - varargs := []any{nbGlobal} + varargs := []interface{}{nbGlobal} for _, a := range fields { varargs = append(varargs, a) } @@ -4453,9 +4476,9 @@ func (m *MockNbClient) UpdateNbGlobal(nbGlobal *ovnnb.NBGlobal, fields ...any) e } // UpdateNbGlobal indicates an expected call of UpdateNbGlobal. -func (mr *MockNbClientMockRecorder) UpdateNbGlobal(nbGlobal any, fields ...any) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateNbGlobal(nbGlobal interface{}, fields ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{nbGlobal}, fields...) + varargs := append([]interface{}{nbGlobal}, fields...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateNbGlobal", reflect.TypeOf((*MockNbClient)(nil).UpdateNbGlobal), varargs...) } @@ -4468,7 +4491,7 @@ func (m *MockNbClient) UpdateSgACL(sg *v1.SecurityGroup, direction string) error } // UpdateSgACL indicates an expected call of UpdateSgACL. -func (mr *MockNbClientMockRecorder) UpdateSgACL(sg, direction any) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateSgACL(sg, direction interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateSgACL", reflect.TypeOf((*MockNbClient)(nil).UpdateSgACL), sg, direction) } @@ -4482,7 +4505,7 @@ func (m *MockNbClient) UpdateSnat(lrName, externalIP, logicalIP string) error { } // UpdateSnat indicates an expected call of UpdateSnat. -func (mr *MockNbClientMockRecorder) UpdateSnat(lrName, externalIP, logicalIP any) *gomock.Call { +func (mr *MockNbClientMockRecorder) UpdateSnat(lrName, externalIP, logicalIP interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateSnat", reflect.TypeOf((*MockNbClient)(nil).UpdateSnat), lrName, externalIP, logicalIP) } @@ -4519,7 +4542,7 @@ func (m *MockSbClient) DeleteChassis(chassisName string) error { } // DeleteChassis indicates an expected call of DeleteChassis. -func (mr *MockSbClientMockRecorder) DeleteChassis(chassisName any) *gomock.Call { +func (mr *MockSbClientMockRecorder) DeleteChassis(chassisName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteChassis", reflect.TypeOf((*MockSbClient)(nil).DeleteChassis), chassisName) } @@ -4533,7 +4556,7 @@ func (m *MockSbClient) DeleteChassisByHost(node string) error { } // DeleteChassisByHost indicates an expected call of DeleteChassisByHost. -func (mr *MockSbClientMockRecorder) DeleteChassisByHost(node any) *gomock.Call { +func (mr *MockSbClientMockRecorder) DeleteChassisByHost(node interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteChassisByHost", reflect.TypeOf((*MockSbClient)(nil).DeleteChassisByHost), node) } @@ -4548,7 +4571,7 @@ func (m *MockSbClient) GetAllChassisByHost(nodeName string) (*[]ovnsb.Chassis, e } // GetAllChassisByHost indicates an expected call of GetAllChassisByHost. -func (mr *MockSbClientMockRecorder) GetAllChassisByHost(nodeName any) *gomock.Call { +func (mr *MockSbClientMockRecorder) GetAllChassisByHost(nodeName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllChassisByHost", reflect.TypeOf((*MockSbClient)(nil).GetAllChassisByHost), nodeName) } @@ -4563,7 +4586,7 @@ func (m *MockSbClient) GetChassis(chassisName string, ignoreNotFound bool) (*ovn } // GetChassis indicates an expected call of GetChassis. -func (mr *MockSbClientMockRecorder) GetChassis(chassisName, ignoreNotFound any) *gomock.Call { +func (mr *MockSbClientMockRecorder) GetChassis(chassisName, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetChassis", reflect.TypeOf((*MockSbClient)(nil).GetChassis), chassisName, ignoreNotFound) } @@ -4578,13 +4601,13 @@ func (m *MockSbClient) GetChassisByHost(nodeName string) (*ovnsb.Chassis, error) } // GetChassisByHost indicates an expected call of GetChassisByHost. -func (mr *MockSbClientMockRecorder) GetChassisByHost(nodeName any) *gomock.Call { +func (mr *MockSbClientMockRecorder) GetChassisByHost(nodeName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetChassisByHost", reflect.TypeOf((*MockSbClient)(nil).GetChassisByHost), nodeName) } // GetEntityInfo mocks base method. -func (m *MockSbClient) GetEntityInfo(entity any) error { +func (m *MockSbClient) GetEntityInfo(entity interface{}) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetEntityInfo", entity) ret0, _ := ret[0].(error) @@ -4592,7 +4615,7 @@ func (m *MockSbClient) GetEntityInfo(entity any) error { } // GetEntityInfo indicates an expected call of GetEntityInfo. -func (mr *MockSbClientMockRecorder) GetEntityInfo(entity any) *gomock.Call { +func (mr *MockSbClientMockRecorder) GetEntityInfo(entity interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEntityInfo", reflect.TypeOf((*MockSbClient)(nil).GetEntityInfo), entity) } @@ -4636,15 +4659,15 @@ func (m *MockSbClient) Transact(method string, operations []ovsdb.Operation) err } // Transact indicates an expected call of Transact. -func (mr *MockSbClientMockRecorder) Transact(method, operations any) *gomock.Call { +func (mr *MockSbClientMockRecorder) Transact(method, operations interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Transact", reflect.TypeOf((*MockSbClient)(nil).Transact), method, operations) } // UpdateChassis mocks base method. -func (m *MockSbClient) UpdateChassis(chassis *ovnsb.Chassis, fields ...any) error { +func (m *MockSbClient) UpdateChassis(chassis *ovnsb.Chassis, fields ...interface{}) error { m.ctrl.T.Helper() - varargs := []any{chassis} + varargs := []interface{}{chassis} for _, a := range fields { varargs = append(varargs, a) } @@ -4654,9 +4677,9 @@ func (m *MockSbClient) UpdateChassis(chassis *ovnsb.Chassis, fields ...any) erro } // UpdateChassis indicates an expected call of UpdateChassis. -func (mr *MockSbClientMockRecorder) UpdateChassis(chassis any, fields ...any) *gomock.Call { +func (mr *MockSbClientMockRecorder) UpdateChassis(chassis interface{}, fields ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{chassis}, fields...) + varargs := append([]interface{}{chassis}, fields...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateChassis", reflect.TypeOf((*MockSbClient)(nil).UpdateChassis), varargs...) } @@ -4669,7 +4692,7 @@ func (m *MockSbClient) UpdateChassisTag(chassisName, nodeName string) error { } // UpdateChassisTag indicates an expected call of UpdateChassisTag. -func (mr *MockSbClientMockRecorder) UpdateChassisTag(chassisName, nodeName any) *gomock.Call { +func (mr *MockSbClientMockRecorder) UpdateChassisTag(chassisName, nodeName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateChassisTag", reflect.TypeOf((*MockSbClient)(nil).UpdateChassisTag), chassisName, nodeName) } @@ -4698,7 +4721,7 @@ func (m *MockCommon) EXPECT() *MockCommonMockRecorder { } // GetEntityInfo mocks base method. -func (m *MockCommon) GetEntityInfo(entity any) error { +func (m *MockCommon) GetEntityInfo(entity interface{}) error { m.ctrl.T.Helper() ret := m.ctrl.Call(m, "GetEntityInfo", entity) ret0, _ := ret[0].(error) @@ -4706,7 +4729,7 @@ func (m *MockCommon) GetEntityInfo(entity any) error { } // GetEntityInfo indicates an expected call of GetEntityInfo. -func (mr *MockCommonMockRecorder) GetEntityInfo(entity any) *gomock.Call { +func (mr *MockCommonMockRecorder) GetEntityInfo(entity interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEntityInfo", reflect.TypeOf((*MockCommon)(nil).GetEntityInfo), entity) } @@ -4720,7 +4743,7 @@ func (m *MockCommon) Transact(method string, operations []ovsdb.Operation) error } // Transact indicates an expected call of Transact. -func (mr *MockCommonMockRecorder) Transact(method, operations any) *gomock.Call { +func (mr *MockCommonMockRecorder) Transact(method, operations interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Transact", reflect.TypeOf((*MockCommon)(nil).Transact), method, operations) } @@ -4757,7 +4780,7 @@ func (m *MockChassis) DeleteChassis(chassisName string) error { } // DeleteChassis indicates an expected call of DeleteChassis. -func (mr *MockChassisMockRecorder) DeleteChassis(chassisName any) *gomock.Call { +func (mr *MockChassisMockRecorder) DeleteChassis(chassisName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteChassis", reflect.TypeOf((*MockChassis)(nil).DeleteChassis), chassisName) } @@ -4771,7 +4794,7 @@ func (m *MockChassis) DeleteChassisByHost(node string) error { } // DeleteChassisByHost indicates an expected call of DeleteChassisByHost. -func (mr *MockChassisMockRecorder) DeleteChassisByHost(node any) *gomock.Call { +func (mr *MockChassisMockRecorder) DeleteChassisByHost(node interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteChassisByHost", reflect.TypeOf((*MockChassis)(nil).DeleteChassisByHost), node) } @@ -4786,7 +4809,7 @@ func (m *MockChassis) GetAllChassisByHost(nodeName string) (*[]ovnsb.Chassis, er } // GetAllChassisByHost indicates an expected call of GetAllChassisByHost. -func (mr *MockChassisMockRecorder) GetAllChassisByHost(nodeName any) *gomock.Call { +func (mr *MockChassisMockRecorder) GetAllChassisByHost(nodeName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAllChassisByHost", reflect.TypeOf((*MockChassis)(nil).GetAllChassisByHost), nodeName) } @@ -4801,7 +4824,7 @@ func (m *MockChassis) GetChassis(chassisName string, ignoreNotFound bool) (*ovns } // GetChassis indicates an expected call of GetChassis. -func (mr *MockChassisMockRecorder) GetChassis(chassisName, ignoreNotFound any) *gomock.Call { +func (mr *MockChassisMockRecorder) GetChassis(chassisName, ignoreNotFound interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetChassis", reflect.TypeOf((*MockChassis)(nil).GetChassis), chassisName, ignoreNotFound) } @@ -4816,7 +4839,7 @@ func (m *MockChassis) GetChassisByHost(nodeName string) (*ovnsb.Chassis, error) } // GetChassisByHost indicates an expected call of GetChassisByHost. -func (mr *MockChassisMockRecorder) GetChassisByHost(nodeName any) *gomock.Call { +func (mr *MockChassisMockRecorder) GetChassisByHost(nodeName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetChassisByHost", reflect.TypeOf((*MockChassis)(nil).GetChassisByHost), nodeName) } @@ -4852,9 +4875,9 @@ func (mr *MockChassisMockRecorder) ListChassis() *gomock.Call { } // UpdateChassis mocks base method. -func (m *MockChassis) UpdateChassis(chassis *ovnsb.Chassis, fields ...any) error { +func (m *MockChassis) UpdateChassis(chassis *ovnsb.Chassis, fields ...interface{}) error { m.ctrl.T.Helper() - varargs := []any{chassis} + varargs := []interface{}{chassis} for _, a := range fields { varargs = append(varargs, a) } @@ -4864,9 +4887,9 @@ func (m *MockChassis) UpdateChassis(chassis *ovnsb.Chassis, fields ...any) error } // UpdateChassis indicates an expected call of UpdateChassis. -func (mr *MockChassisMockRecorder) UpdateChassis(chassis any, fields ...any) *gomock.Call { +func (mr *MockChassisMockRecorder) UpdateChassis(chassis interface{}, fields ...interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() - varargs := append([]any{chassis}, fields...) + varargs := append([]interface{}{chassis}, fields...) return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateChassis", reflect.TypeOf((*MockChassis)(nil).UpdateChassis), varargs...) } @@ -4879,7 +4902,7 @@ func (m *MockChassis) UpdateChassisTag(chassisName, nodeName string) error { } // UpdateChassisTag indicates an expected call of UpdateChassisTag. -func (mr *MockChassisMockRecorder) UpdateChassisTag(chassisName, nodeName any) *gomock.Call { +func (mr *MockChassisMockRecorder) UpdateChassisTag(chassisName, nodeName interface{}) *gomock.Call { mr.mock.ctrl.T.Helper() return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateChassisTag", reflect.TypeOf((*MockChassis)(nil).UpdateChassisTag), chassisName, nodeName) } diff --git a/pkg/controller/controller.go b/pkg/controller/controller.go index 657da3e7f342..b8f82d5429f4 100644 --- a/pkg/controller/controller.go +++ b/pkg/controller/controller.go @@ -752,6 +752,10 @@ func (c *Controller) Run(ctx context.Context) { util.LogFatalAndExit(err, "failed to set NB_Global option ls_ct_skip_dst_lport_ips") } + if err := c.OVNNbClient.SetNodeLocalDNSIP(c.config.NodeLocalDNSIP); err != nil { + util.LogFatalAndExit(err, "failed to set NB_Global option node_local_dns_ip") + } + if err := c.InitOVN(); err != nil { util.LogFatalAndExit(err, "failed to initialize ovn resources") } diff --git a/pkg/ovs/interface.go b/pkg/ovs/interface.go index 0afde76fd744..2cf0f984549a 100644 --- a/pkg/ovs/interface.go +++ b/pkg/ovs/interface.go @@ -18,6 +18,7 @@ type NBGlobal interface { SetICAutoRoute(enable bool, blackList []string) error SetLsDnatModDlDst(enabled bool) error SetLsCtSkipDstLportIPs(enabled bool) error + SetNodeLocalDNSIP(nodeLocalDNSIP string) error GetNbGlobal() (*ovnnb.NBGlobal, error) } diff --git a/pkg/ovs/ovn-nb_global.go b/pkg/ovs/ovn-nb_global.go index 29b5584b0fa8..20eda1320edc 100644 --- a/pkg/ovs/ovn-nb_global.go +++ b/pkg/ovs/ovn-nb_global.go @@ -157,3 +157,7 @@ func (c *OVNNbClient) SetLsDnatModDlDst(enabled bool) error { func (c *OVNNbClient) SetLsCtSkipDstLportIPs(enabled bool) error { return c.SetNbGlobalOptions("ls_ct_skip_dst_lport_ips", enabled) } + +func (c *OVNNbClient) SetNodeLocalDNSIP(nodeLocalDNSIP string) error { + return c.SetNbGlobalOptions("node_local_dns_ip", nodeLocalDNSIP) +}