From 7574a266ddd9cebd67b4e59dca2270edf3a04631 Mon Sep 17 00:00:00 2001 From: punker Date: Wed, 29 Jan 2025 14:13:16 +0000 Subject: [PATCH] github.com/togethercomputer/sriov-network-operator replace --- .golangci.yml | 2 +- CONTRIBUTING.md | 4 +-- Dockerfile | 4 +-- Dockerfile.sriov-network-config-daemon | 4 +-- Dockerfile.webhook | 4 +-- PROJECT | 14 ++++----- api/v1/helper.go | 8 ++--- api/v1/helper_test.go | 4 +-- cmd/sriov-network-config-daemon/main.go | 2 +- cmd/sriov-network-config-daemon/service.go | 22 +++++++------- .../service_test.go | 22 +++++++------- cmd/sriov-network-config-daemon/start.go | 18 +++++------ cmd/sriov-network-config-daemon/version.go | 2 +- cmd/webhook/main.go | 2 +- cmd/webhook/start.go | 4 +-- controllers/drain_controller.go | 12 ++++---- controllers/drain_controller_test.go | 12 ++++---- controllers/generic_network_controller.go | 6 ++-- controllers/helper.go | 10 +++---- controllers/helper_test.go | 4 +-- controllers/ovsnetwork_controller.go | 2 +- controllers/ovsnetwork_controller_test.go | 4 +-- controllers/sriovibnetwork_controller.go | 2 +- controllers/sriovibnetwork_controller_test.go | 4 +-- controllers/sriovnetwork_controller.go | 2 +- controllers/sriovnetwork_controller_test.go | 4 +-- .../sriovnetworknodepolicy_controller.go | 8 ++--- .../sriovnetworknodepolicy_controller_test.go | 10 +++---- .../sriovnetworkpoolconfig_controller.go | 10 +++---- .../sriovnetworkpoolconfig_controller_test.go | 14 ++++----- controllers/sriovoperatorconfig_controller.go | 16 +++++----- .../sriovoperatorconfig_controller_test.go | 14 ++++----- controllers/suite_test.go | 6 ++-- .../sriov-network-operator-chart/Chart.yaml | 4 +-- .../sriov-network-operator-chart/README.md | 2 +- .../templates/NOTES.txt | 2 +- doc/design/ib-vf-configuration.md | 2 +- doc/ovs-hw-offload.md | 2 +- doc/quickstart.md | 4 +-- doc/supported-hardware.md | 10 +++---- doc/testing-kind.md | 4 +-- hack/build-go.sh | 2 +- hack/go-fmt.sh | 4 +-- hack/update-codegen.sh | 6 ++-- main.go | 20 ++++++------- pkg/apply/merge.go | 2 +- pkg/client/clientset/versioned/clientset.go | 2 +- .../versioned/fake/clientset_generated.go | 6 ++-- .../clientset/versioned/fake/register.go | 2 +- .../clientset/versioned/scheme/register.go | 2 +- .../sriovnetwork/v1/fake/fake_sriovnetwork.go | 2 +- .../v1/fake/fake_sriovnetwork_client.go | 2 +- .../v1/fake/fake_sriovnetworknodepolicy.go | 2 +- .../v1/fake/fake_sriovnetworknodestate.go | 2 +- .../v1/fake/fake_sriovoperatorconfig.go | 2 +- .../typed/sriovnetwork/v1/sriovnetwork.go | 4 +-- .../sriovnetwork/v1/sriovnetwork_client.go | 4 +-- .../sriovnetwork/v1/sriovnetworknodepolicy.go | 4 +-- .../sriovnetwork/v1/sriovnetworknodestate.go | 4 +-- .../sriovnetwork/v1/sriovoperatorconfig.go | 4 +-- .../informers/externalversions/factory.go | 6 ++-- .../informers/externalversions/generic.go | 2 +- .../internalinterfaces/factory_interfaces.go | 2 +- .../sriovnetwork/interface.go | 4 +-- .../sriovnetwork/v1/interface.go | 2 +- .../sriovnetwork/v1/sriovnetwork.go | 8 ++--- .../sriovnetwork/v1/sriovnetworknodepolicy.go | 8 ++--- .../sriovnetwork/v1/sriovnetworknodestate.go | 8 ++--- .../sriovnetwork/v1/sriovoperatorconfig.go | 8 ++--- .../listers/sriovnetwork/v1/sriovnetwork.go | 2 +- .../sriovnetwork/v1/sriovnetworknodepolicy.go | 2 +- .../sriovnetwork/v1/sriovnetworknodestate.go | 2 +- .../sriovnetwork/v1/sriovoperatorconfig.go | 2 +- pkg/daemon/daemon.go | 24 +++++++-------- pkg/daemon/daemon_test.go | 26 ++++++++-------- pkg/daemon/event_recorder.go | 4 +-- pkg/daemon/plugin.go | 20 ++++++------- pkg/daemon/plugin_test.go | 14 ++++----- pkg/daemon/writer.go | 12 ++++---- pkg/drain/drainer.go | 6 ++-- pkg/helper/host.go | 8 ++--- pkg/helper/mock/mock_helper.go | 8 ++--- pkg/host/internal/bridge/bridge.go | 8 ++--- pkg/host/internal/bridge/bridge_test.go | 6 ++-- pkg/host/internal/bridge/ovs/mock/mock_ovs.go | 2 +- pkg/host/internal/bridge/ovs/ovs.go | 8 ++--- pkg/host/internal/bridge/ovs/ovs_test.go | 10 +++---- .../bridge/ovs/store/mock/mock_store.go | 2 +- pkg/host/internal/bridge/ovs/store/store.go | 6 ++-- .../internal/bridge/ovs/store/store_test.go | 8 ++--- .../internal/infiniband/ib_guid_config.go | 6 ++-- .../infiniband/ib_guid_config_test.go | 12 ++++---- pkg/host/internal/infiniband/ib_guid_pool.go | 4 +-- .../internal/infiniband/ib_guid_pool_test.go | 10 +++---- pkg/host/internal/infiniband/infiniband.go | 6 ++-- .../internal/infiniband/infiniband_test.go | 12 ++++---- pkg/host/internal/kernel/kernel.go | 10 +++---- pkg/host/internal/kernel/kernel_test.go | 10 +++---- pkg/host/internal/lib/ghw/mock/mock_ghw.go | 2 +- .../internal/lib/netlink/mock/mock_netlink.go | 2 +- pkg/host/internal/network/network.go | 14 ++++----- pkg/host/internal/network/network_test.go | 14 ++++----- pkg/host/internal/service/service.go | 6 ++-- pkg/host/internal/sriov/sriov.go | 20 ++++++------- pkg/host/internal/sriov/sriov_test.go | 20 ++++++------- pkg/host/internal/udev/suite_test.go | 2 +- pkg/host/internal/udev/udev.go | 8 ++--- pkg/host/internal/udev/udev_test.go | 10 +++---- pkg/host/internal/vdpa/vdpa.go | 6 ++-- pkg/host/internal/vdpa/vdpa_test.go | 10 +++---- pkg/host/manager.go | 30 +++++++++---------- pkg/host/mock/mock_host.go | 6 ++-- pkg/host/store/mock/mock_store.go | 2 +- pkg/host/store/store.go | 8 ++--- pkg/host/types/interfaces.go | 4 +-- pkg/leaderelection/leaderelection.go | 2 +- pkg/platforms/mock/mock_platforms.go | 4 +-- .../openshift/mock/mock_openshift.go | 2 +- pkg/platforms/openshift/openshift.go | 6 ++-- .../openstack/mock/mock_openstack.go | 2 +- pkg/platforms/openstack/openstack.go | 6 ++-- pkg/platforms/platforms.go | 8 ++--- pkg/plugins/fake/fake_plugin.go | 2 +- pkg/plugins/generic/generic_plugin.go | 14 ++++----- pkg/plugins/generic/generic_plugin_test.go | 10 +++---- pkg/plugins/intel/intel_plugin.go | 6 ++-- pkg/plugins/k8s/k8s_plugin.go | 14 ++++----- pkg/plugins/k8s/k8s_plugin_test.go | 12 ++++---- pkg/plugins/mellanox/mellanox_plugin.go | 14 ++++----- pkg/plugins/mock/mock_plugin.go | 2 +- pkg/plugins/plugin.go | 2 +- pkg/plugins/virtual/virtual_plugin.go | 10 +++---- pkg/systemd/systemd.go | 8 ++--- pkg/utils/cluster.go | 2 +- pkg/utils/mock/mock_store.go | 2 +- pkg/utils/shutdown.go | 6 ++-- pkg/utils/utils.go | 4 +-- pkg/vars/vars.go | 2 +- pkg/vendors/mellanox/mellanox.go | 6 ++-- pkg/vendors/mellanox/mock/mock_mellanox.go | 2 +- pkg/webhook/client.go | 2 +- pkg/webhook/mutate.go | 2 +- pkg/webhook/scheme.go | 2 +- pkg/webhook/validate.go | 6 ++-- pkg/webhook/validate_test.go | 8 ++--- pkg/webhook/webhook.go | 2 +- test/conformance/test_suite_test.go | 4 +-- test/conformance/tests/fixtures.go | 8 ++--- test/conformance/tests/init.go | 2 +- .../tests/test_exporter_metrics.go | 10 +++---- .../tests/test_policy_configuration.go | 12 ++++---- test/conformance/tests/test_sriov_operator.go | 18 +++++------ test/conformance/tests/test_switchdev.go | 10 +++---- test/e2e/e2e_tests_suite_test.go | 4 +-- test/e2e/sriovoperatornodepolicy_test.go | 10 +++---- test/util/clean/clean.go | 6 ++-- test/util/client/clients.go | 6 ++-- test/util/cluster/cluster.go | 10 +++---- test/util/cluster/cluster_test.go | 2 +- test/util/discovery/discovery.go | 6 ++-- test/util/helpers/helpers.go | 4 +-- test/util/k8sreporter/reporter.go | 4 +-- test/util/namespaces/namespaces.go | 4 +-- test/util/network/network.go | 6 ++-- test/util/nodes/nodes.go | 4 +-- test/util/pod/pod.go | 6 ++-- test/util/util.go | 4 +-- test/validation/test_suite_test.go | 4 +-- test/validation/tests/test_validation.go | 6 ++-- 169 files changed, 572 insertions(+), 572 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 253c4ff23..59d7c0998 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -46,7 +46,7 @@ linters-settings: gocyclo: min-complexity: 15 goimports: - local-prefixes: github.com/k8snetworkplumbingwg/sriov-network-operator + local-prefixes: github.com/togethercomputer/sriov-network-operator gomnd: settings: mnd: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 979ea417c..e8f3153bd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -59,7 +59,7 @@ Fixes #1 We always encourage the contribution for the community project. We like to collaborate with various stake holder on this project. We ask developer to keep following guidelines in mind before the contribution. -* Make sure to create an [Issue](https://github.com/k8snetworkplumbingwg/sriov-network-operator/issues) for bug fix or the feature request. +* Make sure to create an [Issue](https://github.com/togethercomputer/sriov-network-operator/issues) for bug fix or the feature request. Issues are discussed on a regular basis at _K8s Network & Resource management_ meetings. * **For bugs**: For the bug fixes, please follow the issue template format while creating a issue. If you have already found a fix, feel free to submit a Pull Request referencing the Issue you created. Include the `Fixes #` syntax to link it to the issue you're addressing. * **For feature requests**, For the feature requests, please follow the issue template format while creating a feature requests. We want to improve upon SRIOV Network Operator incrementally which means small changes or features at a time. @@ -71,7 +71,7 @@ Once you're ready to contribute code back to this repo, start with these steps: * Clone the fork to your machine: ``` -$ git clone https://github.com/k8snetworkplumbingwg/sriov-network-operator.git +$ git clone https://github.com/togethercomputer/sriov-network-operator.git ``` * Create a topic branch with prefix `dev/` for your change and checkout that branch: diff --git a/Dockerfile b/Dockerfile index 2b26247e8..8ea74ebe7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ FROM golang:1.22 AS builder -WORKDIR /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator +WORKDIR /go/src/github.com/togethercomputer/sriov-network-operator COPY . . RUN make _build-manager BIN_PATH=build/_output/cmd FROM quay.io/centos/centos:stream9 -COPY --from=builder /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/build/_output/cmd/manager /usr/bin/sriov-network-operator +COPY --from=builder /go/src/github.com/togethercomputer/sriov-network-operator/build/_output/cmd/manager /usr/bin/sriov-network-operator COPY bindata /bindata ENV OPERATOR_NAME=sriov-network-operator CMD ["/usr/bin/sriov-network-operator"] diff --git a/Dockerfile.sriov-network-config-daemon b/Dockerfile.sriov-network-config-daemon index 35533448f..a03aded37 100644 --- a/Dockerfile.sriov-network-config-daemon +++ b/Dockerfile.sriov-network-config-daemon @@ -1,5 +1,5 @@ FROM golang:1.22 AS builder -WORKDIR /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator +WORKDIR /go/src/github.com/togethercomputer/sriov-network-operator COPY . . RUN make _build-sriov-network-config-daemon BIN_PATH=build/_output/cmd @@ -10,6 +10,6 @@ ARG MSTFLINT=mstflint RUN ARCH_DEP_PKGS=$(if [ "$(uname -m)" != "s390x" ]; then echo -n ${MSTFLINT} ; fi) && yum -y install hwdata pciutils $ARCH_DEP_PKGS && yum clean all LABEL io.k8s.display-name="sriov-network-config-daemon" \ io.k8s.description="This is a daemon that manage and config sriov network devices in Kubernetes cluster" -COPY --from=builder /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/build/_output/cmd/sriov-network-config-daemon /usr/bin/ +COPY --from=builder /go/src/github.com/togethercomputer/sriov-network-operator/build/_output/cmd/sriov-network-config-daemon /usr/bin/ COPY bindata /bindata CMD ["/usr/bin/sriov-network-config-daemon"] diff --git a/Dockerfile.webhook b/Dockerfile.webhook index 7c2e7f3d5..9c1384595 100644 --- a/Dockerfile.webhook +++ b/Dockerfile.webhook @@ -1,5 +1,5 @@ FROM golang:1.22 AS builder -WORKDIR /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator +WORKDIR /go/src/github.com/togethercomputer/sriov-network-operator COPY . . RUN make _build-webhook BIN_PATH=build/_output/cmd @@ -7,5 +7,5 @@ FROM quay.io/centos/centos:stream9 LABEL io.k8s.display-name="sriov-network-webhook" \ io.k8s.description="This is an admission controller webhook that mutates and validates customer resources of sriov network operator." USER 1001 -COPY --from=builder /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator/build/_output/cmd/webhook /usr/bin/webhook +COPY --from=builder /go/src/github.com/togethercomputer/sriov-network-operator/build/_output/cmd/webhook /usr/bin/webhook CMD ["/usr/bin/webhook"] diff --git a/PROJECT b/PROJECT index 30fa5d903..f6c49b959 100644 --- a/PROJECT +++ b/PROJECT @@ -2,7 +2,7 @@ domain: openshift.io layout: - go.kubebuilder.io/v3 projectName: sriov-network-operator -repo: github.com/k8snetworkplumbingwg/sriov-network-operator +repo: github.com/togethercomputer/sriov-network-operator resources: - api: crdVersion: v1 @@ -11,7 +11,7 @@ resources: domain: openshift.io group: sriovnetwork kind: SriovNetwork - path: github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1 + path: github.com/togethercomputer/sriov-network-operator/api/v1 version: v1 - api: crdVersion: v1 @@ -20,7 +20,7 @@ resources: domain: openshift.io group: sriovnetwork kind: SriovNetworkNodeState - path: github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1 + path: github.com/togethercomputer/sriov-network-operator/api/v1 version: v1 - api: crdVersion: v1 @@ -29,7 +29,7 @@ resources: domain: openshift.io group: sriovnetwork kind: SriovIBNetwork - path: github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1 + path: github.com/togethercomputer/sriov-network-operator/api/v1 version: v1 - api: crdVersion: v1 @@ -38,7 +38,7 @@ resources: domain: openshift.io group: sriovnetwork kind: SriovNetworkNodePolicy - path: github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1 + path: github.com/togethercomputer/sriov-network-operator/api/v1 version: v1 - api: crdVersion: v1 @@ -47,7 +47,7 @@ resources: domain: openshift.io group: sriovnetwork kind: SriovOperatorConfig - path: github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1 + path: github.com/togethercomputer/sriov-network-operator/api/v1 version: v1 - api: crdVersion: v1 @@ -56,7 +56,7 @@ resources: domain: openshift.io group: sriovnetwork kind: OVSNetwork - path: github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1 + path: github.com/togethercomputer/sriov-network-operator/api/v1 version: v1 version: "3" plugins: diff --git a/api/v1/helper.go b/api/v1/helper.go index d99fdcadc..2fce1eb48 100644 --- a/api/v1/helper.go +++ b/api/v1/helper.go @@ -20,9 +20,9 @@ import ( "k8s.io/client-go/kubernetes" logf "sigs.k8s.io/controller-runtime/pkg/log" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/render" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/render" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) const ( @@ -715,7 +715,7 @@ func (cr *SriovIBNetwork) RenderNetAttDefWithGUID(status SriovNetworkNodeStateSt // render RawCNIConfig manifests data := render.MakeRenderData() data.Data["CniType"] = "ib-sriov" - data.Data["pKey"] = cr.Spec.Pkey + data.Data["pKey"] = cr.Spec.PKey data.Data["interfaceName"] = cr.Spec.InterfaceName data.Data["SriovNetworkName"] = cr.Name if cr.Spec.NetworkNamespace == "" { diff --git a/api/v1/helper_test.go b/api/v1/helper_test.go index 06215d067..8d3aed268 100644 --- a/api/v1/helper_test.go +++ b/api/v1/helper_test.go @@ -13,8 +13,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" intstrutil "k8s.io/apimachinery/pkg/util/intstr" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" ) var update = flag.Bool("updategolden", false, "update .golden files") diff --git a/cmd/sriov-network-config-daemon/main.go b/cmd/sriov-network-config-daemon/main.go index ea3662486..510ae4e38 100644 --- a/cmd/sriov-network-config-daemon/main.go +++ b/cmd/sriov-network-config-daemon/main.go @@ -21,7 +21,7 @@ import ( "github.com/spf13/cobra" "sigs.k8s.io/controller-runtime/pkg/log" - snolog "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/log" + snolog "github.com/togethercomputer/sriov-network-operator/pkg/log" ) const ( diff --git a/cmd/sriov-network-config-daemon/service.go b/cmd/sriov-network-config-daemon/service.go index 382ad976b..1735ceb71 100644 --- a/cmd/sriov-network-config-daemon/service.go +++ b/cmd/sriov-network-config-daemon/service.go @@ -24,17 +24,17 @@ import ( "github.com/spf13/cobra" "sigs.k8s.io/controller-runtime/pkg/log" - sriovv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper" - snolog "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/log" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms" - plugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins/generic" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins/virtual" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/systemd" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/version" + sriovv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/helper" + snolog "github.com/togethercomputer/sriov-network-operator/pkg/log" + "github.com/togethercomputer/sriov-network-operator/pkg/platforms" + plugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins" + "github.com/togethercomputer/sriov-network-operator/pkg/plugins/generic" + "github.com/togethercomputer/sriov-network-operator/pkg/plugins/virtual" + "github.com/togethercomputer/sriov-network-operator/pkg/systemd" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" + "github.com/togethercomputer/sriov-network-operator/pkg/version" ) const ( diff --git a/cmd/sriov-network-config-daemon/service_test.go b/cmd/sriov-network-config-daemon/service_test.go index 771cc3b1c..a97850dd1 100644 --- a/cmd/sriov-network-config-daemon/service_test.go +++ b/cmd/sriov-network-config-daemon/service_test.go @@ -10,17 +10,17 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper" - helperMock "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper/mock" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms" - platformsMock "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms/mock" - plugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins/generic" - pluginsMock "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins/mock" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/systemd" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/fakefilesystem" - testHelpers "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/helpers" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/helper" + helperMock "github.com/togethercomputer/sriov-network-operator/pkg/helper/mock" + "github.com/togethercomputer/sriov-network-operator/pkg/platforms" + platformsMock "github.com/togethercomputer/sriov-network-operator/pkg/platforms/mock" + plugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins" + "github.com/togethercomputer/sriov-network-operator/pkg/plugins/generic" + pluginsMock "github.com/togethercomputer/sriov-network-operator/pkg/plugins/mock" + "github.com/togethercomputer/sriov-network-operator/pkg/systemd" + "github.com/togethercomputer/sriov-network-operator/test/util/fakefilesystem" + testHelpers "github.com/togethercomputer/sriov-network-operator/test/util/helpers" ) func restoreOrigFuncs() { diff --git a/cmd/sriov-network-config-daemon/start.go b/cmd/sriov-network-config-daemon/start.go index b1ad0f667..8addf522d 100644 --- a/cmd/sriov-network-config-daemon/start.go +++ b/cmd/sriov-network-config-daemon/start.go @@ -38,15 +38,15 @@ import ( configv1 "github.com/openshift/api/config/v1" mcfgv1 "github.com/openshift/machine-config-operator/pkg/apis/machineconfiguration.openshift.io/v1" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - snclientset "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/daemon" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/featuregate" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper" - snolog "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/log" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + snclientset "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/daemon" + "github.com/togethercomputer/sriov-network-operator/pkg/featuregate" + "github.com/togethercomputer/sriov-network-operator/pkg/helper" + snolog "github.com/togethercomputer/sriov-network-operator/pkg/log" + "github.com/togethercomputer/sriov-network-operator/pkg/platforms" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) // stringList is a list of strings, implements pflag.Value interface diff --git a/cmd/sriov-network-config-daemon/version.go b/cmd/sriov-network-config-daemon/version.go index 5a0a0fc11..dc770d0a1 100644 --- a/cmd/sriov-network-config-daemon/version.go +++ b/cmd/sriov-network-config-daemon/version.go @@ -5,7 +5,7 @@ import ( "github.com/spf13/cobra" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/version" + "github.com/togethercomputer/sriov-network-operator/pkg/version" ) var ( diff --git a/cmd/webhook/main.go b/cmd/webhook/main.go index a43123cfc..673f75cfd 100644 --- a/cmd/webhook/main.go +++ b/cmd/webhook/main.go @@ -8,7 +8,7 @@ import ( "k8s.io/klog/v2" "sigs.k8s.io/controller-runtime/pkg/log" - snolog "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/log" + snolog "github.com/togethercomputer/sriov-network-operator/pkg/log" ) const ( diff --git a/cmd/webhook/start.go b/cmd/webhook/start.go index c66d6c8b8..c57dc8146 100644 --- a/cmd/webhook/start.go +++ b/cmd/webhook/start.go @@ -14,8 +14,8 @@ import ( "k8s.io/apimachinery/pkg/runtime" "sigs.k8s.io/controller-runtime/pkg/log" - snolog "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/log" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/webhook" + snolog "github.com/togethercomputer/sriov-network-operator/pkg/log" + "github.com/togethercomputer/sriov-network-operator/pkg/webhook" ) var ( diff --git a/controllers/drain_controller.go b/controllers/drain_controller.go index 86da909d8..6c0bcd3f6 100644 --- a/controllers/drain_controller.go +++ b/controllers/drain_controller.go @@ -40,12 +40,12 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/reconcile" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - constants "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/drain" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + constants "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/drain" + "github.com/togethercomputer/sriov-network-operator/pkg/platforms" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) var ( diff --git a/controllers/drain_controller_test.go b/controllers/drain_controller_test.go index de3fe0884..e798acc43 100644 --- a/controllers/drain_controller_test.go +++ b/controllers/drain_controller_test.go @@ -19,12 +19,12 @@ import ( mcfgv1 "github.com/openshift/machine-config-operator/pkg/apis/machineconfiguration.openshift.io/v1" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - constants "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - mock_platforms "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms/mock" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms/openshift" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + constants "github.com/togethercomputer/sriov-network-operator/pkg/consts" + mock_platforms "github.com/togethercomputer/sriov-network-operator/pkg/platforms/mock" + "github.com/togethercomputer/sriov-network-operator/pkg/platforms/openshift" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) var _ = Describe("Drain Controller", Ordered, func() { diff --git a/controllers/generic_network_controller.go b/controllers/generic_network_controller.go index 9ed3d809a..5ee4e402d 100644 --- a/controllers/generic_network_controller.go +++ b/controllers/generic_network_controller.go @@ -36,9 +36,9 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/reconcile" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) type networkCRInstance interface { diff --git a/controllers/helper.go b/controllers/helper.go index 9ff735473..9aba4bbd6 100644 --- a/controllers/helper.go +++ b/controllers/helper.go @@ -40,11 +40,11 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/predicate" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/apply" - constants "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/render" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/apply" + constants "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/render" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) var webhooks = map[string](string){ diff --git a/controllers/helper_test.go b/controllers/helper_test.go index d998cf0da..592de0083 100644 --- a/controllers/helper_test.go +++ b/controllers/helper_test.go @@ -31,8 +31,8 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" controllerruntime "sigs.k8s.io/controller-runtime" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) func TestNodeSelectorMerge(t *testing.T) { diff --git a/controllers/ovsnetwork_controller.go b/controllers/ovsnetwork_controller.go index 2f2eaee1e..397dbf25d 100644 --- a/controllers/ovsnetwork_controller.go +++ b/controllers/ovsnetwork_controller.go @@ -23,7 +23,7 @@ import ( ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) // OVSNetworkReconciler reconciles a OVSNetwork object diff --git a/controllers/ovsnetwork_controller_test.go b/controllers/ovsnetwork_controller_test.go index ef464e5e9..db1be781d 100644 --- a/controllers/ovsnetwork_controller_test.go +++ b/controllers/ovsnetwork_controller_test.go @@ -14,8 +14,8 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/test/util" ) func getOvsNetworkCR() *v1.OVSNetwork { diff --git a/controllers/sriovibnetwork_controller.go b/controllers/sriovibnetwork_controller.go index ee311f32a..64fde1a0e 100644 --- a/controllers/sriovibnetwork_controller.go +++ b/controllers/sriovibnetwork_controller.go @@ -23,7 +23,7 @@ import ( ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) // SriovIBNetworkReconciler reconciles a SriovIBNetwork object diff --git a/controllers/sriovibnetwork_controller_test.go b/controllers/sriovibnetwork_controller_test.go index badb11d97..914f127e5 100644 --- a/controllers/sriovibnetwork_controller_test.go +++ b/controllers/sriovibnetwork_controller_test.go @@ -18,8 +18,8 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/test/util" ) var _ = Describe("SriovIBNetwork Controller", Ordered, func() { diff --git a/controllers/sriovnetwork_controller.go b/controllers/sriovnetwork_controller.go index 1e3dd044e..ccb3eae2d 100644 --- a/controllers/sriovnetwork_controller.go +++ b/controllers/sriovnetwork_controller.go @@ -23,7 +23,7 @@ import ( ctrl "sigs.k8s.io/controller-runtime" "sigs.k8s.io/controller-runtime/pkg/client" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) // SriovNetworkReconciler reconciles a SriovNetwork object diff --git a/controllers/sriovnetwork_controller_test.go b/controllers/sriovnetwork_controller_test.go index f2f7d2a07..ddf1b9da9 100644 --- a/controllers/sriovnetwork_controller_test.go +++ b/controllers/sriovnetwork_controller_test.go @@ -19,8 +19,8 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/test/util" ) const ( diff --git a/controllers/sriovnetworknodepolicy_controller.go b/controllers/sriovnetworknodepolicy_controller.go index be46880b7..7bd958611 100644 --- a/controllers/sriovnetworknodepolicy_controller.go +++ b/controllers/sriovnetworknodepolicy_controller.go @@ -43,10 +43,10 @@ import ( dptypes "github.com/k8snetworkplumbingwg/sriov-network-device-plugin/pkg/types" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - constants "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/featuregate" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + constants "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/featuregate" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) const nodePolicySyncEventName = "node-policy-sync-event" diff --git a/controllers/sriovnetworknodepolicy_controller_test.go b/controllers/sriovnetworknodepolicy_controller_test.go index a116efe87..3c2983e05 100644 --- a/controllers/sriovnetworknodepolicy_controller_test.go +++ b/controllers/sriovnetworknodepolicy_controller_test.go @@ -15,11 +15,11 @@ import ( dptypes "github.com/k8snetworkplumbingwg/sriov-network-device-plugin/pkg/types" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/featuregate" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/featuregate" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) func mustMarshallSelector(t *testing.T, input *dptypes.NetDeviceSelectors) *json.RawMessage { diff --git a/controllers/sriovnetworkpoolconfig_controller.go b/controllers/sriovnetworkpoolconfig_controller.go index 43fd513c9..eb1f31f65 100644 --- a/controllers/sriovnetworkpoolconfig_controller.go +++ b/controllers/sriovnetworkpoolconfig_controller.go @@ -16,11 +16,11 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/reconcile" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - constants "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/render" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + constants "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/platforms" + "github.com/togethercomputer/sriov-network-operator/pkg/render" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) // SriovNetworkPoolConfigReconciler reconciles a SriovNetworkPoolConfig object diff --git a/controllers/sriovnetworkpoolconfig_controller_test.go b/controllers/sriovnetworkpoolconfig_controller_test.go index f2f9d7df1..e8dc54034 100644 --- a/controllers/sriovnetworkpoolconfig_controller_test.go +++ b/controllers/sriovnetworkpoolconfig_controller_test.go @@ -14,13 +14,13 @@ import ( mcfgv1 "github.com/openshift/machine-config-operator/pkg/apis/machineconfiguration.openshift.io/v1" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - constants "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - mock_platforms "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms/mock" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms/openshift" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + constants "github.com/togethercomputer/sriov-network-operator/pkg/consts" + mock_platforms "github.com/togethercomputer/sriov-network-operator/pkg/platforms/mock" + "github.com/togethercomputer/sriov-network-operator/pkg/platforms/openshift" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" + "github.com/togethercomputer/sriov-network-operator/test/util" ) var _ = Describe("SriovNetworkPoolConfig controller", Ordered, func() { diff --git a/controllers/sriovoperatorconfig_controller.go b/controllers/sriovoperatorconfig_controller.go index 8d028d8eb..aa74ca3de 100644 --- a/controllers/sriovoperatorconfig_controller.go +++ b/controllers/sriovoperatorconfig_controller.go @@ -40,14 +40,14 @@ import ( machinev1 "github.com/openshift/machine-config-operator/pkg/apis/machineconfiguration.openshift.io/v1" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - apply "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/apply" - consts "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/featuregate" - snolog "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/log" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms" - render "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/render" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + apply "github.com/togethercomputer/sriov-network-operator/pkg/apply" + consts "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/featuregate" + snolog "github.com/togethercomputer/sriov-network-operator/pkg/log" + "github.com/togethercomputer/sriov-network-operator/pkg/platforms" + render "github.com/togethercomputer/sriov-network-operator/pkg/render" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) // SriovOperatorConfigReconciler reconciles a SriovOperatorConfig object diff --git a/controllers/sriovoperatorconfig_controller_test.go b/controllers/sriovoperatorconfig_controller_test.go index 9ba05490b..a8d9a3923 100644 --- a/controllers/sriovoperatorconfig_controller_test.go +++ b/controllers/sriovoperatorconfig_controller_test.go @@ -23,13 +23,13 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/featuregate" - mock_platforms "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms/mock" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms/openshift" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" - util "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/featuregate" + mock_platforms "github.com/togethercomputer/sriov-network-operator/pkg/platforms/mock" + "github.com/togethercomputer/sriov-network-operator/pkg/platforms/openshift" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" + util "github.com/togethercomputer/sriov-network-operator/test/util" ) var _ = Describe("SriovOperatorConfig controller", Ordered, func() { diff --git a/controllers/suite_test.go b/controllers/suite_test.go index bc2f13b8e..ce667c403 100644 --- a/controllers/suite_test.go +++ b/controllers/suite_test.go @@ -44,9 +44,9 @@ import ( monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/apis/monitoring/v1" //+kubebuilder:scaffold:imports - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" + "github.com/togethercomputer/sriov-network-operator/test/util" ) // These tests use Ginkgo (BDD-style Go testing framework). Refer to diff --git a/deployment/sriov-network-operator-chart/Chart.yaml b/deployment/sriov-network-operator-chart/Chart.yaml index 88a50fffc..95d0f052e 100644 --- a/deployment/sriov-network-operator-chart/Chart.yaml +++ b/deployment/sriov-network-operator-chart/Chart.yaml @@ -7,6 +7,6 @@ description: SR-IOV network operator configures and manages SR-IOV networks in t type: application keywords: - sriov -home: https://github.com/k8snetworkplumbingwg/sriov-network-operator +home: https://github.com/togethercomputer/sriov-network-operator sources: - - https://github.com/k8snetworkplumbingwg/sriov-network-operator + - https://github.com/togethercomputer/sriov-network-operator diff --git a/deployment/sriov-network-operator-chart/README.md b/deployment/sriov-network-operator-chart/README.md index 8875b36eb..12ffa337d 100644 --- a/deployment/sriov-network-operator-chart/README.md +++ b/deployment/sriov-network-operator-chart/README.md @@ -48,7 +48,7 @@ $ helm install -n sriov-network-operator --create-namespace --version 1.3.0 --se ``` # Clone project -$ git clone https://github.com/k8snetworkplumbingwg/sriov-network-operator.git ; cd sriov-network-operator +$ git clone https://github.com/togethercomputer/sriov-network-operator.git ; cd sriov-network-operator # Install Operator $ helm install -n sriov-network-operator --create-namespace --wait --set sriovOperatorConfig.deploy=true sriov-network-operator ./deployment/sriov-network-operator-chart diff --git a/deployment/sriov-network-operator-chart/templates/NOTES.txt b/deployment/sriov-network-operator-chart/templates/NOTES.txt index 94dcf3111..145a2b8bc 100644 --- a/deployment/sriov-network-operator-chart/templates/NOTES.txt +++ b/deployment/sriov-network-operator-chart/templates/NOTES.txt @@ -3,4 +3,4 @@ Get Network Operator deployed resources by running the following commands: $ kubectl -n {{ .Release.Namespace }} get pods For additional instructions on how to use SR-IOV network operator, -refer to: https://github.com/k8snetworkplumbingwg/sriov-network-operator \ No newline at end of file +refer to: https://github.com/togethercomputer/sriov-network-operator \ No newline at end of file diff --git a/doc/design/ib-vf-configuration.md b/doc/design/ib-vf-configuration.md index 74f56f3c6..e1127f711 100644 --- a/doc/design/ib-vf-configuration.md +++ b/doc/design/ib-vf-configuration.md @@ -43,7 +43,7 @@ Mount a configuration file as a part of `/host` hostPath in the config daemon an ### Workflow Description -In the [`pkg/host/internal/sriov/sriov.go:configSriovVFDevices`](https://github.com/k8snetworkplumbingwg/sriov-network-operator/blob/82a6d6fdce71bd88a0d9368fb1750488e9a8e4e2/pkg/host/internal/sriov/sriov.go#L458) read from the static IB config file +In the [`pkg/host/internal/sriov/sriov.go:configSriovVFDevices`](https://github.com/togethercomputer/sriov-network-operator/blob/82a6d6fdce71bd88a0d9368fb1750488e9a8e4e2/pkg/host/internal/sriov/sriov.go#L458) read from the static IB config file and assign the GUIDs according to the configuration. Each PF is described by either PCI address or the PF GUID and has either a list or a range of VF GUIDs. diff --git a/doc/ovs-hw-offload.md b/doc/ovs-hw-offload.md index 4e287b811..c304db4aa 100644 --- a/doc/ovs-hw-offload.md +++ b/doc/ovs-hw-offload.md @@ -63,7 +63,7 @@ spec: ``` _Note: `spec.bridge.ovs: {}` - means use default settings (suitable for HW-offloading with OVS-kernel dataplane) -The fields defined in the [Bridge type](https://github.com/k8snetworkplumbingwg/sriov-network-operator/blob/master/api/v1/sriovnetworknodepolicy_types.go#L84) can be used to configure advanced bridge and interface level options._ +The fields defined in the [Bridge type](https://github.com/togethercomputer/sriov-network-operator/blob/master/api/v1/sriovnetworknodepolicy_types.go#L84) can be used to configure advanced bridge and interface level options._ The spec above will render to the similar SriovNetworkNodeState for matching nodes. diff --git a/doc/quickstart.md b/doc/quickstart.md index 18d686741..369137808 100644 --- a/doc/quickstart.md +++ b/doc/quickstart.md @@ -2,7 +2,7 @@ ## Prerequisites -1. A supported SRIOV hardware on the cluster nodes. Supported models can be found [here](https://github.com/k8snetworkplumbingwg/sriov-network-operator/blob/master/doc/supported-hardware.md). +1. A supported SRIOV hardware on the cluster nodes. Supported models can be found [here](https://github.com/togethercomputer/sriov-network-operator/blob/master/doc/supported-hardware.md). 2. Kubernetes or Openshift cluster running on bare metal nodes. 3. Multus-cni is deployed as default CNI plugin, and there is a default CNI plugin (flannel, openshift-sdn etc.) available for Multus-cni. 4. On RedHat Enterprise Linux and Ubuntu operating systems, the `rdma-core` package must be installed to support RDMA resource provisioning. On RedHat CoreOS the package installation is not required. @@ -14,7 +14,7 @@ Make sure to have installed the Operator-SDK, as shown in its [install documenta Clone this GitHub repository. ```bash -go get github.com/k8snetworkplumbingwg/sriov-network-operator +go get github.com/togethercomputer/sriov-network-operator ``` Deploy the operator. diff --git a/doc/supported-hardware.md b/doc/supported-hardware.md index 446190905..2c08f9f77 100644 --- a/doc/supported-hardware.md +++ b/doc/supported-hardware.md @@ -32,7 +32,7 @@ The following SR-IOV capable hardware is supported with sriov-network-operator: | Marvell OCTEON Fusion CNF105XX | 177d | ba00 | > **Note:** sriov-network-operator maintains a list of supported NICs which it supports. -> These are stored in supported-nic-ids [configMap](https://github.com/k8snetworkplumbingwg/sriov-network-operator/blob/master/deployment/sriov-network-operator/templates/configmap.yaml). +> These are stored in supported-nic-ids [configMap](https://github.com/togethercomputer/sriov-network-operator/blob/master/deployment/sriov-network-operator/templates/configmap.yaml). > The operator uses this list to enforce it only operates on NICs that are supported. For unsupported SR-IOV NICs, that is not guaranteed, but might work as well. > To have sriov-network-operator operate on an unsupported NIC, after installing the operator, you have to add the unsupported SR-IOV NICs information to the ConfigMap > in following format: `: `. @@ -89,8 +89,8 @@ should follow the following procedure: expose them as a kubernetes node resource, and you are able to run workloads consuming those resources. * Add information of what was tested to the issue opened -* Add contact point information to [vendor-support.md](https://github.com/k8snetworkplumbingwg/sriov-network-operator/blob/master/doc/vendor-support.md), so we know who to reach out if issues arise when running sriov-network-operator against the specified hardware. -* Submit PR to add your device to this file as well as to supported-nic-ids configMap [here](https://github.com/k8snetworkplumbingwg/sriov-network-operator/blob/master/deployment/sriov-network-operator/templates/configmap.yaml) and [here](https://github.com/k8snetworkplumbingwg/sriov-network-operator/blob/master/deploy/configmap.yaml). +* Add contact point information to [vendor-support.md](https://github.com/togethercomputer/sriov-network-operator/blob/master/doc/vendor-support.md), so we know who to reach out if issues arise when running sriov-network-operator against the specified hardware. +* Submit PR to add your device to this file as well as to supported-nic-ids configMap [here](https://github.com/togethercomputer/sriov-network-operator/blob/master/deployment/sriov-network-operator/templates/configmap.yaml) and [here](https://github.com/togethercomputer/sriov-network-operator/blob/master/deploy/configmap.yaml). * The tables above should be updated according to what was tested ## Continuous support @@ -98,12 +98,12 @@ To ensure sriov-network-operator continues to operate as expected on supported h adds CI which runs against PRs in the project. Without it we cannot commit for sriov-network-operator to continue to work properly on the specified hardware. -Additional information on how to add Vendor/3rd-party CI can be found [here](https://github.com/k8snetworkplumbingwg/sriov-network-operator/tree/master/ci). +Additional information on how to add Vendor/3rd-party CI can be found [here](https://github.com/togethercomputer/sriov-network-operator/tree/master/ci). ### E2E tests sriov-network-operator offers a set of e2e tests vendors can run on their hardware. These tests utilize [Kind](https://kind.sigs.k8s.io/) to spin up -a Kubernetes cluster and run tests. Information on how to run e2e tests can be found [here](https://github.com/k8snetworkplumbingwg/sriov-network-operator/blob/master/doc/testing-kind.md). +a Kubernetes cluster and run tests. Information on how to run e2e tests can be found [here](https://github.com/togethercomputer/sriov-network-operator/blob/master/doc/testing-kind.md). These tests may be used as part of vendor CIs added to the project to validate sriov-network-operator is able to operate on the relevant hardware. diff --git a/doc/testing-kind.md b/doc/testing-kind.md index f159ccaf8..7b8286a0b 100644 --- a/doc/testing-kind.md +++ b/doc/testing-kind.md @@ -21,7 +21,7 @@ Note: Test device will remain in KinD worker node until cluster is terminated. #### Device netns switcher mode `test-suite` ``` -$ git clone https://github.com/k8snetworkplumbingwg/sriov-network-operator.git +$ git clone https://github.com/togethercomputer/sriov-network-operator.git $ cd sriov-network-operator/ $ source hack/get-e2e-kind-tools.sh $ export TEST_PCI_DEVICE=0000:02:00.0 @@ -39,7 +39,7 @@ For the service to work properly the `jq` tool is needed. To run the E2E tests do: ``` -$ git clone https://github.com/k8snetworkplumbingwg/sriov-network-operator.git +$ git clone https://github.com/togethercomputer/sriov-network-operator.git $ cd sriov-network-operator/ $ source hack/get-e2e-kind-tools.sh $ KUBECONFIG=/etc/kubernetes/admin.conf diff --git a/hack/build-go.sh b/hack/build-go.sh index bb1cead41..6e5dbd37a 100755 --- a/hack/build-go.sh +++ b/hack/build-go.sh @@ -2,7 +2,7 @@ set -eux -REPO=github.com/k8snetworkplumbingwg/sriov-network-operator +REPO=github.com/togethercomputer/sriov-network-operator WHAT=${WHAT:-sriov-network-operator} GOFLAGS=${GOFLAGS:-} GLDFLAGS=${GLDFLAGS:-} diff --git a/hack/go-fmt.sh b/hack/go-fmt.sh index e89809935..d471ea320 100755 --- a/hack/go-fmt.sh +++ b/hack/go-fmt.sh @@ -7,8 +7,8 @@ if [ "$IS_CONTAINER" != "" ]; then else $CONTAINER_CMD run --rm \ --env IS_CONTAINER=TRUE \ - --volume "${PWD}:/go/src/github.com/k8snetworkplumbingwg/sriov-network-operator:z" \ - --workdir /go/src/github.com/k8snetworkplumbingwg/sriov-network-operator \ + --volume "${PWD}:/go/src/github.com/togethercomputer/sriov-network-operator:z" \ + --workdir /go/src/github.com/togethercomputer/sriov-network-operator \ openshift/origin-release:golang-1.12 \ ./hack/go-fmt.sh "${@}" fi \ No newline at end of file diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index 158d24124..bac5d6a69 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -10,9 +10,9 @@ cd ../.. CODEGEN_PKG="./vendor/k8s.io/code-generator" bash ${CODEGEN_PKG}/generate-groups.sh client,lister,informer \ - github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client \ - github.com/k8snetworkplumbingwg/sriov-network-operator/api \ + github.com/togethercomputer/sriov-network-operator/pkg/client \ + github.com/togethercomputer/sriov-network-operator/api \ sriovnetwork:v1 \ --go-header-file hack/boilerplate.go.txt -sed -i "s|github.com/k8snetworkplumbingwg/sriov-network-operator/api/sriovnetwork/v1|github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1|g" $(find pkg/client -type f) +sed -i "s|github.com/togethercomputer/sriov-network-operator/api/sriovnetwork/v1|github.com/togethercomputer/sriov-network-operator/api/v1|g" $(find pkg/client -type f) rm -rf api/sriovnetwork diff --git a/main.go b/main.go index 7195c59c3..c52564ed3 100644 --- a/main.go +++ b/main.go @@ -45,16 +45,16 @@ import ( "sigs.k8s.io/controller-runtime/pkg/metrics/server" "sigs.k8s.io/controller-runtime/pkg/webhook" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/controllers" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/featuregate" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/leaderelection" - - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - snolog "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/log" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/controllers" + "github.com/togethercomputer/sriov-network-operator/pkg/featuregate" + "github.com/togethercomputer/sriov-network-operator/pkg/leaderelection" + + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + snolog "github.com/togethercomputer/sriov-network-operator/pkg/log" + "github.com/togethercomputer/sriov-network-operator/pkg/platforms" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" //+kubebuilder:scaffold:imports ) diff --git a/pkg/apply/merge.go b/pkg/apply/merge.go index d2ed6d4fb..a14021569 100644 --- a/pkg/apply/merge.go +++ b/pkg/apply/merge.go @@ -7,7 +7,7 @@ import ( uns "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" - constants "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" + constants "github.com/togethercomputer/sriov-network-operator/pkg/consts" ) // MergeMetadataForUpdate merges the read-only fields of metadata. diff --git a/pkg/client/clientset/versioned/clientset.go b/pkg/client/clientset/versioned/clientset.go index 5b09d09c0..0996fc6b4 100644 --- a/pkg/client/clientset/versioned/clientset.go +++ b/pkg/client/clientset/versioned/clientset.go @@ -5,7 +5,7 @@ package versioned import ( "fmt" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned/typed/sriovnetwork/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned/typed/sriovnetwork/v1" discovery "k8s.io/client-go/discovery" rest "k8s.io/client-go/rest" flowcontrol "k8s.io/client-go/util/flowcontrol" diff --git a/pkg/client/clientset/versioned/fake/clientset_generated.go b/pkg/client/clientset/versioned/fake/clientset_generated.go index 5747b4d6a..115865960 100644 --- a/pkg/client/clientset/versioned/fake/clientset_generated.go +++ b/pkg/client/clientset/versioned/fake/clientset_generated.go @@ -3,9 +3,9 @@ package fake import ( - clientset "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned/typed/sriovnetwork/v1" - fakesriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake" + clientset "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned/typed/sriovnetwork/v1" + fakesriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/discovery" diff --git a/pkg/client/clientset/versioned/fake/register.go b/pkg/client/clientset/versioned/fake/register.go index 60ee7df8f..4c8f6156f 100644 --- a/pkg/client/clientset/versioned/fake/register.go +++ b/pkg/client/clientset/versioned/fake/register.go @@ -3,7 +3,7 @@ package fake import ( - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/client/clientset/versioned/scheme/register.go b/pkg/client/clientset/versioned/scheme/register.go index 7ac435d5c..e82832994 100644 --- a/pkg/client/clientset/versioned/scheme/register.go +++ b/pkg/client/clientset/versioned/scheme/register.go @@ -3,7 +3,7 @@ package scheme import ( - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovnetwork.go b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovnetwork.go index 7c42e8a3f..f08b934cf 100644 --- a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovnetwork.go +++ b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovnetwork.go @@ -5,7 +5,7 @@ package fake import ( "context" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovnetwork_client.go b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovnetwork_client.go index a917e895f..a7189effd 100644 --- a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovnetwork_client.go +++ b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovnetwork_client.go @@ -3,7 +3,7 @@ package fake import ( - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned/typed/sriovnetwork/v1" + v1 "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned/typed/sriovnetwork/v1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovnetworknodepolicy.go b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovnetworknodepolicy.go index ab3628f34..131aed215 100644 --- a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovnetworknodepolicy.go +++ b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovnetworknodepolicy.go @@ -5,7 +5,7 @@ package fake import ( "context" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovnetworknodestate.go b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovnetworknodestate.go index 96491cd48..055f3ef9c 100644 --- a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovnetworknodestate.go +++ b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovnetworknodestate.go @@ -5,7 +5,7 @@ package fake import ( "context" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovoperatorconfig.go b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovoperatorconfig.go index 5f2fb696a..9ec268dca 100644 --- a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovoperatorconfig.go +++ b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/fake/fake_sriovoperatorconfig.go @@ -5,7 +5,7 @@ package fake import ( "context" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovnetwork.go b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovnetwork.go index 472c83e0c..c8a182876 100644 --- a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovnetwork.go +++ b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovnetwork.go @@ -6,8 +6,8 @@ import ( "context" "time" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - scheme "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned/scheme" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" + scheme "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovnetwork_client.go b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovnetwork_client.go index 11444b70c..21594e1d7 100644 --- a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovnetwork_client.go +++ b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovnetwork_client.go @@ -3,8 +3,8 @@ package v1 import ( - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned/scheme" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned/scheme" rest "k8s.io/client-go/rest" ) diff --git a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovnetworknodepolicy.go b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovnetworknodepolicy.go index 9feb9606d..6a80e742b 100644 --- a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovnetworknodepolicy.go +++ b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovnetworknodepolicy.go @@ -6,8 +6,8 @@ import ( "context" "time" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - scheme "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned/scheme" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" + scheme "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovnetworknodestate.go b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovnetworknodestate.go index c41c0e306..d61890ad5 100644 --- a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovnetworknodestate.go +++ b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovnetworknodestate.go @@ -6,8 +6,8 @@ import ( "context" "time" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - scheme "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned/scheme" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" + scheme "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovoperatorconfig.go b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovoperatorconfig.go index 4e8b89c1b..f47f4f9e2 100644 --- a/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovoperatorconfig.go +++ b/pkg/client/clientset/versioned/typed/sriovnetwork/v1/sriovoperatorconfig.go @@ -6,8 +6,8 @@ import ( "context" "time" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - scheme "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned/scheme" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" + scheme "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned/scheme" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/informers/externalversions/factory.go b/pkg/client/informers/externalversions/factory.go index 57c769d43..8d32fbf85 100644 --- a/pkg/client/informers/externalversions/factory.go +++ b/pkg/client/informers/externalversions/factory.go @@ -12,9 +12,9 @@ import ( schema "k8s.io/apimachinery/pkg/runtime/schema" cache "k8s.io/client-go/tools/cache" - versioned "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned" - internalinterfaces "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/informers/externalversions/internalinterfaces" - sriovnetwork "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/informers/externalversions/sriovnetwork" + versioned "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned" + internalinterfaces "github.com/togethercomputer/sriov-network-operator/pkg/client/informers/externalversions/internalinterfaces" + sriovnetwork "github.com/togethercomputer/sriov-network-operator/pkg/client/informers/externalversions/sriovnetwork" ) // SharedInformerOption defines the functional option type for SharedInformerFactory. diff --git a/pkg/client/informers/externalversions/generic.go b/pkg/client/informers/externalversions/generic.go index f225f0d75..f84f5bcc0 100644 --- a/pkg/client/informers/externalversions/generic.go +++ b/pkg/client/informers/externalversions/generic.go @@ -8,7 +8,7 @@ import ( schema "k8s.io/apimachinery/pkg/runtime/schema" cache "k8s.io/client-go/tools/cache" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) // GenericInformer is type of SharedIndexInformer which will locate and delegate to other diff --git a/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go index 87fe71c3c..422f7befa 100644 --- a/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -9,7 +9,7 @@ import ( runtime "k8s.io/apimachinery/pkg/runtime" cache "k8s.io/client-go/tools/cache" - versioned "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned" + versioned "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned" ) // NewInformerFunc takes versioned.Interface and time.Duration to return a SharedIndexInformer. diff --git a/pkg/client/informers/externalversions/sriovnetwork/interface.go b/pkg/client/informers/externalversions/sriovnetwork/interface.go index 5eaaab532..0f55008fa 100644 --- a/pkg/client/informers/externalversions/sriovnetwork/interface.go +++ b/pkg/client/informers/externalversions/sriovnetwork/interface.go @@ -3,8 +3,8 @@ package sriovnetwork import ( - internalinterfaces "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/informers/externalversions/sriovnetwork/v1" + internalinterfaces "github.com/togethercomputer/sriov-network-operator/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/togethercomputer/sriov-network-operator/pkg/client/informers/externalversions/sriovnetwork/v1" ) // Interface provides access to each of this group's versions. diff --git a/pkg/client/informers/externalversions/sriovnetwork/v1/interface.go b/pkg/client/informers/externalversions/sriovnetwork/v1/interface.go index 396adb52f..42ba2c229 100644 --- a/pkg/client/informers/externalversions/sriovnetwork/v1/interface.go +++ b/pkg/client/informers/externalversions/sriovnetwork/v1/interface.go @@ -3,7 +3,7 @@ package v1 import ( - internalinterfaces "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/togethercomputer/sriov-network-operator/pkg/client/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/client/informers/externalversions/sriovnetwork/v1/sriovnetwork.go b/pkg/client/informers/externalversions/sriovnetwork/v1/sriovnetwork.go index f5bed4a9a..c4597cc53 100644 --- a/pkg/client/informers/externalversions/sriovnetwork/v1/sriovnetwork.go +++ b/pkg/client/informers/externalversions/sriovnetwork/v1/sriovnetwork.go @@ -11,10 +11,10 @@ import ( watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - versioned "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned" - internalinterfaces "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/listers/sriovnetwork/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + versioned "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned" + internalinterfaces "github.com/togethercomputer/sriov-network-operator/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/togethercomputer/sriov-network-operator/pkg/client/listers/sriovnetwork/v1" ) // SriovNetworkInformer provides access to a shared informer and lister for diff --git a/pkg/client/informers/externalversions/sriovnetwork/v1/sriovnetworknodepolicy.go b/pkg/client/informers/externalversions/sriovnetwork/v1/sriovnetworknodepolicy.go index df6879ee9..a2dbf5b7d 100644 --- a/pkg/client/informers/externalversions/sriovnetwork/v1/sriovnetworknodepolicy.go +++ b/pkg/client/informers/externalversions/sriovnetwork/v1/sriovnetworknodepolicy.go @@ -11,10 +11,10 @@ import ( watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - versioned "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned" - internalinterfaces "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/listers/sriovnetwork/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + versioned "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned" + internalinterfaces "github.com/togethercomputer/sriov-network-operator/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/togethercomputer/sriov-network-operator/pkg/client/listers/sriovnetwork/v1" ) // SriovNetworkNodePolicyInformer provides access to a shared informer and lister for diff --git a/pkg/client/informers/externalversions/sriovnetwork/v1/sriovnetworknodestate.go b/pkg/client/informers/externalversions/sriovnetwork/v1/sriovnetworknodestate.go index 69f5d0b69..5532f5d19 100644 --- a/pkg/client/informers/externalversions/sriovnetwork/v1/sriovnetworknodestate.go +++ b/pkg/client/informers/externalversions/sriovnetwork/v1/sriovnetworknodestate.go @@ -11,10 +11,10 @@ import ( watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - versioned "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned" - internalinterfaces "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/listers/sriovnetwork/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + versioned "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned" + internalinterfaces "github.com/togethercomputer/sriov-network-operator/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/togethercomputer/sriov-network-operator/pkg/client/listers/sriovnetwork/v1" ) // SriovNetworkNodeStateInformer provides access to a shared informer and lister for diff --git a/pkg/client/informers/externalversions/sriovnetwork/v1/sriovoperatorconfig.go b/pkg/client/informers/externalversions/sriovnetwork/v1/sriovoperatorconfig.go index 142f261e2..eec8e016c 100644 --- a/pkg/client/informers/externalversions/sriovnetwork/v1/sriovoperatorconfig.go +++ b/pkg/client/informers/externalversions/sriovnetwork/v1/sriovoperatorconfig.go @@ -11,10 +11,10 @@ import ( watch "k8s.io/apimachinery/pkg/watch" cache "k8s.io/client-go/tools/cache" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - versioned "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned" - internalinterfaces "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/informers/externalversions/internalinterfaces" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/listers/sriovnetwork/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + versioned "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned" + internalinterfaces "github.com/togethercomputer/sriov-network-operator/pkg/client/informers/externalversions/internalinterfaces" + v1 "github.com/togethercomputer/sriov-network-operator/pkg/client/listers/sriovnetwork/v1" ) // SriovOperatorConfigInformer provides access to a shared informer and lister for diff --git a/pkg/client/listers/sriovnetwork/v1/sriovnetwork.go b/pkg/client/listers/sriovnetwork/v1/sriovnetwork.go index a0eebb626..46aff5719 100644 --- a/pkg/client/listers/sriovnetwork/v1/sriovnetwork.go +++ b/pkg/client/listers/sriovnetwork/v1/sriovnetwork.go @@ -7,7 +7,7 @@ import ( "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) // SriovNetworkLister helps list SriovNetworks. diff --git a/pkg/client/listers/sriovnetwork/v1/sriovnetworknodepolicy.go b/pkg/client/listers/sriovnetwork/v1/sriovnetworknodepolicy.go index 8e81010a9..8ad51d5ba 100644 --- a/pkg/client/listers/sriovnetwork/v1/sriovnetworknodepolicy.go +++ b/pkg/client/listers/sriovnetwork/v1/sriovnetworknodepolicy.go @@ -7,7 +7,7 @@ import ( "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) // SriovNetworkNodePolicyLister helps list SriovNetworkNodePolicies. diff --git a/pkg/client/listers/sriovnetwork/v1/sriovnetworknodestate.go b/pkg/client/listers/sriovnetwork/v1/sriovnetworknodestate.go index efc53d6ee..1a485ad4c 100644 --- a/pkg/client/listers/sriovnetwork/v1/sriovnetworknodestate.go +++ b/pkg/client/listers/sriovnetwork/v1/sriovnetworknodestate.go @@ -7,7 +7,7 @@ import ( "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) // SriovNetworkNodeStateLister helps list SriovNetworkNodeStates. diff --git a/pkg/client/listers/sriovnetwork/v1/sriovoperatorconfig.go b/pkg/client/listers/sriovnetwork/v1/sriovoperatorconfig.go index 9bad2022a..e81d83ba6 100644 --- a/pkg/client/listers/sriovnetwork/v1/sriovoperatorconfig.go +++ b/pkg/client/listers/sriovnetwork/v1/sriovoperatorconfig.go @@ -7,7 +7,7 @@ import ( "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) // SriovOperatorConfigLister helps list SriovOperatorConfigs. diff --git a/pkg/daemon/daemon.go b/pkg/daemon/daemon.go index 5ed31ff85..849e20c62 100644 --- a/pkg/daemon/daemon.go +++ b/pkg/daemon/daemon.go @@ -20,18 +20,18 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - snclientset "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned" - sninformer "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/informers/externalversions" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/featuregate" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper" - snolog "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/log" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms" - plugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/systemd" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + snclientset "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned" + sninformer "github.com/togethercomputer/sriov-network-operator/pkg/client/informers/externalversions" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/featuregate" + "github.com/togethercomputer/sriov-network-operator/pkg/helper" + snolog "github.com/togethercomputer/sriov-network-operator/pkg/log" + "github.com/togethercomputer/sriov-network-operator/pkg/platforms" + plugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins" + "github.com/togethercomputer/sriov-network-operator/pkg/systemd" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) const ( diff --git a/pkg/daemon/daemon_test.go b/pkg/daemon/daemon_test.go index f1111810a..e55bcb4cd 100644 --- a/pkg/daemon/daemon_test.go +++ b/pkg/daemon/daemon_test.go @@ -17,19 +17,19 @@ import ( logf "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/log/zap" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - snclient "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned" - snclientset "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned/fake" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/featuregate" - mock_helper "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper/mock" - mock_platforms "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms/mock" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms/openshift" - plugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins/fake" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins/generic" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/fakefilesystem" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + snclient "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned" + snclientset "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned/fake" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/featuregate" + mock_helper "github.com/togethercomputer/sriov-network-operator/pkg/helper/mock" + mock_platforms "github.com/togethercomputer/sriov-network-operator/pkg/platforms/mock" + "github.com/togethercomputer/sriov-network-operator/pkg/platforms/openshift" + plugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins" + "github.com/togethercomputer/sriov-network-operator/pkg/plugins/fake" + "github.com/togethercomputer/sriov-network-operator/pkg/plugins/generic" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" + "github.com/togethercomputer/sriov-network-operator/test/util/fakefilesystem" ) func TestConfigDaemon(t *testing.T) { diff --git a/pkg/daemon/event_recorder.go b/pkg/daemon/event_recorder.go index 25b2d2351..e3de7a21f 100644 --- a/pkg/daemon/event_recorder.go +++ b/pkg/daemon/event_recorder.go @@ -11,8 +11,8 @@ import ( "k8s.io/client-go/tools/record" "sigs.k8s.io/controller-runtime/pkg/log" - snclientset "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + snclientset "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) type EventRecorder struct { diff --git a/pkg/daemon/plugin.go b/pkg/daemon/plugin.go index d0df619b6..a1b437b3e 100644 --- a/pkg/daemon/plugin.go +++ b/pkg/daemon/plugin.go @@ -5,16 +5,16 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper" - plugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins" - genericplugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins/generic" - intelplugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins/intel" - k8splugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins/k8s" - mellanoxplugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins/mellanox" - virtualplugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins/virtual" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/helper" + plugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins" + genericplugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins/generic" + intelplugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins/intel" + k8splugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins/k8s" + mellanoxplugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins/mellanox" + virtualplugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins/virtual" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) var VendorPluginMap = map[string]func(helpers helper.HostHelpersInterface) (plugin.VendorPlugin, error){ diff --git a/pkg/daemon/plugin_test.go b/pkg/daemon/plugin_test.go index a13fc1f8b..f80aae111 100644 --- a/pkg/daemon/plugin_test.go +++ b/pkg/daemon/plugin_test.go @@ -5,13 +5,13 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper" - helperMocks "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper/mock" - plugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins" - fakePlugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins/fake" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/helper" + helperMocks "github.com/togethercomputer/sriov-network-operator/pkg/helper/mock" + plugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins" + fakePlugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins/fake" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) func validateVendorPlugins(loadedPlugins map[string]plugin.VendorPlugin, expectedPlugins []string) { diff --git a/pkg/daemon/writer.go b/pkg/daemon/writer.go index 09d06d8f9..7acbef75c 100644 --- a/pkg/daemon/writer.go +++ b/pkg/daemon/writer.go @@ -14,12 +14,12 @@ import ( "k8s.io/client-go/util/retry" "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - snclientset "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + snclientset "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/helper" + "github.com/togethercomputer/sriov-network-operator/pkg/platforms" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) const ( diff --git a/pkg/drain/drainer.go b/pkg/drain/drainer.go index a3500dc47..77be91dbe 100644 --- a/pkg/drain/drainer.go +++ b/pkg/drain/drainer.go @@ -12,9 +12,9 @@ import ( "k8s.io/kubectl/pkg/drain" "sigs.k8s.io/controller-runtime/pkg/log" - constants "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + constants "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/platforms" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) // writer implements io.Writer interface as a pass-through for log.Log. diff --git a/pkg/helper/host.go b/pkg/helper/host.go index 2e93a30d3..fd4265f44 100644 --- a/pkg/helper/host.go +++ b/pkg/helper/host.go @@ -3,10 +3,10 @@ package helper import ( "sigs.k8s.io/controller-runtime/pkg/log" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/store" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" - mlx "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vendors/mellanox" + "github.com/togethercomputer/sriov-network-operator/pkg/host" + "github.com/togethercomputer/sriov-network-operator/pkg/host/store" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" + mlx "github.com/togethercomputer/sriov-network-operator/pkg/vendors/mellanox" ) //go:generate ../../bin/mockgen -destination mock/mock_helper.go -source host.go diff --git a/pkg/helper/mock/mock_helper.go b/pkg/helper/mock/mock_helper.go index cfca2a768..af37d0a4f 100644 --- a/pkg/helper/mock/mock_helper.go +++ b/pkg/helper/mock/mock_helper.go @@ -8,10 +8,10 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - store "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/store" - types "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" - mlxutils "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vendors/mellanox" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" + store "github.com/togethercomputer/sriov-network-operator/pkg/host/store" + types "github.com/togethercomputer/sriov-network-operator/pkg/host/types" + mlxutils "github.com/togethercomputer/sriov-network-operator/pkg/vendors/mellanox" netlink "github.com/vishvananda/netlink" ) diff --git a/pkg/host/internal/bridge/bridge.go b/pkg/host/internal/bridge/bridge.go index 7ceb8129e..88263a45c 100644 --- a/pkg/host/internal/bridge/bridge.go +++ b/pkg/host/internal/bridge/bridge.go @@ -5,10 +5,10 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/bridge/ovs" - ovsStorePkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/bridge/ovs/store" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/bridge/ovs" + ovsStorePkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/bridge/ovs/store" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" ) type bridge struct { diff --git a/pkg/host/internal/bridge/bridge_test.go b/pkg/host/internal/bridge/bridge_test.go index 072ca27a5..6eea0e3c7 100644 --- a/pkg/host/internal/bridge/bridge_test.go +++ b/pkg/host/internal/bridge/bridge_test.go @@ -8,9 +8,9 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - ovsMockPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/bridge/ovs/mock" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + ovsMockPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/bridge/ovs/mock" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" ) var _ = Describe("Bridge", func() { diff --git a/pkg/host/internal/bridge/ovs/mock/mock_ovs.go b/pkg/host/internal/bridge/ovs/mock/mock_ovs.go index ecd618a0f..64909f448 100644 --- a/pkg/host/internal/bridge/ovs/mock/mock_ovs.go +++ b/pkg/host/internal/bridge/ovs/mock/mock_ovs.go @@ -9,7 +9,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) // MockInterface is a mock of Interface interface. diff --git a/pkg/host/internal/bridge/ovs/ovs.go b/pkg/host/internal/bridge/ovs/ovs.go index 7ad8a3e8c..b2d9f1afd 100644 --- a/pkg/host/internal/bridge/ovs/ovs.go +++ b/pkg/host/internal/bridge/ovs/ovs.go @@ -17,10 +17,10 @@ import ( "github.com/ovn-org/libovsdb/ovsdb" "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - ovsStorePkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/bridge/ovs/store" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + ovsStorePkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/bridge/ovs/store" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) const ( diff --git a/pkg/host/internal/bridge/ovs/ovs_test.go b/pkg/host/internal/bridge/ovs/ovs_test.go index 666fe9218..cf4082b13 100644 --- a/pkg/host/internal/bridge/ovs/ovs_test.go +++ b/pkg/host/internal/bridge/ovs/ovs_test.go @@ -19,11 +19,11 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - ovsStoreMockPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/bridge/ovs/store/mock" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/fakefilesystem" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/helpers" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + ovsStoreMockPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/bridge/ovs/store/mock" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" + "github.com/togethercomputer/sriov-network-operator/test/util/fakefilesystem" + "github.com/togethercomputer/sriov-network-operator/test/util/helpers" ) func getManagedBridges() map[string]*sriovnetworkv1.OVSConfigExt { diff --git a/pkg/host/internal/bridge/ovs/store/mock/mock_store.go b/pkg/host/internal/bridge/ovs/store/mock/mock_store.go index 2f98b96b9..cebbe6fdf 100644 --- a/pkg/host/internal/bridge/ovs/store/mock/mock_store.go +++ b/pkg/host/internal/bridge/ovs/store/mock/mock_store.go @@ -8,7 +8,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) // MockStore is a mock of Store interface. diff --git a/pkg/host/internal/bridge/ovs/store/store.go b/pkg/host/internal/bridge/ovs/store/store.go index 40c759ed0..d0fd576af 100644 --- a/pkg/host/internal/bridge/ovs/store/store.go +++ b/pkg/host/internal/bridge/ovs/store/store.go @@ -10,9 +10,9 @@ import ( "github.com/google/renameio/v2" "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" ) // Store interface provides methods to store and query information diff --git a/pkg/host/internal/bridge/ovs/store/store_test.go b/pkg/host/internal/bridge/ovs/store/store_test.go index 7e4bfb351..d625097c7 100644 --- a/pkg/host/internal/bridge/ovs/store/store_test.go +++ b/pkg/host/internal/bridge/ovs/store/store_test.go @@ -6,10 +6,10 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/fakefilesystem" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/helpers" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/test/util/fakefilesystem" + "github.com/togethercomputer/sriov-network-operator/test/util/helpers" ) func getStore() Store { diff --git a/pkg/host/internal/infiniband/ib_guid_config.go b/pkg/host/internal/infiniband/ib_guid_config.go index 261b40b5e..3af9c666f 100644 --- a/pkg/host/internal/infiniband/ib_guid_config.go +++ b/pkg/host/internal/infiniband/ib_guid_config.go @@ -5,9 +5,9 @@ import ( "fmt" "os" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/netlink" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/netlink" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" ) type ibPfGUIDJSONConfig struct { diff --git a/pkg/host/internal/infiniband/ib_guid_config_test.go b/pkg/host/internal/infiniband/ib_guid_config_test.go index 63f6b1683..6f33c19e3 100644 --- a/pkg/host/internal/infiniband/ib_guid_config_test.go +++ b/pkg/host/internal/infiniband/ib_guid_config_test.go @@ -8,12 +8,12 @@ import ( . "github.com/onsi/gomega" "github.com/vishvananda/netlink" - netlinkLibPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/netlink" - netlinkMockPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/netlink/mock" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/network" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/fakefilesystem" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/helpers" + netlinkLibPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/netlink" + netlinkMockPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/netlink/mock" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/network" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" + "github.com/togethercomputer/sriov-network-operator/test/util/fakefilesystem" + "github.com/togethercomputer/sriov-network-operator/test/util/helpers" ) var _ = Describe("IbGuidConfig", func() { diff --git a/pkg/host/internal/infiniband/ib_guid_pool.go b/pkg/host/internal/infiniband/ib_guid_pool.go index fa0b52528..fcc973072 100644 --- a/pkg/host/internal/infiniband/ib_guid_pool.go +++ b/pkg/host/internal/infiniband/ib_guid_pool.go @@ -4,8 +4,8 @@ import ( "fmt" "net" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/netlink" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/netlink" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" ) // ibGUIDPool is an interface that returns the GUID, allocated for a specific VF id of the specific PF diff --git a/pkg/host/internal/infiniband/ib_guid_pool_test.go b/pkg/host/internal/infiniband/ib_guid_pool_test.go index 86878d21a..02b1c51f4 100644 --- a/pkg/host/internal/infiniband/ib_guid_pool_test.go +++ b/pkg/host/internal/infiniband/ib_guid_pool_test.go @@ -5,11 +5,11 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - netlinkLibPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/netlink" - netlinkMockPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/netlink/mock" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/network" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/fakefilesystem" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/helpers" + netlinkLibPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/netlink" + netlinkMockPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/netlink/mock" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/network" + "github.com/togethercomputer/sriov-network-operator/test/util/fakefilesystem" + "github.com/togethercomputer/sriov-network-operator/test/util/helpers" ) var _ = Describe("ibGUIDPool", Ordered, func() { diff --git a/pkg/host/internal/infiniband/infiniband.go b/pkg/host/internal/infiniband/infiniband.go index f54957bc3..7f9dea279 100644 --- a/pkg/host/internal/infiniband/infiniband.go +++ b/pkg/host/internal/infiniband/infiniband.go @@ -9,9 +9,9 @@ import ( "github.com/vishvananda/netlink" "sigs.k8s.io/controller-runtime/pkg/log" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - netlinkLibPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/netlink" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + netlinkLibPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/netlink" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" ) // New creates and returns an InfinibandInterface object, that handles IB VF GUID configuration diff --git a/pkg/host/internal/infiniband/infiniband_test.go b/pkg/host/internal/infiniband/infiniband_test.go index 58b3a8fec..1379eb267 100644 --- a/pkg/host/internal/infiniband/infiniband_test.go +++ b/pkg/host/internal/infiniband/infiniband_test.go @@ -7,12 +7,12 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - netlinkLibPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/netlink" - netlinkMockPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/netlink/mock" - hostMockPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/mock" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/fakefilesystem" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/helpers" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + netlinkLibPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/netlink" + netlinkMockPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/netlink/mock" + hostMockPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/mock" + "github.com/togethercomputer/sriov-network-operator/test/util/fakefilesystem" + "github.com/togethercomputer/sriov-network-operator/test/util/helpers" ) var _ = Describe("infiniband interface implementation", func() { diff --git a/pkg/host/internal/kernel/kernel.go b/pkg/host/internal/kernel/kernel.go index 95a5c44a5..861e310f1 100644 --- a/pkg/host/internal/kernel/kernel.go +++ b/pkg/host/internal/kernel/kernel.go @@ -9,11 +9,11 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) type kernel struct { diff --git a/pkg/host/internal/kernel/kernel_test.go b/pkg/host/internal/kernel/kernel_test.go index c6aef5cb6..feb05cac6 100644 --- a/pkg/host/internal/kernel/kernel_test.go +++ b/pkg/host/internal/kernel/kernel_test.go @@ -4,11 +4,11 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/fakefilesystem" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/helpers" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/test/util/fakefilesystem" + "github.com/togethercomputer/sriov-network-operator/test/util/helpers" ) var _ = Describe("Kernel", func() { diff --git a/pkg/host/internal/lib/ghw/mock/mock_ghw.go b/pkg/host/internal/lib/ghw/mock/mock_ghw.go index 2e2b4b5c5..a71b631ef 100644 --- a/pkg/host/internal/lib/ghw/mock/mock_ghw.go +++ b/pkg/host/internal/lib/ghw/mock/mock_ghw.go @@ -9,7 +9,7 @@ import ( gomock "github.com/golang/mock/gomock" ghw "github.com/jaypipes/ghw" - ghw0 "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/ghw" + ghw0 "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/ghw" ) // MockGHWLib is a mock of GHWLib interface. diff --git a/pkg/host/internal/lib/netlink/mock/mock_netlink.go b/pkg/host/internal/lib/netlink/mock/mock_netlink.go index 5b3bcc790..e7b202572 100644 --- a/pkg/host/internal/lib/netlink/mock/mock_netlink.go +++ b/pkg/host/internal/lib/netlink/mock/mock_netlink.go @@ -9,7 +9,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - netlink "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/netlink" + netlink "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/netlink" netlink0 "github.com/vishvananda/netlink" ) diff --git a/pkg/host/internal/network/network.go b/pkg/host/internal/network/network.go index b3014f9e9..a045c6384 100644 --- a/pkg/host/internal/network/network.go +++ b/pkg/host/internal/network/network.go @@ -14,13 +14,13 @@ import ( "github.com/vishvananda/netlink/nl" "sigs.k8s.io/controller-runtime/pkg/log" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - dputilsPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/dputils" - ethtoolPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/ethtool" - netlinkPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/netlink" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + dputilsPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/dputils" + ethtoolPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/ethtool" + netlinkPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/netlink" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) type network struct { diff --git a/pkg/host/internal/network/network_test.go b/pkg/host/internal/network/network_test.go index 19eb3f438..2d13dc75c 100644 --- a/pkg/host/internal/network/network_test.go +++ b/pkg/host/internal/network/network_test.go @@ -10,13 +10,13 @@ import ( "github.com/golang/mock/gomock" - hostMockPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper/mock" - dputilsMockPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/dputils/mock" - ethtoolMockPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/ethtool/mock" - netlinkMockPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/netlink/mock" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/fakefilesystem" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/helpers" + hostMockPkg "github.com/togethercomputer/sriov-network-operator/pkg/helper/mock" + dputilsMockPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/dputils/mock" + ethtoolMockPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/ethtool/mock" + netlinkMockPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/netlink/mock" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" + "github.com/togethercomputer/sriov-network-operator/test/util/fakefilesystem" + "github.com/togethercomputer/sriov-network-operator/test/util/helpers" ) func getDevlinkParam(t uint8, value interface{}) *netlink.DevlinkParam { diff --git a/pkg/host/internal/service/service.go b/pkg/host/internal/service/service.go index c8705068a..fa15e33b9 100644 --- a/pkg/host/internal/service/service.go +++ b/pkg/host/internal/service/service.go @@ -12,9 +12,9 @@ import ( "gopkg.in/yaml.v3" "sigs.k8s.io/controller-runtime/pkg/log" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" ) // TODO: handle this to support unit-tests diff --git a/pkg/host/internal/sriov/sriov.go b/pkg/host/internal/sriov/sriov.go index 379cf6a70..0f650e4f0 100644 --- a/pkg/host/internal/sriov/sriov.go +++ b/pkg/host/internal/sriov/sriov.go @@ -15,16 +15,16 @@ import ( "k8s.io/apimachinery/pkg/util/wait" "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - dputilsPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/dputils" - ghwPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/ghw" - netlinkPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/netlink" - sriovnetPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/sriovnet" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/store" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + dputilsPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/dputils" + ghwPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/ghw" + netlinkPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/netlink" + sriovnetPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/sriovnet" + "github.com/togethercomputer/sriov-network-operator/pkg/host/store" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) type interfaceToConfigure struct { diff --git a/pkg/host/internal/sriov/sriov_test.go b/pkg/host/internal/sriov/sriov_test.go index f30e93773..dfe3362d5 100644 --- a/pkg/host/internal/sriov/sriov_test.go +++ b/pkg/host/internal/sriov/sriov_test.go @@ -14,16 +14,16 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - dputilsMockPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/dputils/mock" - ghwMockPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/ghw/mock" - netlinkMockPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/netlink/mock" - sriovnetMockPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/sriovnet/mock" - hostMockPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/mock" - hostStoreMockPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/store/mock" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/fakefilesystem" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/helpers" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + dputilsMockPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/dputils/mock" + ghwMockPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/ghw/mock" + netlinkMockPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/netlink/mock" + sriovnetMockPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/sriovnet/mock" + hostMockPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/mock" + hostStoreMockPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/store/mock" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" + "github.com/togethercomputer/sriov-network-operator/test/util/fakefilesystem" + "github.com/togethercomputer/sriov-network-operator/test/util/helpers" ) var _ = Describe("SRIOV", func() { diff --git a/pkg/host/internal/udev/suite_test.go b/pkg/host/internal/udev/suite_test.go index 34a8820cf..4d8648d21 100644 --- a/pkg/host/internal/udev/suite_test.go +++ b/pkg/host/internal/udev/suite_test.go @@ -10,7 +10,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/log/zap" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) func TestUdev(t *testing.T) { diff --git a/pkg/host/internal/udev/udev.go b/pkg/host/internal/udev/udev.go index 3f828bb70..4e4e5c2cf 100644 --- a/pkg/host/internal/udev/udev.go +++ b/pkg/host/internal/udev/udev.go @@ -9,10 +9,10 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) type udev struct { diff --git a/pkg/host/internal/udev/udev_test.go b/pkg/host/internal/udev/udev_test.go index 4a2e17e7e..0de7944ba 100644 --- a/pkg/host/internal/udev/udev_test.go +++ b/pkg/host/internal/udev/udev_test.go @@ -10,11 +10,11 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" - utilsMockPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils/mock" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/fakefilesystem" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/helpers" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" + utilsMockPkg "github.com/togethercomputer/sriov-network-operator/pkg/utils/mock" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" + "github.com/togethercomputer/sriov-network-operator/test/util/fakefilesystem" + "github.com/togethercomputer/sriov-network-operator/test/util/helpers" ) const ( diff --git a/pkg/host/internal/vdpa/vdpa.go b/pkg/host/internal/vdpa/vdpa.go index 4a41c63d1..41b53fe05 100644 --- a/pkg/host/internal/vdpa/vdpa.go +++ b/pkg/host/internal/vdpa/vdpa.go @@ -8,9 +8,9 @@ import ( "github.com/vishvananda/netlink" "sigs.k8s.io/controller-runtime/pkg/log" - constants "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - netlinkLibPkg "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/netlink" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" + constants "github.com/togethercomputer/sriov-network-operator/pkg/consts" + netlinkLibPkg "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/netlink" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" ) const ( diff --git a/pkg/host/internal/vdpa/vdpa_test.go b/pkg/host/internal/vdpa/vdpa_test.go index d58bf0b97..180a1fe25 100644 --- a/pkg/host/internal/vdpa/vdpa_test.go +++ b/pkg/host/internal/vdpa/vdpa_test.go @@ -10,11 +10,11 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - constants "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - netlinkMock "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/netlink/mock" - hostMock "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/mock" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + constants "github.com/togethercomputer/sriov-network-operator/pkg/consts" + netlinkMock "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/netlink/mock" + hostMock "github.com/togethercomputer/sriov-network-operator/pkg/host/mock" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" ) var _ = Describe("VDPA", func() { diff --git a/pkg/host/manager.go b/pkg/host/manager.go index 02a77a659..c0a20c98c 100644 --- a/pkg/host/manager.go +++ b/pkg/host/manager.go @@ -1,21 +1,21 @@ package host import ( - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/bridge" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/infiniband" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/kernel" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/dputils" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/ethtool" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/ghw" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/netlink" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/lib/sriovnet" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/network" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/service" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/sriov" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/udev" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/internal/vdpa" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/bridge" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/infiniband" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/kernel" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/dputils" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/ethtool" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/ghw" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/netlink" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/lib/sriovnet" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/network" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/service" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/sriov" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/udev" + "github.com/togethercomputer/sriov-network-operator/pkg/host/internal/vdpa" + "github.com/togethercomputer/sriov-network-operator/pkg/host/types" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" ) // Contains all the host manipulation functions diff --git a/pkg/host/mock/mock_host.go b/pkg/host/mock/mock_host.go index cb4d1480a..9b89d53ff 100644 --- a/pkg/host/mock/mock_host.go +++ b/pkg/host/mock/mock_host.go @@ -8,9 +8,9 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - store "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/store" - types "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" + store "github.com/togethercomputer/sriov-network-operator/pkg/host/store" + types "github.com/togethercomputer/sriov-network-operator/pkg/host/types" netlink "github.com/vishvananda/netlink" ) diff --git a/pkg/host/store/mock/mock_store.go b/pkg/host/store/mock/mock_store.go index d405543a2..d59523766 100644 --- a/pkg/host/store/mock/mock_store.go +++ b/pkg/host/store/mock/mock_store.go @@ -8,7 +8,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) // MockManagerInterface is a mock of ManagerInterface interface. diff --git a/pkg/host/store/store.go b/pkg/host/store/store.go index 67c0b17e3..05272bd5c 100644 --- a/pkg/host/store/store.go +++ b/pkg/host/store/store.go @@ -8,10 +8,10 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) // Contains all the file storing on the host diff --git a/pkg/host/types/interfaces.go b/pkg/host/types/interfaces.go index 5918dca34..f5b68e423 100644 --- a/pkg/host/types/interfaces.go +++ b/pkg/host/types/interfaces.go @@ -3,8 +3,8 @@ package types import ( "github.com/vishvananda/netlink" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/store" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/host/store" ) type KernelInterface interface { diff --git a/pkg/leaderelection/leaderelection.go b/pkg/leaderelection/leaderelection.go index ff7570c3b..c6a312c4a 100644 --- a/pkg/leaderelection/leaderelection.go +++ b/pkg/leaderelection/leaderelection.go @@ -7,7 +7,7 @@ import ( "sigs.k8s.io/controller-runtime/pkg/client" "sigs.k8s.io/controller-runtime/pkg/log" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" ) const ( diff --git a/pkg/platforms/mock/mock_platforms.go b/pkg/platforms/mock/mock_platforms.go index 4218ad045..a01ed6c38 100644 --- a/pkg/platforms/mock/mock_platforms.go +++ b/pkg/platforms/mock/mock_platforms.go @@ -9,9 +9,9 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - openshift "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms/openshift" v10 "github.com/openshift/machine-config-operator/pkg/apis/machineconfiguration.openshift.io/v1" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" + openshift "github.com/togethercomputer/sriov-network-operator/pkg/platforms/openshift" v11 "k8s.io/api/core/v1" ) diff --git a/pkg/platforms/openshift/mock/mock_openshift.go b/pkg/platforms/openshift/mock/mock_openshift.go index 4bafa8ee5..ef270dc88 100644 --- a/pkg/platforms/openshift/mock/mock_openshift.go +++ b/pkg/platforms/openshift/mock/mock_openshift.go @@ -9,8 +9,8 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - openshift "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms/openshift" v1 "github.com/openshift/machine-config-operator/pkg/apis/machineconfiguration.openshift.io/v1" + openshift "github.com/togethercomputer/sriov-network-operator/pkg/platforms/openshift" v10 "k8s.io/api/core/v1" ) diff --git a/pkg/platforms/openshift/openshift.go b/pkg/platforms/openshift/openshift.go index 3f7d3421c..b6a8c6e97 100644 --- a/pkg/platforms/openshift/openshift.go +++ b/pkg/platforms/openshift/openshift.go @@ -14,9 +14,9 @@ import ( mcv1 "github.com/openshift/machine-config-operator/pkg/apis/machineconfiguration.openshift.io/v1" mcoconsts "github.com/openshift/machine-config-operator/pkg/daemon/constants" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) // OpenshiftFlavor holds metadata about the type of Openshift environment the operator is in. diff --git a/pkg/platforms/openstack/mock/mock_openstack.go b/pkg/platforms/openstack/mock/mock_openstack.go index 9ef989297..d26da4847 100644 --- a/pkg/platforms/openstack/mock/mock_openstack.go +++ b/pkg/platforms/openstack/mock/mock_openstack.go @@ -8,7 +8,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) // MockOpenstackInterface is a mock of OpenstackInterface interface. diff --git a/pkg/platforms/openstack/openstack.go b/pkg/platforms/openstack/openstack.go index 94a9ae433..4ccc3803a 100644 --- a/pkg/platforms/openstack/openstack.go +++ b/pkg/platforms/openstack/openstack.go @@ -15,9 +15,9 @@ import ( dputils "github.com/k8snetworkplumbingwg/sriov-network-device-plugin/pkg/utils" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/host" ) const ( diff --git a/pkg/platforms/platforms.go b/pkg/platforms/platforms.go index 3320dbaac..1b8d5df9e 100644 --- a/pkg/platforms/platforms.go +++ b/pkg/platforms/platforms.go @@ -3,10 +3,10 @@ package platforms import ( "sigs.k8s.io/controller-runtime/pkg/log" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms/openshift" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/platforms/openstack" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/host" + "github.com/togethercomputer/sriov-network-operator/pkg/platforms/openshift" + "github.com/togethercomputer/sriov-network-operator/pkg/platforms/openstack" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" ) //go:generate ../../bin/mockgen -destination mock/mock_platforms.go -source platforms.go diff --git a/pkg/plugins/fake/fake_plugin.go b/pkg/plugins/fake/fake_plugin.go index 0aa218f28..f0e03a699 100644 --- a/pkg/plugins/fake/fake_plugin.go +++ b/pkg/plugins/fake/fake_plugin.go @@ -1,7 +1,7 @@ package fake import ( - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) // This plugin is used in Daemon unit tests diff --git a/pkg/plugins/generic/generic_plugin.go b/pkg/plugins/generic/generic_plugin.go index 14b1903e5..c5e1aab25 100644 --- a/pkg/plugins/generic/generic_plugin.go +++ b/pkg/plugins/generic/generic_plugin.go @@ -10,12 +10,12 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper" - plugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/helper" + plugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) var PluginName = "generic" @@ -156,7 +156,7 @@ func (p *GenericPlugin) CheckStatusChanges(current *sriovnetworkv1.SriovNetworkN for _, iface := range current.Spec.Interfaces { found := false for _, ifaceStatus := range current.Status.Interfaces { - // TODO: remove the check for ExternallyManaged - https://github.com/k8snetworkplumbingwg/sriov-network-operator/issues/632 + // TODO: remove the check for ExternallyManaged - https://github.com/togethercomputer/sriov-network-operator/issues/632 if iface.PciAddress == ifaceStatus.PciAddress && !iface.ExternallyManaged { found = true if sriovnetworkv1.NeedToUpdateSriov(&iface, &ifaceStatus) { diff --git a/pkg/plugins/generic/generic_plugin_test.go b/pkg/plugins/generic/generic_plugin_test.go index 0d6701a64..0c068004d 100644 --- a/pkg/plugins/generic/generic_plugin_test.go +++ b/pkg/plugins/generic/generic_plugin_test.go @@ -7,11 +7,11 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - mock_helper "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper/mock" - plugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + mock_helper "github.com/togethercomputer/sriov-network-operator/pkg/helper/mock" + plugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) func TestGenericPlugin(t *testing.T) { diff --git a/pkg/plugins/intel/intel_plugin.go b/pkg/plugins/intel/intel_plugin.go index e88a186c9..141f8a54d 100644 --- a/pkg/plugins/intel/intel_plugin.go +++ b/pkg/plugins/intel/intel_plugin.go @@ -3,9 +3,9 @@ package intel import ( "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper" - plugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/helper" + plugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins" ) var PluginName = "intel" diff --git a/pkg/plugins/k8s/k8s_plugin.go b/pkg/plugins/k8s/k8s_plugin.go index 1a0336049..9115630c2 100644 --- a/pkg/plugins/k8s/k8s_plugin.go +++ b/pkg/plugins/k8s/k8s_plugin.go @@ -5,12 +5,12 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper" - hostTypes "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" - plugins "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/helper" + hostTypes "github.com/togethercomputer/sriov-network-operator/pkg/host/types" + plugins "github.com/togethercomputer/sriov-network-operator/pkg/plugins" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) var PluginName = "k8s" @@ -154,7 +154,7 @@ func (p *K8sPlugin) OnNodeStateChange(new *sriovnetworkv1.SriovNetworkNodeState) return } -// TODO: implement - https://github.com/k8snetworkplumbingwg/sriov-network-operator/issues/630 +// TODO: implement - https://github.com/togethercomputer/sriov-network-operator/issues/630 // OnNodeStatusChange verify whether SriovNetworkNodeState CR status present changes on configured VFs. func (p *K8sPlugin) CheckStatusChanges(*sriovnetworkv1.SriovNetworkNodeState) (bool, error) { return false, nil diff --git a/pkg/plugins/k8s/k8s_plugin_test.go b/pkg/plugins/k8s/k8s_plugin_test.go index b4344b95f..30663d18c 100644 --- a/pkg/plugins/k8s/k8s_plugin_test.go +++ b/pkg/plugins/k8s/k8s_plugin_test.go @@ -12,12 +12,12 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/log/zap" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - mock_helper "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper/mock" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host" - hostTypes "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/host/types" - plugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + mock_helper "github.com/togethercomputer/sriov-network-operator/pkg/helper/mock" + "github.com/togethercomputer/sriov-network-operator/pkg/host" + hostTypes "github.com/togethercomputer/sriov-network-operator/pkg/host/types" + plugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) func TestK8sPlugin(t *testing.T) { diff --git a/pkg/plugins/mellanox/mellanox_plugin.go b/pkg/plugins/mellanox/mellanox_plugin.go index 10b0152bb..441c9318b 100644 --- a/pkg/plugins/mellanox/mellanox_plugin.go +++ b/pkg/plugins/mellanox/mellanox_plugin.go @@ -5,12 +5,12 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper" - plugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" - mlx "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vendors/mellanox" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/helper" + plugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" + mlx "github.com/togethercomputer/sriov-network-operator/pkg/vendors/mellanox" ) var PluginName = "mellanox" @@ -196,7 +196,7 @@ func (p *MellanoxPlugin) OnNodeStateChange(new *sriovnetworkv1.SriovNetworkNodeS return } -// TODO: implement - https://github.com/k8snetworkplumbingwg/sriov-network-operator/issues/631 +// TODO: implement - https://github.com/togethercomputer/sriov-network-operator/issues/631 // OnNodeStatusChange verify whether SriovNetworkNodeState CR status present changes on configured VFs. func (p *MellanoxPlugin) CheckStatusChanges(*sriovnetworkv1.SriovNetworkNodeState) (bool, error) { return false, nil diff --git a/pkg/plugins/mock/mock_plugin.go b/pkg/plugins/mock/mock_plugin.go index a6ae38202..50b6ff930 100644 --- a/pkg/plugins/mock/mock_plugin.go +++ b/pkg/plugins/mock/mock_plugin.go @@ -8,7 +8,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) // MockVendorPlugin is a mock of VendorPlugin interface. diff --git a/pkg/plugins/plugin.go b/pkg/plugins/plugin.go index 830f7dd68..66dd80ce5 100644 --- a/pkg/plugins/plugin.go +++ b/pkg/plugins/plugin.go @@ -1,7 +1,7 @@ package plugin import ( - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) //go:generate ../../bin/mockgen -destination mock/mock_plugin.go -source plugin.go diff --git a/pkg/plugins/virtual/virtual_plugin.go b/pkg/plugins/virtual/virtual_plugin.go index 211cbee2c..6079a41a5 100644 --- a/pkg/plugins/virtual/virtual_plugin.go +++ b/pkg/plugins/virtual/virtual_plugin.go @@ -5,11 +5,11 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - consts "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/helper" - plugin "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/plugins" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + consts "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/helper" + plugin "github.com/togethercomputer/sriov-network-operator/pkg/plugins" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) var PluginName = "virtual" diff --git a/pkg/systemd/systemd.go b/pkg/systemd/systemd.go index 704e72c0f..28209b83a 100644 --- a/pkg/systemd/systemd.go +++ b/pkg/systemd/systemd.go @@ -24,10 +24,10 @@ import ( "gopkg.in/yaml.v3" "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) const ( diff --git a/pkg/utils/cluster.go b/pkg/utils/cluster.go index 6f8d72e07..adc2b1f5d 100644 --- a/pkg/utils/cluster.go +++ b/pkg/utils/cluster.go @@ -13,7 +13,7 @@ import ( "k8s.io/apimachinery/pkg/types" "sigs.k8s.io/controller-runtime/pkg/client" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" ) const ( diff --git a/pkg/utils/mock/mock_store.go b/pkg/utils/mock/mock_store.go index d6ff6b8fd..a779a0674 100644 --- a/pkg/utils/mock/mock_store.go +++ b/pkg/utils/mock/mock_store.go @@ -8,7 +8,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - v1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + v1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) // MockStoreManagerInterface is a mock of StoreManagerInterface interface. diff --git a/pkg/utils/shutdown.go b/pkg/utils/shutdown.go index f8f9618d4..c0fe676e0 100644 --- a/pkg/utils/shutdown.go +++ b/pkg/utils/shutdown.go @@ -9,9 +9,9 @@ import ( ctrl "sigs.k8s.io/controller-runtime" conf "sigs.k8s.io/controller-runtime/pkg/client/config" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - snclientset "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + snclientset "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" ) var shutdownLog = ctrl.Log.WithName("shutdown") diff --git a/pkg/utils/utils.go b/pkg/utils/utils.go index 73d3ca995..338048346 100644 --- a/pkg/utils/utils.go +++ b/pkg/utils/utils.go @@ -10,8 +10,8 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) //go:generate ../../bin/mockgen -destination mock/mock_utils.go -source utils.go diff --git a/pkg/vars/vars.go b/pkg/vars/vars.go index fc7108ed8..88d01fa46 100644 --- a/pkg/vars/vars.go +++ b/pkg/vars/vars.go @@ -7,7 +7,7 @@ import ( "k8s.io/apimachinery/pkg/runtime" "k8s.io/client-go/rest" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" ) var ( diff --git a/pkg/vendors/mellanox/mellanox.go b/pkg/vendors/mellanox/mellanox.go index 82410c7f8..9fbe90fc4 100644 --- a/pkg/vendors/mellanox/mellanox.go +++ b/pkg/vendors/mellanox/mellanox.go @@ -9,9 +9,9 @@ import ( kerrors "k8s.io/apimachinery/pkg/util/errors" "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/utils" ) // BlueField mode representation diff --git a/pkg/vendors/mellanox/mock/mock_mellanox.go b/pkg/vendors/mellanox/mock/mock_mellanox.go index 1a0ca3120..093f9d2e5 100644 --- a/pkg/vendors/mellanox/mock/mock_mellanox.go +++ b/pkg/vendors/mellanox/mock/mock_mellanox.go @@ -8,7 +8,7 @@ import ( reflect "reflect" gomock "github.com/golang/mock/gomock" - mlxutils "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vendors/mellanox" + mlxutils "github.com/togethercomputer/sriov-network-operator/pkg/vendors/mellanox" ) // MockMellanoxInterface is a mock of MellanoxInterface interface. diff --git a/pkg/webhook/client.go b/pkg/webhook/client.go index a38630c9f..a189807fb 100644 --- a/pkg/webhook/client.go +++ b/pkg/webhook/client.go @@ -8,7 +8,7 @@ import ( "k8s.io/client-go/tools/clientcmd" "sigs.k8s.io/controller-runtime/pkg/log" - snclientset "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned" + snclientset "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned" ) var snclient snclientset.Interface diff --git a/pkg/webhook/mutate.go b/pkg/webhook/mutate.go index 1e542e336..3649ec844 100644 --- a/pkg/webhook/mutate.go +++ b/pkg/webhook/mutate.go @@ -7,7 +7,7 @@ import ( v1 "k8s.io/api/admission/v1" "sigs.k8s.io/controller-runtime/pkg/log" - constants "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" + constants "github.com/togethercomputer/sriov-network-operator/pkg/consts" ) var ( diff --git a/pkg/webhook/scheme.go b/pkg/webhook/scheme.go index 795d581bc..385760bca 100644 --- a/pkg/webhook/scheme.go +++ b/pkg/webhook/scheme.go @@ -8,7 +8,7 @@ import ( "k8s.io/apimachinery/pkg/runtime/serializer" utilruntime "k8s.io/apimachinery/pkg/util/runtime" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) var scheme = runtime.NewScheme() diff --git a/pkg/webhook/validate.go b/pkg/webhook/validate.go index 739d2fc61..15c6270f9 100644 --- a/pkg/webhook/validate.go +++ b/pkg/webhook/validate.go @@ -15,9 +15,9 @@ import ( "k8s.io/apimachinery/pkg/labels" "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" ) const ( diff --git a/pkg/webhook/validate_test.go b/pkg/webhook/validate_test.go index 4e1193b43..84c98e698 100644 --- a/pkg/webhook/validate_test.go +++ b/pkg/webhook/validate_test.go @@ -12,11 +12,11 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/util/intstr" - . "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - constants "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" + . "github.com/togethercomputer/sriov-network-operator/api/v1" + constants "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" - fakesnclientset "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned/fake" + fakesnclientset "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned/fake" ) func TestMain(m *testing.M) { diff --git a/pkg/webhook/webhook.go b/pkg/webhook/webhook.go index d560a66d1..ffc3687d1 100644 --- a/pkg/webhook/webhook.go +++ b/pkg/webhook/webhook.go @@ -8,7 +8,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "sigs.k8s.io/controller-runtime/pkg/log" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) var namespace = os.Getenv("NAMESPACE") diff --git a/test/conformance/test_suite_test.go b/test/conformance/test_suite_test.go index 583a94a83..ee9af6d3f 100644 --- a/test/conformance/test_suite_test.go +++ b/test/conformance/test_suite_test.go @@ -15,9 +15,9 @@ import ( "sigs.k8s.io/controller-runtime/pkg/log/zap" // Test files in this package must not end with `_test.go` suffix, as they are imported as go package - _ "github.com/k8snetworkplumbingwg/sriov-network-operator/test/conformance/tests" + _ "github.com/togethercomputer/sriov-network-operator/test/conformance/tests" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/k8sreporter" + "github.com/togethercomputer/sriov-network-operator/test/util/k8sreporter" ) var ( diff --git a/test/conformance/tests/fixtures.go b/test/conformance/tests/fixtures.go index 33748b6e6..0a2361eff 100644 --- a/test/conformance/tests/fixtures.go +++ b/test/conformance/tests/fixtures.go @@ -4,10 +4,10 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/clean" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/cluster" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/discovery" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/namespaces" + "github.com/togethercomputer/sriov-network-operator/test/util/clean" + "github.com/togethercomputer/sriov-network-operator/test/util/cluster" + "github.com/togethercomputer/sriov-network-operator/test/util/discovery" + "github.com/togethercomputer/sriov-network-operator/test/util/namespaces" ) var sriovInfos *cluster.EnabledNodes diff --git a/test/conformance/tests/init.go b/test/conformance/tests/init.go index 99458e8dc..fe9539fbe 100644 --- a/test/conformance/tests/init.go +++ b/test/conformance/tests/init.go @@ -3,7 +3,7 @@ package tests import ( "os" - testclient "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/client" + testclient "github.com/togethercomputer/sriov-network-operator/test/util/client" ) var ( diff --git a/test/conformance/tests/test_exporter_metrics.go b/test/conformance/tests/test_exporter_metrics.go index e81f63067..cebc05edf 100644 --- a/test/conformance/tests/test_exporter_metrics.go +++ b/test/conformance/tests/test_exporter_metrics.go @@ -5,11 +5,11 @@ import ( "fmt" "strings" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/cluster" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/discovery" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/namespaces" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/network" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/pod" + "github.com/togethercomputer/sriov-network-operator/test/util/cluster" + "github.com/togethercomputer/sriov-network-operator/test/util/discovery" + "github.com/togethercomputer/sriov-network-operator/test/util/namespaces" + "github.com/togethercomputer/sriov-network-operator/test/util/network" + "github.com/togethercomputer/sriov-network-operator/test/util/pod" dto "github.com/prometheus/client_model/go" "github.com/prometheus/common/expfmt" diff --git a/test/conformance/tests/test_policy_configuration.go b/test/conformance/tests/test_policy_configuration.go index 28a2c95cc..617789425 100644 --- a/test/conformance/tests/test_policy_configuration.go +++ b/test/conformance/tests/test_policy_configuration.go @@ -14,12 +14,12 @@ import ( netattdefv1 "github.com/k8snetworkplumbingwg/network-attachment-definition-client/pkg/apis/k8s.cni.cncf.io/v1" - sriovv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/cluster" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/discovery" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/namespaces" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/network" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/pod" + sriovv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/test/util/cluster" + "github.com/togethercomputer/sriov-network-operator/test/util/discovery" + "github.com/togethercomputer/sriov-network-operator/test/util/namespaces" + "github.com/togethercomputer/sriov-network-operator/test/util/network" + "github.com/togethercomputer/sriov-network-operator/test/util/pod" ) var _ = Describe("[sriov] operator", Ordered, func() { diff --git a/test/conformance/tests/test_sriov_operator.go b/test/conformance/tests/test_sriov_operator.go index 3c3cc4e84..85c520e2c 100644 --- a/test/conformance/tests/test_sriov_operator.go +++ b/test/conformance/tests/test_sriov_operator.go @@ -27,15 +27,15 @@ import ( "k8s.io/utils/pointer" runtimeclient "sigs.k8s.io/controller-runtime/pkg/client" - sriovv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/cluster" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/discovery" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/execute" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/namespaces" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/network" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/nodes" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/pod" + sriovv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + "github.com/togethercomputer/sriov-network-operator/test/util/cluster" + "github.com/togethercomputer/sriov-network-operator/test/util/discovery" + "github.com/togethercomputer/sriov-network-operator/test/util/execute" + "github.com/togethercomputer/sriov-network-operator/test/util/namespaces" + "github.com/togethercomputer/sriov-network-operator/test/util/network" + "github.com/togethercomputer/sriov-network-operator/test/util/nodes" + "github.com/togethercomputer/sriov-network-operator/test/util/pod" ) var waitingTime = 20 * time.Minute diff --git a/test/conformance/tests/test_switchdev.go b/test/conformance/tests/test_switchdev.go index 62e340b1b..0cf22ddbf 100644 --- a/test/conformance/tests/test_switchdev.go +++ b/test/conformance/tests/test_switchdev.go @@ -8,11 +8,11 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - sriovv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/cluster" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/discovery" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/namespaces" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/network" + sriovv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/test/util/cluster" + "github.com/togethercomputer/sriov-network-operator/test/util/discovery" + "github.com/togethercomputer/sriov-network-operator/test/util/namespaces" + "github.com/togethercomputer/sriov-network-operator/test/util/network" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" diff --git a/test/e2e/e2e_tests_suite_test.go b/test/e2e/e2e_tests_suite_test.go index 920def35a..d3aef6c58 100644 --- a/test/e2e/e2e_tests_suite_test.go +++ b/test/e2e/e2e_tests_suite_test.go @@ -19,10 +19,10 @@ import ( logf "sigs.k8s.io/controller-runtime/pkg/log" "sigs.k8s.io/controller-runtime/pkg/log/zap" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" // +kubebuilder:scaffold:imports - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/netns" + "github.com/togethercomputer/sriov-network-operator/test/util/netns" ) // These tests use Ginkgo (BDD-style Go testing framework). Refer to diff --git a/test/e2e/sriovoperatornodepolicy_test.go b/test/e2e/sriovoperatornodepolicy_test.go index ccd965708..18d092b12 100644 --- a/test/e2e/sriovoperatornodepolicy_test.go +++ b/test/e2e/sriovoperatornodepolicy_test.go @@ -9,15 +9,15 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - . "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util" - testclient "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/client" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/cluster" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/execute" + . "github.com/togethercomputer/sriov-network-operator/test/util" + testclient "github.com/togethercomputer/sriov-network-operator/test/util/client" + "github.com/togethercomputer/sriov-network-operator/test/util/cluster" + "github.com/togethercomputer/sriov-network-operator/test/util/execute" ) var _ = Describe("Operator", func() { diff --git a/test/util/clean/clean.go b/test/util/clean/clean.go index fbc1ae1c4..50f13d2e3 100644 --- a/test/util/clean/clean.go +++ b/test/util/clean/clean.go @@ -5,9 +5,9 @@ import ( "os" "time" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/client" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/cluster" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/namespaces" + "github.com/togethercomputer/sriov-network-operator/test/util/client" + "github.com/togethercomputer/sriov-network-operator/test/util/cluster" + "github.com/togethercomputer/sriov-network-operator/test/util/namespaces" ) var RestoreNodeDrainState bool diff --git a/test/util/client/clients.go b/test/util/client/clients.go index 368b9d41b..5eeb2cc82 100644 --- a/test/util/client/clients.go +++ b/test/util/client/clients.go @@ -20,9 +20,9 @@ import ( monitoringv1 "github.com/prometheus-operator/prometheus-operator/pkg/client/versioned/typed/monitoring/v1" - sriovv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - clientsriovv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/client/clientset/versioned/typed/sriovnetwork/v1" - snolog "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/log" + sriovv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + clientsriovv1 "github.com/togethercomputer/sriov-network-operator/pkg/client/clientset/versioned/typed/sriovnetwork/v1" + snolog "github.com/togethercomputer/sriov-network-operator/pkg/log" ) func init() { diff --git a/test/util/cluster/cluster.go b/test/util/cluster/cluster.go index 2d34c327a..13e5ca2be 100644 --- a/test/util/cluster/cluster.go +++ b/test/util/cluster/cluster.go @@ -17,11 +17,11 @@ import ( "k8s.io/utils/pointer" runtimeclient "sigs.k8s.io/controller-runtime/pkg/client" - sriovv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/consts" - testclient "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/client" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/nodes" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/pod" + sriovv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/pkg/consts" + testclient "github.com/togethercomputer/sriov-network-operator/test/util/client" + "github.com/togethercomputer/sriov-network-operator/test/util/nodes" + "github.com/togethercomputer/sriov-network-operator/test/util/pod" ) // EnabledNodes provides info on sriov enabled nodes of the cluster. diff --git a/test/util/cluster/cluster_test.go b/test/util/cluster/cluster_test.go index e502a1238..e0b26e624 100644 --- a/test/util/cluster/cluster_test.go +++ b/test/util/cluster/cluster_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/assert" - sriovv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + sriovv1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) func init() { diff --git a/test/util/discovery/discovery.go b/test/util/discovery/discovery.go index 713cb15cb..8eec77394 100644 --- a/test/util/discovery/discovery.go +++ b/test/util/discovery/discovery.go @@ -9,9 +9,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtimeclient "sigs.k8s.io/controller-runtime/pkg/client" - sriovv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/client" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/cluster" + sriovv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/test/util/client" + "github.com/togethercomputer/sriov-network-operator/test/util/cluster" ) // Enabled indicates whether test discovery mode is enabled. diff --git a/test/util/helpers/helpers.go b/test/util/helpers/helpers.go index 35f1bf22f..61c245e44 100644 --- a/test/util/helpers/helpers.go +++ b/test/util/helpers/helpers.go @@ -7,8 +7,8 @@ import ( . "github.com/onsi/ginkgo/v2" . "github.com/onsi/gomega" - "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/vars" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/fakefilesystem" + "github.com/togethercomputer/sriov-network-operator/pkg/vars" + "github.com/togethercomputer/sriov-network-operator/test/util/fakefilesystem" ) // GinkgoConfigureFakeFS configure fake filesystem by setting vars.FilesystemRoot diff --git a/test/util/k8sreporter/reporter.go b/test/util/k8sreporter/reporter.go index 5a3405a91..c7c00651a 100644 --- a/test/util/k8sreporter/reporter.go +++ b/test/util/k8sreporter/reporter.go @@ -8,8 +8,8 @@ import ( kniK8sReporter "github.com/openshift-kni/k8sreporter" "k8s.io/apimachinery/pkg/runtime" - sriovv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/namespaces" + sriovv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/test/util/namespaces" ) func New(reportPath string) (*kniK8sReporter.KubernetesReporter, error) { diff --git a/test/util/namespaces/namespaces.go b/test/util/namespaces/namespaces.go index 5ed106398..fc719dc67 100644 --- a/test/util/namespaces/namespaces.go +++ b/test/util/namespaces/namespaces.go @@ -14,8 +14,8 @@ import ( "k8s.io/utils/pointer" runtimeclient "sigs.k8s.io/controller-runtime/pkg/client" - sriovv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - testclient "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/client" + sriovv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + testclient "github.com/togethercomputer/sriov-network-operator/test/util/client" ) // Test is the namespace to be use for testing diff --git a/test/util/network/network.go b/test/util/network/network.go index fd0de835b..734bc5035 100644 --- a/test/util/network/network.go +++ b/test/util/network/network.go @@ -10,9 +10,9 @@ import ( k8sv1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - sriovv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - testclient "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/client" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/cluster" + sriovv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + testclient "github.com/togethercomputer/sriov-network-operator/test/util/client" + "github.com/togethercomputer/sriov-network-operator/test/util/cluster" ) // Needed for parsing of podinfo diff --git a/test/util/nodes/nodes.go b/test/util/nodes/nodes.go index 359ab3d9e..be9553c46 100644 --- a/test/util/nodes/nodes.go +++ b/test/util/nodes/nodes.go @@ -8,8 +8,8 @@ import ( corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - sriovv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/client" + sriovv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + "github.com/togethercomputer/sriov-network-operator/test/util/client" ) // NodesSelector represent the label selector used to filter impacted nodes. diff --git a/test/util/pod/pod.go b/test/util/pod/pod.go index 541eda1ad..f6b577fdf 100644 --- a/test/util/pod/pod.go +++ b/test/util/pod/pod.go @@ -13,9 +13,9 @@ import ( "k8s.io/client-go/tools/remotecommand" "k8s.io/utils/pointer" - testclient "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/client" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/images" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/namespaces" + testclient "github.com/togethercomputer/sriov-network-operator/test/util/client" + "github.com/togethercomputer/sriov-network-operator/test/util/images" + "github.com/togethercomputer/sriov-network-operator/test/util/namespaces" ) const hostnameLabel = "kubernetes.io/hostname" diff --git a/test/util/util.go b/test/util/util.go index 5103af78f..88db5f519 100644 --- a/test/util/util.go +++ b/test/util/util.go @@ -22,8 +22,8 @@ import ( "k8s.io/apimachinery/pkg/util/wait" client "sigs.k8s.io/controller-runtime/pkg/client" - // "github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/apis" - sriovnetworkv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" + // "github.com/togethercomputer/sriov-network-operator/pkg/apis" + sriovnetworkv1 "github.com/togethercomputer/sriov-network-operator/api/v1" ) var ( diff --git a/test/validation/test_suite_test.go b/test/validation/test_suite_test.go index 008ebaf90..a6914367c 100644 --- a/test/validation/test_suite_test.go +++ b/test/validation/test_suite_test.go @@ -13,9 +13,9 @@ import ( kniK8sReporter "github.com/openshift-kni/k8sreporter" // Test files in this package must not end with `_test.go` suffix, as they are imported as go package - _ "github.com/k8snetworkplumbingwg/sriov-network-operator/test/validation/tests" + _ "github.com/togethercomputer/sriov-network-operator/test/validation/tests" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/k8sreporter" + "github.com/togethercomputer/sriov-network-operator/test/util/k8sreporter" ) var ( diff --git a/test/validation/tests/test_validation.go b/test/validation/tests/test_validation.go index 3c2e0379b..cebdac9d2 100644 --- a/test/validation/tests/test_validation.go +++ b/test/validation/tests/test_validation.go @@ -14,9 +14,9 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" goclient "sigs.k8s.io/controller-runtime/pkg/client" - sriovv1 "github.com/k8snetworkplumbingwg/sriov-network-operator/api/v1" - testclient "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/client" - "github.com/k8snetworkplumbingwg/sriov-network-operator/test/util/cluster" + sriovv1 "github.com/togethercomputer/sriov-network-operator/api/v1" + testclient "github.com/togethercomputer/sriov-network-operator/test/util/client" + "github.com/togethercomputer/sriov-network-operator/test/util/cluster" ) var (