diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index eab21a0d2d..136682798e 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -43,6 +43,9 @@ jobs: - name: Check out the repository uses: actions/checkout@v2 + - name: Delete generated files + run: rm -rf pkg/client pkg/apis/submariner.io/v1/zz_generated.deepcopy.go pkg/natdiscovery/proto/natdiscovery.pb.go + - name: Check License Headers uses: nilp0inter/search-legal-headers@v0.1.0 diff --git a/.legal.json b/.legal.json index 95021b3f3f..d38d1b5334 100644 --- a/.legal.json +++ b/.legal.json @@ -1,4 +1,5 @@ { - "**/*.go": "Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", - "LICENSE": "Apache License" + "**/*.go": "SPDX-License-Identifier: Apache-2.0\n\nCopyright Contributors to the Submariner project.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", + "**/*.proto": "SPDX-License-Identifier: Apache-2.0\n\nCopyright Contributors to the Submariner project.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n", + "LICENSE": "Apache License" } diff --git a/main.go b/main.go index c54d3488ed..46a00ce2c9 100644 --- a/main.go +++ b/main.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/apis/submariner.io/v1/doc.go b/pkg/apis/submariner.io/v1/doc.go index 564e41a2f8..a5d92abfb5 100644 --- a/pkg/apis/submariner.io/v1/doc.go +++ b/pkg/apis/submariner.io/v1/doc.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/apis/submariner.io/v1/endpoint.go b/pkg/apis/submariner.io/v1/endpoint.go index 40c75b74a7..f1ec19fc2d 100644 --- a/pkg/apis/submariner.io/v1/endpoint.go +++ b/pkg/apis/submariner.io/v1/endpoint.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/apis/submariner.io/v1/register.go b/pkg/apis/submariner.io/v1/register.go index 9b3b1a098c..daa3efa645 100644 --- a/pkg/apis/submariner.io/v1/register.go +++ b/pkg/apis/submariner.io/v1/register.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/apis/submariner.io/v1/string.go b/pkg/apis/submariner.io/v1/string.go index da95b6afff..0db6c32477 100644 --- a/pkg/apis/submariner.io/v1/string.go +++ b/pkg/apis/submariner.io/v1/string.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/apis/submariner.io/v1/string_test.go b/pkg/apis/submariner.io/v1/string_test.go index a15c3fb94c..02706e32fd 100644 --- a/pkg/apis/submariner.io/v1/string_test.go +++ b/pkg/apis/submariner.io/v1/string_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/apis/submariner.io/v1/types.go b/pkg/apis/submariner.io/v1/types.go index 9f408edd55..2d1af7052d 100644 --- a/pkg/apis/submariner.io/v1/types.go +++ b/pkg/apis/submariner.io/v1/types.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cable/cleanup/default_cleanup.go b/pkg/cable/cleanup/default_cleanup.go index 604a582c20..32cc31a223 100644 --- a/pkg/cable/cleanup/default_cleanup.go +++ b/pkg/cable/cleanup/default_cleanup.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cable/cleanup/route_cleanup_handler.go b/pkg/cable/cleanup/route_cleanup_handler.go index 184f87870b..bb6afaa8b7 100644 --- a/pkg/cable/cleanup/route_cleanup_handler.go +++ b/pkg/cable/cleanup/route_cleanup_handler.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cable/cleanup/xfrm_cleanup_handler.go b/pkg/cable/cleanup/xfrm_cleanup_handler.go index 54b840bb9c..155e26e6bb 100644 --- a/pkg/cable/cleanup/xfrm_cleanup_handler.go +++ b/pkg/cable/cleanup/xfrm_cleanup_handler.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cable/driver.go b/pkg/cable/driver.go index 2e02eb3501..e97e734b82 100644 --- a/pkg/cable/driver.go +++ b/pkg/cable/driver.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cable/fake/driver.go b/pkg/cable/fake/driver.go index 17021c6443..330d3ad883 100644 --- a/pkg/cable/fake/driver.go +++ b/pkg/cable/fake/driver.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cable/libreswan/libreswan.go b/pkg/cable/libreswan/libreswan.go index 2ed2c3d000..474dfd2d49 100644 --- a/pkg/cable/libreswan/libreswan.go +++ b/pkg/cable/libreswan/libreswan.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cable/libreswan/libreswan_suite_test.go b/pkg/cable/libreswan/libreswan_suite_test.go index 0e60cbd162..60b649d39b 100644 --- a/pkg/cable/libreswan/libreswan_suite_test.go +++ b/pkg/cable/libreswan/libreswan_suite_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cable/libreswan/libreswan_test.go b/pkg/cable/libreswan/libreswan_test.go index 63774a1790..a55ad4f5b5 100644 --- a/pkg/cable/libreswan/libreswan_test.go +++ b/pkg/cable/libreswan/libreswan_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cable/libreswan/preferred_server.go b/pkg/cable/libreswan/preferred_server.go index a2c4de3fa4..939d90da22 100644 --- a/pkg/cable/libreswan/preferred_server.go +++ b/pkg/cable/libreswan/preferred_server.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cable/metrics.go b/pkg/cable/metrics.go index 7af38eed63..5ee60dacf1 100644 --- a/pkg/cable/metrics.go +++ b/pkg/cable/metrics.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others. +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cable/wireguard/driver.go b/pkg/cable/wireguard/driver.go index 77a45f12a1..753ec13302 100644 --- a/pkg/cable/wireguard/driver.go +++ b/pkg/cable/wireguard/driver.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cable/wireguard/getconnections.go b/pkg/cable/wireguard/getconnections.go index 19bae7a480..6c3f3414f9 100644 --- a/pkg/cable/wireguard/getconnections.go +++ b/pkg/cable/wireguard/getconnections.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cableengine/cableengine.go b/pkg/cableengine/cableengine.go index b8a8e942bc..00dc951dda 100644 --- a/pkg/cableengine/cableengine.go +++ b/pkg/cableengine/cableengine.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cableengine/cableengine_test.go b/pkg/cableengine/cableengine_test.go index 8f8d791f45..5b995f7df6 100644 --- a/pkg/cableengine/cableengine_test.go +++ b/pkg/cableengine/cableengine_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cableengine/fake/cableengine.go b/pkg/cableengine/fake/cableengine.go index 16e60c4096..6aa207116f 100644 --- a/pkg/cableengine/fake/cableengine.go +++ b/pkg/cableengine/fake/cableengine.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cableengine/healthchecker/fake/pinger.go b/pkg/cableengine/healthchecker/fake/pinger.go index ecb0f64bcc..b819be3571 100644 --- a/pkg/cableengine/healthchecker/fake/pinger.go +++ b/pkg/cableengine/healthchecker/fake/pinger.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cableengine/healthchecker/healthchecker.go b/pkg/cableengine/healthchecker/healthchecker.go index dda39f385c..13620f8ca1 100644 --- a/pkg/cableengine/healthchecker/healthchecker.go +++ b/pkg/cableengine/healthchecker/healthchecker.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cableengine/healthchecker/healthchecker_suite_test.go b/pkg/cableengine/healthchecker/healthchecker_suite_test.go index 4c488a0d5b..c6604f664c 100644 --- a/pkg/cableengine/healthchecker/healthchecker_suite_test.go +++ b/pkg/cableengine/healthchecker/healthchecker_suite_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cableengine/healthchecker/healthchecker_test.go b/pkg/cableengine/healthchecker/healthchecker_test.go index 40e44a0a66..3aae71bf0c 100644 --- a/pkg/cableengine/healthchecker/healthchecker_test.go +++ b/pkg/cableengine/healthchecker/healthchecker_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cableengine/healthchecker/pinger.go b/pkg/cableengine/healthchecker/pinger.go index e2d7162e16..be099d58e0 100644 --- a/pkg/cableengine/healthchecker/pinger.go +++ b/pkg/cableengine/healthchecker/pinger.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cableengine/healthchecker/pinger_test.go b/pkg/cableengine/healthchecker/pinger_test.go index 450c58de96..a994c9cf03 100644 --- a/pkg/cableengine/healthchecker/pinger_test.go +++ b/pkg/cableengine/healthchecker/pinger_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cableengine/healthchecker/statistics.go b/pkg/cableengine/healthchecker/statistics.go index 045b234f35..c8b4e91a7f 100644 --- a/pkg/cableengine/healthchecker/statistics.go +++ b/pkg/cableengine/healthchecker/statistics.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cableengine/healthchecker/statistics_test.go b/pkg/cableengine/healthchecker/statistics_test.go index 772552db4b..82945ee07f 100644 --- a/pkg/cableengine/healthchecker/statistics_test.go +++ b/pkg/cableengine/healthchecker/statistics_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cableengine/syncer/syncer.go b/pkg/cableengine/syncer/syncer.go index 483b501183..3d24a6e447 100644 --- a/pkg/cableengine/syncer/syncer.go +++ b/pkg/cableengine/syncer/syncer.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cableengine/syncer/syncer_test.go b/pkg/cableengine/syncer/syncer_test.go index 044b6fa178..8b41f2a4b8 100644 --- a/pkg/cableengine/syncer/syncer_test.go +++ b/pkg/cableengine/syncer/syncer_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/cidr/iputil.go b/pkg/cidr/iputil.go index 8ff7371101..de399741e9 100644 --- a/pkg/cidr/iputil.go +++ b/pkg/cidr/iputil.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/submariner.io/v1/fake/failing_cluster.go b/pkg/client/clientset/versioned/typed/submariner.io/v1/fake/failing_cluster.go index 6454583df2..374587dc8b 100644 --- a/pkg/client/clientset/versioned/typed/submariner.io/v1/fake/failing_cluster.go +++ b/pkg/client/clientset/versioned/typed/submariner.io/v1/fake/failing_cluster.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/submariner.io/v1/fake/failing_endpoint.go b/pkg/client/clientset/versioned/typed/submariner.io/v1/fake/failing_endpoint.go index 613d6b2cd5..b89e6ee099 100644 --- a/pkg/client/clientset/versioned/typed/submariner.io/v1/fake/failing_endpoint.go +++ b/pkg/client/clientset/versioned/typed/submariner.io/v1/fake/failing_endpoint.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/client/clientset/versioned/typed/submariner.io/v1/fake/failing_gateways.go b/pkg/client/clientset/versioned/typed/submariner.io/v1/fake/failing_gateways.go index 7c82e4b406..fc26e0b692 100644 --- a/pkg/client/clientset/versioned/typed/submariner.io/v1/fake/failing_gateways.go +++ b/pkg/client/clientset/versioned/typed/submariner.io/v1/fake/failing_gateways.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/controllers/datastoresyncer/datastore_0.8.0_upgrade_test.go b/pkg/controllers/datastoresyncer/datastore_0.8.0_upgrade_test.go index e49c3ef348..128e13d9bd 100644 --- a/pkg/controllers/datastoresyncer/datastore_0.8.0_upgrade_test.go +++ b/pkg/controllers/datastoresyncer/datastore_0.8.0_upgrade_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/controllers/datastoresyncer/datastore_cluster_sync_test.go b/pkg/controllers/datastoresyncer/datastore_cluster_sync_test.go index e3f89fa3c0..66bde26595 100644 --- a/pkg/controllers/datastoresyncer/datastore_cluster_sync_test.go +++ b/pkg/controllers/datastoresyncer/datastore_cluster_sync_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/controllers/datastoresyncer/datastore_endpoint_sync_test.go b/pkg/controllers/datastoresyncer/datastore_endpoint_sync_test.go index 3908ffd1cb..d3925fcc51 100644 --- a/pkg/controllers/datastoresyncer/datastore_endpoint_sync_test.go +++ b/pkg/controllers/datastoresyncer/datastore_endpoint_sync_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/controllers/datastoresyncer/datastoresyncer.go b/pkg/controllers/datastoresyncer/datastoresyncer.go index 16d44ed669..2a8a68c5dc 100644 --- a/pkg/controllers/datastoresyncer/datastoresyncer.go +++ b/pkg/controllers/datastoresyncer/datastoresyncer.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/controllers/datastoresyncer/datastoresyncer_suite_test.go b/pkg/controllers/datastoresyncer/datastoresyncer_suite_test.go index 8d12d9b958..574821df8c 100644 --- a/pkg/controllers/datastoresyncer/datastoresyncer_suite_test.go +++ b/pkg/controllers/datastoresyncer/datastoresyncer_suite_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/controllers/datastoresyncer/node_handler.go b/pkg/controllers/datastoresyncer/node_handler.go index 5ab28c3c2a..25d9d3f0ce 100644 --- a/pkg/controllers/datastoresyncer/node_handler.go +++ b/pkg/controllers/datastoresyncer/node_handler.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/controllers/tunnel/tunnel.go b/pkg/controllers/tunnel/tunnel.go index 554690e552..a313172422 100644 --- a/pkg/controllers/tunnel/tunnel.go +++ b/pkg/controllers/tunnel/tunnel.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/controllers/tunnel/tunnel_test.go b/pkg/controllers/tunnel/tunnel_test.go index 7203365789..b1453e5180 100644 --- a/pkg/controllers/tunnel/tunnel_test.go +++ b/pkg/controllers/tunnel/tunnel_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/endpoint/local_endpoint.go b/pkg/endpoint/local_endpoint.go index 3473b95e1a..b6987b1f1f 100644 --- a/pkg/endpoint/local_endpoint.go +++ b/pkg/endpoint/local_endpoint.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/endpoint/local_endpoint_suite_test.go b/pkg/endpoint/local_endpoint_suite_test.go index a27d8606f4..ff5bc35372 100644 --- a/pkg/endpoint/local_endpoint_suite_test.go +++ b/pkg/endpoint/local_endpoint_suite_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/endpoint/local_endpoint_test.go b/pkg/endpoint/local_endpoint_test.go index 3137d3d9e8..f560ab1672 100644 --- a/pkg/endpoint/local_endpoint_test.go +++ b/pkg/endpoint/local_endpoint_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/event/controller/controller.go b/pkg/event/controller/controller.go index 555129ed4f..4727b2569b 100644 --- a/pkg/event/controller/controller.go +++ b/pkg/event/controller/controller.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/event/controller/controller_suite_test.go b/pkg/event/controller/controller_suite_test.go index 04865443da..8780d1b0f9 100644 --- a/pkg/event/controller/controller_suite_test.go +++ b/pkg/event/controller/controller_suite_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/event/controller/controller_test.go b/pkg/event/controller/controller_test.go index 78e30821f7..15f9409526 100644 --- a/pkg/event/controller/controller_test.go +++ b/pkg/event/controller/controller_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/event/controller/endpoint_created.go b/pkg/event/controller/endpoint_created.go index c0ae60fbed..86cded03c0 100644 --- a/pkg/event/controller/endpoint_created.go +++ b/pkg/event/controller/endpoint_created.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/event/controller/endpoint_removed.go b/pkg/event/controller/endpoint_removed.go index 23642dc5b9..1485f5f6b2 100644 --- a/pkg/event/controller/endpoint_removed.go +++ b/pkg/event/controller/endpoint_removed.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/event/controller/endpoint_updated.go b/pkg/event/controller/endpoint_updated.go index 038ec9fd5f..c97ccdeb55 100644 --- a/pkg/event/controller/endpoint_updated.go +++ b/pkg/event/controller/endpoint_updated.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/event/controller/node_handlers.go b/pkg/event/controller/node_handlers.go index 625d6bf1f8..a815f9f521 100644 --- a/pkg/event/controller/node_handlers.go +++ b/pkg/event/controller/node_handlers.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/event/event_suite_test.go b/pkg/event/event_suite_test.go index fc33c24e34..252cf2b5e8 100644 --- a/pkg/event/event_suite_test.go +++ b/pkg/event/event_suite_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/event/handler.go b/pkg/event/handler.go index f82a995d0a..dd2fc5f7bb 100644 --- a/pkg/event/handler.go +++ b/pkg/event/handler.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/event/logger/handler.go b/pkg/event/logger/handler.go index 24ed727276..9a6baba593 100644 --- a/pkg/event/logger/handler.go +++ b/pkg/event/logger/handler.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/event/registry.go b/pkg/event/registry.go index 8229909506..61390496a8 100644 --- a/pkg/event/registry.go +++ b/pkg/event/registry.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/event/registry_test.go b/pkg/event/registry_test.go index 5a5e6d6864..3e5f133438 100644 --- a/pkg/event/registry_test.go +++ b/pkg/event/registry_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/event/testing/testing.go b/pkg/event/testing/testing.go index ce784893f8..82e8615108 100644 --- a/pkg/event/testing/testing.go +++ b/pkg/event/testing/testing.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/cleanup/gn_cleanup.go b/pkg/globalnet/cleanup/gn_cleanup.go index 46b801d0c2..3a313867d0 100644 --- a/pkg/globalnet/cleanup/gn_cleanup.go +++ b/pkg/globalnet/cleanup/gn_cleanup.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/controllers/ipam/constants.go b/pkg/globalnet/controllers/ipam/constants.go index 75deb3910f..ef5a4cd7bf 100644 --- a/pkg/globalnet/controllers/ipam/constants.go +++ b/pkg/globalnet/controllers/ipam/constants.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/controllers/ipam/gatewaymonitor.go b/pkg/globalnet/controllers/ipam/gatewaymonitor.go index fd8502ec59..b06881fd30 100644 --- a/pkg/globalnet/controllers/ipam/gatewaymonitor.go +++ b/pkg/globalnet/controllers/ipam/gatewaymonitor.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/controllers/ipam/gatewaymonitor_test.go b/pkg/globalnet/controllers/ipam/gatewaymonitor_test.go index bb7a2a1281..b3e588ae6f 100644 --- a/pkg/globalnet/controllers/ipam/gatewaymonitor_test.go +++ b/pkg/globalnet/controllers/ipam/gatewaymonitor_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/controllers/ipam/globalnet.go b/pkg/globalnet/controllers/ipam/globalnet.go index 9defd6ae24..48f800d0b2 100644 --- a/pkg/globalnet/controllers/ipam/globalnet.go +++ b/pkg/globalnet/controllers/ipam/globalnet.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/controllers/ipam/globalnet_egress.go b/pkg/globalnet/controllers/ipam/globalnet_egress.go index 2d967275cd..24f73adcda 100644 --- a/pkg/globalnet/controllers/ipam/globalnet_egress.go +++ b/pkg/globalnet/controllers/ipam/globalnet_egress.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/controllers/ipam/globalnet_ingress.go b/pkg/globalnet/controllers/ipam/globalnet_ingress.go index 85a4469e4e..2f67029dd3 100644 --- a/pkg/globalnet/controllers/ipam/globalnet_ingress.go +++ b/pkg/globalnet/controllers/ipam/globalnet_ingress.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/controllers/ipam/ipam.go b/pkg/globalnet/controllers/ipam/ipam.go index 5d3d268714..9da2d1a784 100644 --- a/pkg/globalnet/controllers/ipam/ipam.go +++ b/pkg/globalnet/controllers/ipam/ipam.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/controllers/ipam/ipam_suite_test.go b/pkg/globalnet/controllers/ipam/ipam_suite_test.go index 74dbebd446..589db18543 100644 --- a/pkg/globalnet/controllers/ipam/ipam_suite_test.go +++ b/pkg/globalnet/controllers/ipam/ipam_suite_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/controllers/ipam/ippool.go b/pkg/globalnet/controllers/ipam/ippool.go index daeb8b1f08..ba67b4bdb1 100644 --- a/pkg/globalnet/controllers/ipam/ippool.go +++ b/pkg/globalnet/controllers/ipam/ippool.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/controllers/ipam/ippool_test.go b/pkg/globalnet/controllers/ipam/ippool_test.go index afb494e6db..709a743308 100644 --- a/pkg/globalnet/controllers/ipam/ippool_test.go +++ b/pkg/globalnet/controllers/ipam/ippool_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/controllers/ipam/metrics.go b/pkg/globalnet/controllers/ipam/metrics.go index 3423c82571..f2eb9d990c 100644 --- a/pkg/globalnet/controllers/ipam/metrics.go +++ b/pkg/globalnet/controllers/ipam/metrics.go @@ -1,5 +1,7 @@ /* -© 2020 Red Hat, Inc. and others. +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/controllers/ipam/node_handler.go b/pkg/globalnet/controllers/ipam/node_handler.go index 8d5179758c..4b347dfe3a 100644 --- a/pkg/globalnet/controllers/ipam/node_handler.go +++ b/pkg/globalnet/controllers/ipam/node_handler.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/controllers/ipam/pod_handler.go b/pkg/globalnet/controllers/ipam/pod_handler.go index c38c422cfa..8a73408053 100644 --- a/pkg/globalnet/controllers/ipam/pod_handler.go +++ b/pkg/globalnet/controllers/ipam/pod_handler.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/controllers/ipam/service_export_handler.go b/pkg/globalnet/controllers/ipam/service_export_handler.go index 4bd40a7fc4..35a9687787 100644 --- a/pkg/globalnet/controllers/ipam/service_export_handler.go +++ b/pkg/globalnet/controllers/ipam/service_export_handler.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/controllers/ipam/service_handler.go b/pkg/globalnet/controllers/ipam/service_handler.go index 23da2f6008..7f8121e769 100644 --- a/pkg/globalnet/controllers/ipam/service_handler.go +++ b/pkg/globalnet/controllers/ipam/service_handler.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/controllers/ipam/types.go b/pkg/globalnet/controllers/ipam/types.go index dd7a967430..82a36cb789 100644 --- a/pkg/globalnet/controllers/ipam/types.go +++ b/pkg/globalnet/controllers/ipam/types.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/globalnet/main.go b/pkg/globalnet/main.go index f8d4524b87..788128df34 100644 --- a/pkg/globalnet/main.go +++ b/pkg/globalnet/main.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/iptables/fake/iptables.go b/pkg/iptables/fake/iptables.go index b843a7c75d..bde0518ffa 100644 --- a/pkg/iptables/fake/iptables.go +++ b/pkg/iptables/fake/iptables.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/iptables/iptables.go b/pkg/iptables/iptables.go index 09d9f8d384..6bf4dc6c39 100644 --- a/pkg/iptables/iptables.go +++ b/pkg/iptables/iptables.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/natdiscovery/listener.go b/pkg/natdiscovery/listener.go index ceda88a0e7..bfb4b56304 100644 --- a/pkg/natdiscovery/listener.go +++ b/pkg/natdiscovery/listener.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others. +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/natdiscovery/listener_test.go b/pkg/natdiscovery/listener_test.go index 1c47b3bd70..cc7237bd3f 100644 --- a/pkg/natdiscovery/listener_test.go +++ b/pkg/natdiscovery/listener_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/natdiscovery/natdiscovery.go b/pkg/natdiscovery/natdiscovery.go index 9e20f01a31..937939afaa 100644 --- a/pkg/natdiscovery/natdiscovery.go +++ b/pkg/natdiscovery/natdiscovery.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others. +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/natdiscovery/natdiscovery_suite_test.go b/pkg/natdiscovery/natdiscovery_suite_test.go index 32eb915f55..7c2512edb3 100644 --- a/pkg/natdiscovery/natdiscovery_suite_test.go +++ b/pkg/natdiscovery/natdiscovery_suite_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others. +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/natdiscovery/natdiscovery_test.go b/pkg/natdiscovery/natdiscovery_test.go index b7aeb18dff..2d8ed8236f 100644 --- a/pkg/natdiscovery/natdiscovery_test.go +++ b/pkg/natdiscovery/natdiscovery_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/natdiscovery/proto/consts.go b/pkg/natdiscovery/proto/consts.go index 12c42b6427..3cd32a6788 100644 --- a/pkg/natdiscovery/proto/consts.go +++ b/pkg/natdiscovery/proto/consts.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/natdiscovery/proto/methods.go b/pkg/natdiscovery/proto/methods.go index 165358863a..c8ead3af67 100644 --- a/pkg/natdiscovery/proto/methods.go +++ b/pkg/natdiscovery/proto/methods.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/natdiscovery/proto/natdiscovery.pb.go b/pkg/natdiscovery/proto/natdiscovery.pb.go index fce58093c6..2715e90c3e 100644 --- a/pkg/natdiscovery/proto/natdiscovery.pb.go +++ b/pkg/natdiscovery/proto/natdiscovery.pb.go @@ -1,17 +1,19 @@ -/* -© 2021 Red Hat, Inc. and others -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ +// +//SPDX-License-Identifier: Apache-2.0 +// +//Copyright Contributors to the Submariner project. +// +//Licensed under the Apache License, Version 2.0 (the "License"); +//you may not use this file except in compliance with the License. +//You may obtain a copy of the License at +// +//http://www.apache.org/licenses/LICENSE-2.0 +// +//Unless required by applicable law or agreed to in writing, software +//distributed under the License is distributed on an "AS IS" BASIS, +//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +//See the License for the specific language governing permissions and +//limitations under the License. // Code generated by protoc-gen-go. DO NOT EDIT. // versions: @@ -22,11 +24,10 @@ limitations under the License. package proto import ( - reflect "reflect" - sync "sync" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) const ( diff --git a/pkg/natdiscovery/proto/natdiscovery.proto b/pkg/natdiscovery/proto/natdiscovery.proto index 2b25e8a060..8f41dc048a 100644 --- a/pkg/natdiscovery/proto/natdiscovery.proto +++ b/pkg/natdiscovery/proto/natdiscovery.proto @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/natdiscovery/remote_endpoint.go b/pkg/natdiscovery/remote_endpoint.go index fc500cbe08..73a6adfb52 100644 --- a/pkg/natdiscovery/remote_endpoint.go +++ b/pkg/natdiscovery/remote_endpoint.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others. +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/natdiscovery/remote_endpoint_test.go b/pkg/natdiscovery/remote_endpoint_test.go index b2c604884c..f597230be9 100644 --- a/pkg/natdiscovery/remote_endpoint_test.go +++ b/pkg/natdiscovery/remote_endpoint_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/natdiscovery/request_handle.go b/pkg/natdiscovery/request_handle.go index 0ae5f4e811..e14cf49b41 100644 --- a/pkg/natdiscovery/request_handle.go +++ b/pkg/natdiscovery/request_handle.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others. +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/natdiscovery/request_handle_test.go b/pkg/natdiscovery/request_handle_test.go index 9cb7aee416..6e6a5a478a 100644 --- a/pkg/natdiscovery/request_handle_test.go +++ b/pkg/natdiscovery/request_handle_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/natdiscovery/request_send.go b/pkg/natdiscovery/request_send.go index eab36f18bc..f85bbe011b 100644 --- a/pkg/natdiscovery/request_send.go +++ b/pkg/natdiscovery/request_send.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/natdiscovery/request_send_test.go b/pkg/natdiscovery/request_send_test.go index d92527c33b..5c874ba28d 100644 --- a/pkg/natdiscovery/request_send_test.go +++ b/pkg/natdiscovery/request_send_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/natdiscovery/response_handle.go b/pkg/natdiscovery/response_handle.go index a8208cc95b..dc99b02e58 100644 --- a/pkg/natdiscovery/response_handle.go +++ b/pkg/natdiscovery/response_handle.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/netlink/fake/netlink.go b/pkg/netlink/fake/netlink.go index 633833f4b8..6f61f53d91 100644 --- a/pkg/netlink/fake/netlink.go +++ b/pkg/netlink/fake/netlink.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others. +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/netlink/netlink.go b/pkg/netlink/netlink.go index f0b8c593a5..aa43cea454 100644 --- a/pkg/netlink/netlink.go +++ b/pkg/netlink/netlink.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others. +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/networkplugin-syncer/handlers/ovn/connection.go b/pkg/networkplugin-syncer/handlers/ovn/connection.go index 65e1d77600..ab245a809e 100644 --- a/pkg/networkplugin-syncer/handlers/ovn/connection.go +++ b/pkg/networkplugin-syncer/handlers/ovn/connection.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/networkplugin-syncer/handlers/ovn/env.go b/pkg/networkplugin-syncer/handlers/ovn/env.go index 4979b9ea03..a5f0ecabc4 100644 --- a/pkg/networkplugin-syncer/handlers/ovn/env.go +++ b/pkg/networkplugin-syncer/handlers/ovn/env.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/networkplugin-syncer/handlers/ovn/handler.go b/pkg/networkplugin-syncer/handlers/ovn/handler.go index c16917d939..f33311b03e 100644 --- a/pkg/networkplugin-syncer/handlers/ovn/handler.go +++ b/pkg/networkplugin-syncer/handlers/ovn/handler.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/networkplugin-syncer/handlers/ovn/infrastructure.go b/pkg/networkplugin-syncer/handlers/ovn/infrastructure.go index de8f13cb6f..344047a231 100644 --- a/pkg/networkplugin-syncer/handlers/ovn/infrastructure.go +++ b/pkg/networkplugin-syncer/handlers/ovn/infrastructure.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/networkplugin-syncer/handlers/ovn/nbctl/nbctl.go b/pkg/networkplugin-syncer/handlers/ovn/nbctl/nbctl.go index cea7176d73..68ca1b7157 100644 --- a/pkg/networkplugin-syncer/handlers/ovn/nbctl/nbctl.go +++ b/pkg/networkplugin-syncer/handlers/ovn/nbctl/nbctl.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/networkplugin-syncer/handlers/ovn/nbctl/nbctl_suite_test.go b/pkg/networkplugin-syncer/handlers/ovn/nbctl/nbctl_suite_test.go index 737d3600f8..19ed9fb162 100644 --- a/pkg/networkplugin-syncer/handlers/ovn/nbctl/nbctl_suite_test.go +++ b/pkg/networkplugin-syncer/handlers/ovn/nbctl/nbctl_suite_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/networkplugin-syncer/handlers/ovn/ovn_suite_test.go b/pkg/networkplugin-syncer/handlers/ovn/ovn_suite_test.go index 96e3f02311..0702bb51dd 100644 --- a/pkg/networkplugin-syncer/handlers/ovn/ovn_suite_test.go +++ b/pkg/networkplugin-syncer/handlers/ovn/ovn_suite_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/networkplugin-syncer/handlers/ovn/router_ovn_cluster_north.go b/pkg/networkplugin-syncer/handlers/ovn/router_ovn_cluster_north.go index 20f3d5bf28..4e22e47e5d 100644 --- a/pkg/networkplugin-syncer/handlers/ovn/router_ovn_cluster_north.go +++ b/pkg/networkplugin-syncer/handlers/ovn/router_ovn_cluster_north.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/networkplugin-syncer/handlers/ovn/router_submariner_north.go b/pkg/networkplugin-syncer/handlers/ovn/router_submariner_north.go index 08d73f1d1c..235651a39e 100644 --- a/pkg/networkplugin-syncer/handlers/ovn/router_submariner_north.go +++ b/pkg/networkplugin-syncer/handlers/ovn/router_submariner_north.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/networkplugin-syncer/handlers/ovn/router_submariner_south.go b/pkg/networkplugin-syncer/handlers/ovn/router_submariner_south.go index 7870a0f7e8..e3f77d6284 100644 --- a/pkg/networkplugin-syncer/handlers/ovn/router_submariner_south.go +++ b/pkg/networkplugin-syncer/handlers/ovn/router_submariner_south.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/networkplugin-syncer/handlers/ovn/routers.go b/pkg/networkplugin-syncer/handlers/ovn/routers.go index 94e8b3853e..5a4fb54e43 100644 --- a/pkg/networkplugin-syncer/handlers/ovn/routers.go +++ b/pkg/networkplugin-syncer/handlers/ovn/routers.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/networkplugin-syncer/handlers/ovn/routers_test.go b/pkg/networkplugin-syncer/handlers/ovn/routers_test.go index 979c9d3c64..e6347b1a91 100644 --- a/pkg/networkplugin-syncer/handlers/ovn/routers_test.go +++ b/pkg/networkplugin-syncer/handlers/ovn/routers_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/networkplugin-syncer/handlers/ovn/services.go b/pkg/networkplugin-syncer/handlers/ovn/services.go index bba1ae0bd7..c36a4d1f5a 100644 --- a/pkg/networkplugin-syncer/handlers/ovn/services.go +++ b/pkg/networkplugin-syncer/handlers/ovn/services.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/networkplugin-syncer/handlers/ovn/subnets.go b/pkg/networkplugin-syncer/handlers/ovn/subnets.go index b22784acdd..7eed80ddd6 100644 --- a/pkg/networkplugin-syncer/handlers/ovn/subnets.go +++ b/pkg/networkplugin-syncer/handlers/ovn/subnets.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/networkplugin-syncer/handlers/ovn/subnets_test.go b/pkg/networkplugin-syncer/handlers/ovn/subnets_test.go index 3a3e7c3683..7ad477c794 100644 --- a/pkg/networkplugin-syncer/handlers/ovn/subnets_test.go +++ b/pkg/networkplugin-syncer/handlers/ovn/subnets_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/networkplugin-syncer/main.go b/pkg/networkplugin-syncer/main.go index 650fe0ef78..f584d5e957 100644 --- a/pkg/networkplugin-syncer/main.go +++ b/pkg/networkplugin-syncer/main.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/node/node.go b/pkg/node/node.go index 5115873722..565a3fd6fe 100644 --- a/pkg/node/node.go +++ b/pkg/node/node.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/cleanup/cleanup.go b/pkg/routeagent_driver/cleanup/cleanup.go index 0ce9c7f9f7..4e8eea945b 100644 --- a/pkg/routeagent_driver/cleanup/cleanup.go +++ b/pkg/routeagent_driver/cleanup/cleanup.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/cleanup/fake/cleanup.go b/pkg/routeagent_driver/cleanup/fake/cleanup.go index 87a406b153..6258891d4a 100644 --- a/pkg/routeagent_driver/cleanup/fake/cleanup.go +++ b/pkg/routeagent_driver/cleanup/fake/cleanup.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/cni/cni_iface.go b/pkg/routeagent_driver/cni/cni_iface.go index 296bd8bd3e..f8483f578d 100644 --- a/pkg/routeagent_driver/cni/cni_iface.go +++ b/pkg/routeagent_driver/cni/cni_iface.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/constants/constants.go b/pkg/routeagent_driver/constants/constants.go index e7d66a66dc..e488e7be6f 100644 --- a/pkg/routeagent_driver/constants/constants.go +++ b/pkg/routeagent_driver/constants/constants.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/environment/env.go b/pkg/routeagent_driver/environment/env.go index 6de6c6f58b..dc610eea4d 100644 --- a/pkg/routeagent_driver/environment/env.go +++ b/pkg/routeagent_driver/environment/env.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/kubeproxy/cleanup_handling.go b/pkg/routeagent_driver/handlers/kubeproxy/cleanup_handling.go index be89d15a20..53e8390543 100644 --- a/pkg/routeagent_driver/handlers/kubeproxy/cleanup_handling.go +++ b/pkg/routeagent_driver/handlers/kubeproxy/cleanup_handling.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/kubeproxy/constants.go b/pkg/routeagent_driver/handlers/kubeproxy/constants.go index 0154d62f75..db7a914a59 100644 --- a/pkg/routeagent_driver/handlers/kubeproxy/constants.go +++ b/pkg/routeagent_driver/handlers/kubeproxy/constants.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/kubeproxy/endpoint_handler.go b/pkg/routeagent_driver/handlers/kubeproxy/endpoint_handler.go index 04fdc54f8d..d4e685c994 100644 --- a/pkg/routeagent_driver/handlers/kubeproxy/endpoint_handler.go +++ b/pkg/routeagent_driver/handlers/kubeproxy/endpoint_handler.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/kubeproxy/gw_transition.go b/pkg/routeagent_driver/handlers/kubeproxy/gw_transition.go index 6a3697348d..3c0c3a6384 100644 --- a/pkg/routeagent_driver/handlers/kubeproxy/gw_transition.go +++ b/pkg/routeagent_driver/handlers/kubeproxy/gw_transition.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/kubeproxy/iptables_iface.go b/pkg/routeagent_driver/handlers/kubeproxy/iptables_iface.go index ce4fba7325..3dd71089f9 100644 --- a/pkg/routeagent_driver/handlers/kubeproxy/iptables_iface.go +++ b/pkg/routeagent_driver/handlers/kubeproxy/iptables_iface.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/kubeproxy/kp_iptables.go b/pkg/routeagent_driver/handlers/kubeproxy/kp_iptables.go index 4bb26fe10d..e31ddc8007 100644 --- a/pkg/routeagent_driver/handlers/kubeproxy/kp_iptables.go +++ b/pkg/routeagent_driver/handlers/kubeproxy/kp_iptables.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/kubeproxy/kubeproxy_suite_test.go b/pkg/routeagent_driver/handlers/kubeproxy/kubeproxy_suite_test.go index 92bcbefe75..fe646f87ae 100644 --- a/pkg/routeagent_driver/handlers/kubeproxy/kubeproxy_suite_test.go +++ b/pkg/routeagent_driver/handlers/kubeproxy/kubeproxy_suite_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others. +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/kubeproxy/node_handler.go b/pkg/routeagent_driver/handlers/kubeproxy/node_handler.go index 2b2b4f12c2..e0dc3f6182 100644 --- a/pkg/routeagent_driver/handlers/kubeproxy/node_handler.go +++ b/pkg/routeagent_driver/handlers/kubeproxy/node_handler.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/kubeproxy/routes_iface.go b/pkg/routeagent_driver/handlers/kubeproxy/routes_iface.go index 88bf26ad69..909526d3ff 100644 --- a/pkg/routeagent_driver/handlers/kubeproxy/routes_iface.go +++ b/pkg/routeagent_driver/handlers/kubeproxy/routes_iface.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/kubeproxy/sync_handler_test.go b/pkg/routeagent_driver/handlers/kubeproxy/sync_handler_test.go index 516c2f6d2c..fcc06d31f2 100644 --- a/pkg/routeagent_driver/handlers/kubeproxy/sync_handler_test.go +++ b/pkg/routeagent_driver/handlers/kubeproxy/sync_handler_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/kubeproxy/vxlan.go b/pkg/routeagent_driver/handlers/kubeproxy/vxlan.go index 9aeb6d0edc..0b7f4e91a1 100644 --- a/pkg/routeagent_driver/handlers/kubeproxy/vxlan.go +++ b/pkg/routeagent_driver/handlers/kubeproxy/vxlan.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/kubeproxy/vxlan_test.go b/pkg/routeagent_driver/handlers/kubeproxy/vxlan_test.go index 174d45cfc8..9cbade839b 100644 --- a/pkg/routeagent_driver/handlers/kubeproxy/vxlan_test.go +++ b/pkg/routeagent_driver/handlers/kubeproxy/vxlan_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/ovn/bridge.go b/pkg/routeagent_driver/handlers/ovn/bridge.go index a310a0ec97..45daeaf7a5 100644 --- a/pkg/routeagent_driver/handlers/ovn/bridge.go +++ b/pkg/routeagent_driver/handlers/ovn/bridge.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/ovn/constants.go b/pkg/routeagent_driver/handlers/ovn/constants.go index 327a3b741b..0dfd7e48c4 100644 --- a/pkg/routeagent_driver/handlers/ovn/constants.go +++ b/pkg/routeagent_driver/handlers/ovn/constants.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/ovn/gateway_dataplane.go b/pkg/routeagent_driver/handlers/ovn/gateway_dataplane.go index 79d4e86f1f..f58400a90c 100644 --- a/pkg/routeagent_driver/handlers/ovn/gateway_dataplane.go +++ b/pkg/routeagent_driver/handlers/ovn/gateway_dataplane.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/ovn/handler.go b/pkg/routeagent_driver/handlers/ovn/handler.go index 56143bb1d1..0fc78f817b 100644 --- a/pkg/routeagent_driver/handlers/ovn/handler.go +++ b/pkg/routeagent_driver/handlers/ovn/handler.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/ovn/host_networking.go b/pkg/routeagent_driver/handlers/ovn/host_networking.go index 0a922b0460..0700ef0686 100644 --- a/pkg/routeagent_driver/handlers/ovn/host_networking.go +++ b/pkg/routeagent_driver/handlers/ovn/host_networking.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/ovn/south_rules.go b/pkg/routeagent_driver/handlers/ovn/south_rules.go index 74d6629716..514e11c411 100644 --- a/pkg/routeagent_driver/handlers/ovn/south_rules.go +++ b/pkg/routeagent_driver/handlers/ovn/south_rules.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/ovn/subnets.go b/pkg/routeagent_driver/handlers/ovn/subnets.go index 69fd319280..ca44cc40d5 100644 --- a/pkg/routeagent_driver/handlers/ovn/subnets.go +++ b/pkg/routeagent_driver/handlers/ovn/subnets.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/handlers/ovn/vsctl/vsctl.go b/pkg/routeagent_driver/handlers/ovn/vsctl/vsctl.go index 7d6aeff9e0..3e95860a4f 100644 --- a/pkg/routeagent_driver/handlers/ovn/vsctl/vsctl.go +++ b/pkg/routeagent_driver/handlers/ovn/vsctl/vsctl.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/iptables/iptables.go b/pkg/routeagent_driver/iptables/iptables.go index dde8f9bdbe..bc9f699d67 100644 --- a/pkg/routeagent_driver/iptables/iptables.go +++ b/pkg/routeagent_driver/iptables/iptables.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/routeagent_driver/main.go b/pkg/routeagent_driver/main.go index 255a6b0997..57713e5412 100644 --- a/pkg/routeagent_driver/main.go +++ b/pkg/routeagent_driver/main.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/types/types.go b/pkg/types/types.go index 83ad1fe46d..2255fe6428 100644 --- a/pkg/types/types.go +++ b/pkg/types/types.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/util/clusterfiles/cluster_files.go b/pkg/util/clusterfiles/cluster_files.go index 415df80403..d72dcff98a 100644 --- a/pkg/util/clusterfiles/cluster_files.go +++ b/pkg/util/clusterfiles/cluster_files.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/util/clusterfiles/cluster_files_test.go b/pkg/util/clusterfiles/cluster_files_test.go index 3fced54399..2e30a4f4f9 100644 --- a/pkg/util/clusterfiles/cluster_files_test.go +++ b/pkg/util/clusterfiles/cluster_files_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/util/util.go b/pkg/util/util.go index f91393e3bd..58d05f2d6c 100644 --- a/pkg/util/util.go +++ b/pkg/util/util.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/util/util_suite_test.go b/pkg/util/util_suite_test.go index 80371044d2..fc1d73624c 100644 --- a/pkg/util/util_suite_test.go +++ b/pkg/util/util_suite_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/pkg/util/util_test.go b/pkg/util/util_test.go index b5ccbf6ba3..be5e7fb93d 100644 --- a/pkg/util/util_test.go +++ b/pkg/util/util_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/cluster/add_remove_cluster.go b/test/e2e/cluster/add_remove_cluster.go index 31c1f3d7ac..8b49141f36 100644 --- a/test/e2e/cluster/add_remove_cluster.go +++ b/test/e2e/cluster/add_remove_cluster.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/dataplane/gateway_status.go b/test/e2e/dataplane/gateway_status.go index f3e043e1f0..a16f4f2b41 100644 --- a/test/e2e/dataplane/gateway_status.go +++ b/test/e2e/dataplane/gateway_status.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/dataplane/tcp_gn_pod_connectivity.go b/test/e2e/dataplane/tcp_gn_pod_connectivity.go index c06e342c20..e703012baa 100644 --- a/test/e2e/dataplane/tcp_gn_pod_connectivity.go +++ b/test/e2e/dataplane/tcp_gn_pod_connectivity.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/dataplane/tcp_pod_connectivity.go b/test/e2e/dataplane/tcp_pod_connectivity.go index 9260f906d6..1656f5c8b4 100644 --- a/test/e2e/dataplane/tcp_pod_connectivity.go +++ b/test/e2e/dataplane/tcp_pod_connectivity.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/e2e_test.go b/test/e2e/e2e_test.go index 58f5782b32..3211f4fd9b 100644 --- a/test/e2e/e2e_test.go +++ b/test/e2e/e2e_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/framework/framework.go b/test/e2e/framework/framework.go index dfccc13f54..b3cd0485c1 100644 --- a/test/e2e/framework/framework.go +++ b/test/e2e/framework/framework.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/framework/gateways.go b/test/e2e/framework/gateways.go index b4a4ca5143..b793e47991 100644 --- a/test/e2e/framework/gateways.go +++ b/test/e2e/framework/gateways.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others. +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/framework/submariner_resources.go b/test/e2e/framework/submariner_resources.go index ebaa84e9dc..6533857da3 100644 --- a/test/e2e/framework/submariner_resources.go +++ b/test/e2e/framework/submariner_resources.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/redundancy/gateway_failover.go b/test/e2e/redundancy/gateway_failover.go index f023e08b76..9831c1de12 100644 --- a/test/e2e/redundancy/gateway_failover.go +++ b/test/e2e/redundancy/gateway_failover.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/e2e/redundancy/route_agent_restart.go b/test/e2e/redundancy/route_agent_restart.go index bb253099ad..296c045c1d 100644 --- a/test/e2e/redundancy/route_agent_restart.go +++ b/test/e2e/redundancy/route_agent_restart.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/test/external/dataplane/connectivity.go b/test/external/dataplane/connectivity.go index fc0591dae2..a799573d09 100644 --- a/test/external/dataplane/connectivity.go +++ b/test/external/dataplane/connectivity.go @@ -1,4 +1,8 @@ /* +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. + Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at diff --git a/test/external/e2e_external_test.go b/test/external/e2e_external_test.go index 1416f7b561..b606eae728 100644 --- a/test/external/e2e_external_test.go +++ b/test/external/e2e_external_test.go @@ -1,5 +1,7 @@ /* -© 2021 Red Hat, Inc. and others +SPDX-License-Identifier: Apache-2.0 + +Copyright Contributors to the Submariner project. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.