diff --git a/plugins/flow-visibility/policy-recommendation/antrea_crd.py b/plugins/flow-visibility/policy-recommendation/antrea_crd.py index eca9ac35845..c6948ae1b58 100644 --- a/plugins/flow-visibility/policy-recommendation/antrea_crd.py +++ b/plugins/flow-visibility/policy-recommendation/antrea_crd.py @@ -1,3 +1,17 @@ +# Copyright 2022 Antrea Authors +# +# 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. + # This library is used to define Antrea Network Policy related CRDs in Python. # Code structure is following the Kubernetes Python Client library (https://github.com/kubernetes-client/python). # Could be improved by using openAPI generator in the future. diff --git a/plugins/flow-visibility/policy-recommendation/policy_recommendation_job.py b/plugins/flow-visibility/policy-recommendation/policy_recommendation_job.py index e0da193df66..7cc7b0782a0 100644 --- a/plugins/flow-visibility/policy-recommendation/policy_recommendation_job.py +++ b/plugins/flow-visibility/policy-recommendation/policy_recommendation_job.py @@ -1,3 +1,17 @@ +# Copyright 2022 Antrea Authors +# +# 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. + import antrea_crd import datetime import getopt diff --git a/plugins/flow-visibility/policy-recommendation/policy_recommendation_job_test.py b/plugins/flow-visibility/policy-recommendation/policy_recommendation_job_test.py index 5d18e185726..3beb08e61d6 100644 --- a/plugins/flow-visibility/policy-recommendation/policy_recommendation_job_test.py +++ b/plugins/flow-visibility/policy-recommendation/policy_recommendation_job_test.py @@ -1,3 +1,17 @@ +# Copyright 2022 Antrea Authors +# +# 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. + import pytest import yaml from policy_recommendation_job import * diff --git a/plugins/flow-visibility/policy-recommendation/policy_recommendation_utils.py b/plugins/flow-visibility/policy-recommendation/policy_recommendation_utils.py index 48b547007bd..2fbfc8d705a 100644 --- a/plugins/flow-visibility/policy-recommendation/policy_recommendation_utils.py +++ b/plugins/flow-visibility/policy-recommendation/policy_recommendation_utils.py @@ -1,3 +1,17 @@ +# Copyright 2022 Antrea Authors +# +# 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. + import json import yaml