diff --git a/CI/check-pynng.py b/CI/check-pynng.py index a8063dc..4368398 100644 --- a/CI/check-pynng.py +++ b/CI/check-pynng.py @@ -1,18 +1,5 @@ #!/usr/bin/env python # Copyright 2026 Fabian Ruffy -# -# 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 diff --git a/CI/common.sh b/CI/common.sh index 0243188..7a509b3 100644 --- a/CI/common.sh +++ b/CI/common.sh @@ -1,17 +1,4 @@ # Copyright 2023 Antonin Bas -# -# 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 force=0 diff --git a/CI/install-nanomsg.sh b/CI/install-nanomsg.sh index 0b54b4a..2ef1412 100755 --- a/CI/install-nanomsg.sh +++ b/CI/install-nanomsg.sh @@ -1,18 +1,5 @@ #!/bin/sh # Copyright 2023 Antonin Bas -# -# 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 diff --git a/CI/install-pynng.sh b/CI/install-pynng.sh index a4c4eb8..858a15f 100644 --- a/CI/install-pynng.sh +++ b/CI/install-pynng.sh @@ -1,18 +1,5 @@ #!/bin/sh # Copyright 2026 Fabian Ruffy -# -# 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 set -e diff --git a/CI/run_tests.sh b/CI/run_tests.sh index 4f118e1..31d591a 100755 --- a/CI/run_tests.sh +++ b/CI/run_tests.sh @@ -1,18 +1,5 @@ #!/usr/bin/env bash # Copyright 2023 Antonin Bas -# -# 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 diff --git a/example/mytests/sai_base_test.py b/example/mytests/sai_base_test.py index c08691a..eac856d 100644 --- a/example/mytests/sai_base_test.py +++ b/example/mytests/sai_base_test.py @@ -1,17 +1,4 @@ # Copyright 2015 Antonin Bas -# -# 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 """ diff --git a/example/mytests/switch.py b/example/mytests/switch.py index 6b51ee8..085108d 100644 --- a/example/mytests/switch.py +++ b/example/mytests/switch.py @@ -1,17 +1,4 @@ # Copyright 2013 Barefoot Networks, Inc. -# -# 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 """ diff --git a/example/run_client.sh b/example/run_client.sh index c81d9f6..22511d7 100755 --- a/example/run_client.sh +++ b/example/run_client.sh @@ -1,18 +1,5 @@ #!/bin/bash # Copyright 2015 Antonin Bas -# -# 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 sudo ../ptf --test-dir mytests/ --pypath $PWD \ diff --git a/ptf b/ptf index 09c171c..5f83ae5 100755 --- a/ptf +++ b/ptf @@ -1,18 +1,5 @@ #!/usr/bin/env python # Copyright 2010 The Board of Trustees of The Leland Stanford Junior University -# -# 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 # This file was derived from code in the Floodlight OFTest repository diff --git a/ptf_nn/ptf_nn_agent.py b/ptf_nn/ptf_nn_agent.py index bea939a..211a672 100644 --- a/ptf_nn/ptf_nn_agent.py +++ b/ptf_nn/ptf_nn_agent.py @@ -1,19 +1,6 @@ #!/usr/bin/env python # Copyright 2013 Barefoot Networks, Inc. -# -# 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 # diff --git a/ptf_nn/ptf_nn_test/test.py b/ptf_nn/ptf_nn_test/test.py index eadb5de..a5614f9 100644 --- a/ptf_nn/ptf_nn_test/test.py +++ b/ptf_nn/ptf_nn_test/test.py @@ -1,17 +1,4 @@ # Copyright 2016 Antonin Bas -# -# 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 import ptf diff --git a/ptf_nn/ptf_nn_test_bridge.py b/ptf_nn/ptf_nn_test_bridge.py index cb70013..a224a3b 100644 --- a/ptf_nn/ptf_nn_test_bridge.py +++ b/ptf_nn/ptf_nn_test_bridge.py @@ -1,19 +1,6 @@ #!/usr/bin/env python # Copyright 2013 Barefoot Networks, Inc. -# -# 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 # diff --git a/ptf_nn/ptf_nn_test_eth.py b/ptf_nn/ptf_nn_test_eth.py index 489e84b..7fb0ff2 100644 --- a/ptf_nn/ptf_nn_test_eth.py +++ b/ptf_nn/ptf_nn_test_eth.py @@ -1,19 +1,6 @@ #!/usr/bin/env python # Copyright 2013 Barefoot Networks, Inc. -# -# 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 # diff --git a/ptf_nn/ptf_nn_test_nn.py b/ptf_nn/ptf_nn_test_nn.py index dfdcefa..908d058 100644 --- a/ptf_nn/ptf_nn_test_nn.py +++ b/ptf_nn/ptf_nn_test_nn.py @@ -1,19 +1,6 @@ #!/usr/bin/env python # Copyright 2013 Barefoot Networks, Inc. -# -# 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 # diff --git a/ptf_nn/veth_setup.sh b/ptf_nn/veth_setup.sh index 369558a..7bef6ca 100755 --- a/ptf_nn/veth_setup.sh +++ b/ptf_nn/veth_setup.sh @@ -1,18 +1,5 @@ #!/bin/bash # Copyright 2016 Antonin Bas -# -# 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 for idx in 0 1; do diff --git a/pyproject.toml b/pyproject.toml index 80d1fba..20b6676 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,17 +1,4 @@ # Copyright 2023 Antonin Bas -# -# 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 [build-system] diff --git a/setup.py b/setup.py index 6f62184..31514d5 100755 --- a/setup.py +++ b/setup.py @@ -1,17 +1,4 @@ # Copyright 2016 Antonin Bas -# -# 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 import setuptools diff --git a/src/bf_pktpy/__init__.py b/src/bf_pktpy/__init__.py index d896587..2471236 100644 --- a/src/bf_pktpy/__init__.py +++ b/src/bf_pktpy/__init__.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 from bf_pktpy.library.specs import Ether, IP, IPv6, ARP, TCP, UDP, ICMP, MPLS diff --git a/src/bf_pktpy/__main__.py b/src/bf_pktpy/__main__.py index e0bef0c..be4635d 100644 --- a/src/bf_pktpy/__main__.py +++ b/src/bf_pktpy/__main__.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 diff --git a/src/bf_pktpy/all/__init__.py b/src/bf_pktpy/all/__init__.py index 7b1de52..325f14b 100644 --- a/src/bf_pktpy/all/__init__.py +++ b/src/bf_pktpy/all/__init__.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 diff --git a/src/bf_pktpy/build_information.py b/src/bf_pktpy/build_information.py index 48dd22f..8d4d18a 100644 --- a/src/bf_pktpy/build_information.py +++ b/src/bf_pktpy/build_information.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 from bf_pktpy.library.helpers import constants diff --git a/src/bf_pktpy/commands.py b/src/bf_pktpy/commands.py index 2fee378..e0fbf6f 100644 --- a/src/bf_pktpy/commands.py +++ b/src/bf_pktpy/commands.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/fields/__init__.py b/src/bf_pktpy/library/fields/__init__.py index 6c3d2d4..fca0f36 100644 --- a/src/bf_pktpy/library/fields/__init__.py +++ b/src/bf_pktpy/library/fields/__init__.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.fields.bit_field import BitField diff --git a/src/bf_pktpy/library/fields/bit_enum_field.py b/src/bf_pktpy/library/fields/bit_enum_field.py index 3c0dda0..8df7707 100644 --- a/src/bf_pktpy/library/fields/bit_enum_field.py +++ b/src/bf_pktpy/library/fields/bit_enum_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.fields import EnumField diff --git a/src/bf_pktpy/library/fields/bit_field.py b/src/bf_pktpy/library/fields/bit_field.py index 0b96b3d..612ed22 100644 --- a/src/bf_pktpy/library/fields/bit_field.py +++ b/src/bf_pktpy/library/fields/bit_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 import math diff --git a/src/bf_pktpy/library/fields/byte_enum_field.py b/src/bf_pktpy/library/fields/byte_enum_field.py index c07eb88..737692e 100644 --- a/src/bf_pktpy/library/fields/byte_enum_field.py +++ b/src/bf_pktpy/library/fields/byte_enum_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.fields import EnumField diff --git a/src/bf_pktpy/library/fields/byte_field.py b/src/bf_pktpy/library/fields/byte_field.py index 7cf0757..81da847 100644 --- a/src/bf_pktpy/library/fields/byte_field.py +++ b/src/bf_pktpy/library/fields/byte_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.fields.bit_field import BitField diff --git a/src/bf_pktpy/library/fields/conditional_field.py b/src/bf_pktpy/library/fields/conditional_field.py index 4c3327f..86355bf 100644 --- a/src/bf_pktpy/library/fields/conditional_field.py +++ b/src/bf_pktpy/library/fields/conditional_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.fields import Field diff --git a/src/bf_pktpy/library/fields/dest_ip_field.py b/src/bf_pktpy/library/fields/dest_ip_field.py index 2798c46..0621c8d 100644 --- a/src/bf_pktpy/library/fields/dest_ip_field.py +++ b/src/bf_pktpy/library/fields/dest_ip_field.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/fields/dest_mac_field.py b/src/bf_pktpy/library/fields/dest_mac_field.py index a14628a..9880056 100644 --- a/src/bf_pktpy/library/fields/dest_mac_field.py +++ b/src/bf_pktpy/library/fields/dest_mac_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.fields.mac_field import MACField diff --git a/src/bf_pktpy/library/fields/enum_field.py b/src/bf_pktpy/library/fields/enum_field.py index f0146c4..80068e8 100644 --- a/src/bf_pktpy/library/fields/enum_field.py +++ b/src/bf_pktpy/library/fields/enum_field.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/fields/field.py b/src/bf_pktpy/library/fields/field.py index e95b8ec..f6ec9b1 100644 --- a/src/bf_pktpy/library/fields/field.py +++ b/src/bf_pktpy/library/fields/field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 import abc diff --git a/src/bf_pktpy/library/fields/flag_value.py b/src/bf_pktpy/library/fields/flag_value.py index ffcdebc..8047da1 100644 --- a/src/bf_pktpy/library/fields/flag_value.py +++ b/src/bf_pktpy/library/fields/flag_value.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/fields/flags_field.py b/src/bf_pktpy/library/fields/flags_field.py index e617b93..82875d2 100644 --- a/src/bf_pktpy/library/fields/flags_field.py +++ b/src/bf_pktpy/library/fields/flags_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 import functools diff --git a/src/bf_pktpy/library/fields/int_field.py b/src/bf_pktpy/library/fields/int_field.py index ef05af0..9ccf427 100644 --- a/src/bf_pktpy/library/fields/int_field.py +++ b/src/bf_pktpy/library/fields/int_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.fields.bit_field import BitField diff --git a/src/bf_pktpy/library/fields/ip_field.py b/src/bf_pktpy/library/fields/ip_field.py index 7a1ebca..c9006af 100644 --- a/src/bf_pktpy/library/fields/ip_field.py +++ b/src/bf_pktpy/library/fields/ip_field.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/fields/ip_list_field.py b/src/bf_pktpy/library/fields/ip_list_field.py index 0e1750c..7f3fafc 100644 --- a/src/bf_pktpy/library/fields/ip_list_field.py +++ b/src/bf_pktpy/library/fields/ip_list_field.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/fields/ipoptions_list_field.py b/src/bf_pktpy/library/fields/ipoptions_list_field.py index b7a8567..5dc1dde 100644 --- a/src/bf_pktpy/library/fields/ipoptions_list_field.py +++ b/src/bf_pktpy/library/fields/ipoptions_list_field.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/fields/mac_field.py b/src/bf_pktpy/library/fields/mac_field.py index dbb0a08..f14c9d8 100644 --- a/src/bf_pktpy/library/fields/mac_field.py +++ b/src/bf_pktpy/library/fields/mac_field.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/fields/short_enum_field.py b/src/bf_pktpy/library/fields/short_enum_field.py index 5374ce4..45c8b32 100644 --- a/src/bf_pktpy/library/fields/short_enum_field.py +++ b/src/bf_pktpy/library/fields/short_enum_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.fields import EnumField diff --git a/src/bf_pktpy/library/fields/short_field.py b/src/bf_pktpy/library/fields/short_field.py index 897e49a..7859c1b 100644 --- a/src/bf_pktpy/library/fields/short_field.py +++ b/src/bf_pktpy/library/fields/short_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.fields.bit_field import BitField diff --git a/src/bf_pktpy/library/fields/source_ip_field.py b/src/bf_pktpy/library/fields/source_ip_field.py index 0ecd389..08679d6 100644 --- a/src/bf_pktpy/library/fields/source_ip_field.py +++ b/src/bf_pktpy/library/fields/source_ip_field.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/fields/source_mac_field.py b/src/bf_pktpy/library/fields/source_mac_field.py index 67f12bd..b41b973 100644 --- a/src/bf_pktpy/library/fields/source_mac_field.py +++ b/src/bf_pktpy/library/fields/source_mac_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.helpers.mac import get_src_mac_address diff --git a/src/bf_pktpy/library/fields/str_field.py b/src/bf_pktpy/library/fields/str_field.py index 7531bb3..1778610 100644 --- a/src/bf_pktpy/library/fields/str_field.py +++ b/src/bf_pktpy/library/fields/str_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 import binascii diff --git a/src/bf_pktpy/library/fields/three_bytes_field.py b/src/bf_pktpy/library/fields/three_bytes_field.py index e64f999..a5275c8 100644 --- a/src/bf_pktpy/library/fields/three_bytes_field.py +++ b/src/bf_pktpy/library/fields/three_bytes_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.fields.bit_field import BitField diff --git a/src/bf_pktpy/library/fields/x_3byte_field.py b/src/bf_pktpy/library/fields/x_3byte_field.py index f7a6b01..8f9427a 100644 --- a/src/bf_pktpy/library/fields/x_3byte_field.py +++ b/src/bf_pktpy/library/fields/x_3byte_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.fields.x_bit_field import XBitField diff --git a/src/bf_pktpy/library/fields/x_bit_field.py b/src/bf_pktpy/library/fields/x_bit_field.py index 64e8bc9..b3d71e4 100644 --- a/src/bf_pktpy/library/fields/x_bit_field.py +++ b/src/bf_pktpy/library/fields/x_bit_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.fields.bit_field import BitField diff --git a/src/bf_pktpy/library/fields/x_byte_field.py b/src/bf_pktpy/library/fields/x_byte_field.py index 793dc3a..f48a104 100644 --- a/src/bf_pktpy/library/fields/x_byte_field.py +++ b/src/bf_pktpy/library/fields/x_byte_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.fields.x_bit_field import XBitField diff --git a/src/bf_pktpy/library/fields/x_int_field.py b/src/bf_pktpy/library/fields/x_int_field.py index f1cdf1e..e299714 100644 --- a/src/bf_pktpy/library/fields/x_int_field.py +++ b/src/bf_pktpy/library/fields/x_int_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.fields.x_bit_field import XBitField diff --git a/src/bf_pktpy/library/fields/x_long_field.py b/src/bf_pktpy/library/fields/x_long_field.py index d034670..e8a7ebe 100644 --- a/src/bf_pktpy/library/fields/x_long_field.py +++ b/src/bf_pktpy/library/fields/x_long_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.fields.x_bit_field import XBitField diff --git a/src/bf_pktpy/library/fields/x_short_enum_field.py b/src/bf_pktpy/library/fields/x_short_enum_field.py index ea8378d..544c495 100644 --- a/src/bf_pktpy/library/fields/x_short_enum_field.py +++ b/src/bf_pktpy/library/fields/x_short_enum_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.fields import EnumField diff --git a/src/bf_pktpy/library/fields/x_short_field.py b/src/bf_pktpy/library/fields/x_short_field.py index eb88620..5e02b66 100644 --- a/src/bf_pktpy/library/fields/x_short_field.py +++ b/src/bf_pktpy/library/fields/x_short_field.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.fields.x_bit_field import XBitField diff --git a/src/bf_pktpy/library/helpers/bin.py b/src/bf_pktpy/library/helpers/bin.py index 6a9fee9..357e2a6 100644 --- a/src/bf_pktpy/library/helpers/bin.py +++ b/src/bf_pktpy/library/helpers/bin.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 diff --git a/src/bf_pktpy/library/helpers/bytes2hex.py b/src/bf_pktpy/library/helpers/bytes2hex.py index dd57aa9..69842cb 100644 --- a/src/bf_pktpy/library/helpers/bytes2hex.py +++ b/src/bf_pktpy/library/helpers/bytes2hex.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 diff --git a/src/bf_pktpy/library/helpers/chksum.py b/src/bf_pktpy/library/helpers/chksum.py index 1b9b9a0..73c4bab 100644 --- a/src/bf_pktpy/library/helpers/chksum.py +++ b/src/bf_pktpy/library/helpers/chksum.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 diff --git a/src/bf_pktpy/library/helpers/constants.py b/src/bf_pktpy/library/helpers/constants.py index 664bbfe..38d914b 100644 --- a/src/bf_pktpy/library/helpers/constants.py +++ b/src/bf_pktpy/library/helpers/constants.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 logo = """ diff --git a/src/bf_pktpy/library/helpers/ether_types.py b/src/bf_pktpy/library/helpers/ether_types.py index 6de08bf..4b58b34 100644 --- a/src/bf_pktpy/library/helpers/ether_types.py +++ b/src/bf_pktpy/library/helpers/ether_types.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/helpers/get_if_list.py b/src/bf_pktpy/library/helpers/get_if_list.py index 458f7f7..583e4f8 100644 --- a/src/bf_pktpy/library/helpers/get_if_list.py +++ b/src/bf_pktpy/library/helpers/get_if_list.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 import psutil diff --git a/src/bf_pktpy/library/helpers/ip.py b/src/bf_pktpy/library/helpers/ip.py index dc70a9e..a0704ea 100644 --- a/src/bf_pktpy/library/helpers/ip.py +++ b/src/bf_pktpy/library/helpers/ip.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/helpers/ip_types.py b/src/bf_pktpy/library/helpers/ip_types.py index 8fdfd38..9630c13 100644 --- a/src/bf_pktpy/library/helpers/ip_types.py +++ b/src/bf_pktpy/library/helpers/ip_types.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 ITYPES = { diff --git a/src/bf_pktpy/library/helpers/mac.py b/src/bf_pktpy/library/helpers/mac.py index 438e9ac..c4bdf21 100644 --- a/src/bf_pktpy/library/helpers/mac.py +++ b/src/bf_pktpy/library/helpers/mac.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 import binascii import getmac diff --git a/src/bf_pktpy/library/specs/__init__.py b/src/bf_pktpy/library/specs/__init__.py index d15e2e7..abe9acf 100644 --- a/src/bf_pktpy/library/specs/__init__.py +++ b/src/bf_pktpy/library/specs/__init__.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 from bf_pktpy.library.specs.ethernet import Ether diff --git a/src/bf_pktpy/library/specs/base.py b/src/bf_pktpy/library/specs/base.py index ac09bb5..b34e7ee 100644 --- a/src/bf_pktpy/library/specs/base.py +++ b/src/bf_pktpy/library/specs/base.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/bfd.py b/src/bf_pktpy/library/specs/bfd.py index 44d07fc..776f113 100644 --- a/src/bf_pktpy/library/specs/bfd.py +++ b/src/bf_pktpy/library/specs/bfd.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/bootp.py b/src/bf_pktpy/library/specs/bootp.py index ee0bc02..7019708 100644 --- a/src/bf_pktpy/library/specs/bootp.py +++ b/src/bf_pktpy/library/specs/bootp.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/constant.py b/src/bf_pktpy/library/specs/constant.py index 54f45c4..69e5555 100644 --- a/src/bf_pktpy/library/specs/constant.py +++ b/src/bf_pktpy/library/specs/constant.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/container.py b/src/bf_pktpy/library/specs/container.py index 888e4dd..a7a9b8f 100644 --- a/src/bf_pktpy/library/specs/container.py +++ b/src/bf_pktpy/library/specs/container.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 diff --git a/src/bf_pktpy/library/specs/dhcp.py b/src/bf_pktpy/library/specs/dhcp.py index 31e2d19..a9e293e 100644 --- a/src/bf_pktpy/library/specs/dhcp.py +++ b/src/bf_pktpy/library/specs/dhcp.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/dot1q.py b/src/bf_pktpy/library/specs/dot1q.py index 8f26d4a..38b1a9b 100644 --- a/src/bf_pktpy/library/specs/dot1q.py +++ b/src/bf_pktpy/library/specs/dot1q.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/ethernet.py b/src/bf_pktpy/library/specs/ethernet.py index 5ba703e..0dbeb0a 100644 --- a/src/bf_pktpy/library/specs/ethernet.py +++ b/src/bf_pktpy/library/specs/ethernet.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/extends/l4checksum.py b/src/bf_pktpy/library/specs/extends/l4checksum.py index 5fec872..ddf9522 100644 --- a/src/bf_pktpy/library/specs/extends/l4checksum.py +++ b/src/bf_pktpy/library/specs/extends/l4checksum.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 from bf_pktpy.library.helpers.chksum import checksum diff --git a/src/bf_pktpy/library/specs/gre.py b/src/bf_pktpy/library/specs/gre.py index 9dc45f4..da21d2c 100644 --- a/src/bf_pktpy/library/specs/gre.py +++ b/src/bf_pktpy/library/specs/gre.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/icmp.py b/src/bf_pktpy/library/specs/icmp.py index ec1f0f4..622448f 100644 --- a/src/bf_pktpy/library/specs/icmp.py +++ b/src/bf_pktpy/library/specs/icmp.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/ipv4.py b/src/bf_pktpy/library/specs/ipv4.py index b8ec80c..7fd2adc 100644 --- a/src/bf_pktpy/library/specs/ipv4.py +++ b/src/bf_pktpy/library/specs/ipv4.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/ipv6.py b/src/bf_pktpy/library/specs/ipv6.py index 4595764..dd049ef 100644 --- a/src/bf_pktpy/library/specs/ipv6.py +++ b/src/bf_pktpy/library/specs/ipv6.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/packet.py b/src/bf_pktpy/library/specs/packet.py index 843a35d..81af3df 100644 --- a/src/bf_pktpy/library/specs/packet.py +++ b/src/bf_pktpy/library/specs/packet.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/pretty.py b/src/bf_pktpy/library/specs/pretty.py index 54600bc..d7bfa9b 100644 --- a/src/bf_pktpy/library/specs/pretty.py +++ b/src/bf_pktpy/library/specs/pretty.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/tcp.py b/src/bf_pktpy/library/specs/tcp.py index bd6801a..cb8803d 100644 --- a/src/bf_pktpy/library/specs/tcp.py +++ b/src/bf_pktpy/library/specs/tcp.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/__init__.py b/src/bf_pktpy/library/specs/templates/__init__.py index 506e318..635d045 100644 --- a/src/bf_pktpy/library/specs/templates/__init__.py +++ b/src/bf_pktpy/library/specs/templates/__init__.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 from bf_pktpy.library.specs.templates.ethernet import Ether as EtherTemplate diff --git a/src/bf_pktpy/library/specs/templates/arp.py b/src/bf_pktpy/library/specs/templates/arp.py index acbc7f0..ce87b88 100644 --- a/src/bf_pktpy/library/specs/templates/arp.py +++ b/src/bf_pktpy/library/specs/templates/arp.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/bfd.py b/src/bf_pktpy/library/specs/templates/bfd.py index e6058dd..b15490b 100644 --- a/src/bf_pktpy/library/specs/templates/bfd.py +++ b/src/bf_pktpy/library/specs/templates/bfd.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/bootp.py b/src/bf_pktpy/library/specs/templates/bootp.py index 7022ce3..7a21120 100644 --- a/src/bf_pktpy/library/specs/templates/bootp.py +++ b/src/bf_pktpy/library/specs/templates/bootp.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/control.py b/src/bf_pktpy/library/specs/templates/control.py index ecabde6..22ef362 100644 --- a/src/bf_pktpy/library/specs/templates/control.py +++ b/src/bf_pktpy/library/specs/templates/control.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/cpu/__init__.py b/src/bf_pktpy/library/specs/templates/cpu/__init__.py index 9fa3d31..ee4ac3f 100644 --- a/src/bf_pktpy/library/specs/templates/cpu/__init__.py +++ b/src/bf_pktpy/library/specs/templates/cpu/__init__.py @@ -1,15 +1,4 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 from bf_pktpy.library.specs.templates.cpu.dtel_report_hdr import DtelReportHdr diff --git a/src/bf_pktpy/library/specs/templates/cpu/dtel_report_hdr.py b/src/bf_pktpy/library/specs/templates/cpu/dtel_report_hdr.py index 9794fbf..14825d8 100644 --- a/src/bf_pktpy/library/specs/templates/cpu/dtel_report_hdr.py +++ b/src/bf_pktpy/library/specs/templates/cpu/dtel_report_hdr.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/cpu/dtel_report_v2_hdr.py b/src/bf_pktpy/library/specs/templates/cpu/dtel_report_v2_hdr.py index 361b78b..0ff0cd6 100644 --- a/src/bf_pktpy/library/specs/templates/cpu/dtel_report_v2_hdr.py +++ b/src/bf_pktpy/library/specs/templates/cpu/dtel_report_v2_hdr.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/cpu/fabric_cpu_bfd_event_header.py b/src/bf_pktpy/library/specs/templates/cpu/fabric_cpu_bfd_event_header.py index 1f316ad..dbfa1bb 100644 --- a/src/bf_pktpy/library/specs/templates/cpu/fabric_cpu_bfd_event_header.py +++ b/src/bf_pktpy/library/specs/templates/cpu/fabric_cpu_bfd_event_header.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/cpu/fabric_cpu_header.py b/src/bf_pktpy/library/specs/templates/cpu/fabric_cpu_header.py index ea46e9c..e2820a5 100644 --- a/src/bf_pktpy/library/specs/templates/cpu/fabric_cpu_header.py +++ b/src/bf_pktpy/library/specs/templates/cpu/fabric_cpu_header.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/cpu/fabric_cpu_sflow_header.py b/src/bf_pktpy/library/specs/templates/cpu/fabric_cpu_sflow_header.py index f03355d..18e47af 100644 --- a/src/bf_pktpy/library/specs/templates/cpu/fabric_cpu_sflow_header.py +++ b/src/bf_pktpy/library/specs/templates/cpu/fabric_cpu_sflow_header.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/cpu/fabric_cpu_timestamp_header.py b/src/bf_pktpy/library/specs/templates/cpu/fabric_cpu_timestamp_header.py index b48188f..1ce855d 100644 --- a/src/bf_pktpy/library/specs/templates/cpu/fabric_cpu_timestamp_header.py +++ b/src/bf_pktpy/library/specs/templates/cpu/fabric_cpu_timestamp_header.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/cpu/fabric_header.py b/src/bf_pktpy/library/specs/templates/cpu/fabric_header.py index f602364..58185c7 100644 --- a/src/bf_pktpy/library/specs/templates/cpu/fabric_header.py +++ b/src/bf_pktpy/library/specs/templates/cpu/fabric_header.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/cpu/fabric_multicast_header.py b/src/bf_pktpy/library/specs/templates/cpu/fabric_multicast_header.py index 39a217a..313064e 100644 --- a/src/bf_pktpy/library/specs/templates/cpu/fabric_multicast_header.py +++ b/src/bf_pktpy/library/specs/templates/cpu/fabric_multicast_header.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/cpu/fabric_payload_header.py b/src/bf_pktpy/library/specs/templates/cpu/fabric_payload_header.py index 9e31c83..d6d363c 100644 --- a/src/bf_pktpy/library/specs/templates/cpu/fabric_payload_header.py +++ b/src/bf_pktpy/library/specs/templates/cpu/fabric_payload_header.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/cpu/fabric_unicast_header.py b/src/bf_pktpy/library/specs/templates/cpu/fabric_unicast_header.py index 7424a89..9219107 100644 --- a/src/bf_pktpy/library/specs/templates/cpu/fabric_unicast_header.py +++ b/src/bf_pktpy/library/specs/templates/cpu/fabric_unicast_header.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/cpu/mod_header.py b/src/bf_pktpy/library/specs/templates/cpu/mod_header.py index 02959bf..9ff8446 100644 --- a/src/bf_pktpy/library/specs/templates/cpu/mod_header.py +++ b/src/bf_pktpy/library/specs/templates/cpu/mod_header.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/cpu/postcard_header.py b/src/bf_pktpy/library/specs/templates/cpu/postcard_header.py index 279f719..4edd19a 100644 --- a/src/bf_pktpy/library/specs/templates/cpu/postcard_header.py +++ b/src/bf_pktpy/library/specs/templates/cpu/postcard_header.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/dhcp.py b/src/bf_pktpy/library/specs/templates/dhcp.py index 10c7b92..1544eac 100644 --- a/src/bf_pktpy/library/specs/templates/dhcp.py +++ b/src/bf_pktpy/library/specs/templates/dhcp.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/dot1ad.py b/src/bf_pktpy/library/specs/templates/dot1ad.py index d34f2ff..2c4b107 100644 --- a/src/bf_pktpy/library/specs/templates/dot1ad.py +++ b/src/bf_pktpy/library/specs/templates/dot1ad.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/dot1q.py b/src/bf_pktpy/library/specs/templates/dot1q.py index 2d06df0..a38e435 100644 --- a/src/bf_pktpy/library/specs/templates/dot1q.py +++ b/src/bf_pktpy/library/specs/templates/dot1q.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/erspan/__init__.py b/src/bf_pktpy/library/specs/templates/erspan/__init__.py index 9927c6f..4bd256c 100644 --- a/src/bf_pktpy/library/specs/templates/erspan/__init__.py +++ b/src/bf_pktpy/library/specs/templates/erspan/__init__.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 from bf_pktpy.library.specs.templates.erspan.erspan import ERSPAN diff --git a/src/bf_pktpy/library/specs/templates/erspan/alternative/erspan.py b/src/bf_pktpy/library/specs/templates/erspan/alternative/erspan.py index 0a7b193..fb96b0e 100644 --- a/src/bf_pktpy/library/specs/templates/erspan/alternative/erspan.py +++ b/src/bf_pktpy/library/specs/templates/erspan/alternative/erspan.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/erspan/alternative/erspan_iii.py b/src/bf_pktpy/library/specs/templates/erspan/alternative/erspan_iii.py index 5bf994a..6d6a7c8 100644 --- a/src/bf_pktpy/library/specs/templates/erspan/alternative/erspan_iii.py +++ b/src/bf_pktpy/library/specs/templates/erspan/alternative/erspan_iii.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/erspan/alternative/platform_specific.py b/src/bf_pktpy/library/specs/templates/erspan/alternative/platform_specific.py index de61c14..52fcdb5 100644 --- a/src/bf_pktpy/library/specs/templates/erspan/alternative/platform_specific.py +++ b/src/bf_pktpy/library/specs/templates/erspan/alternative/platform_specific.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/erspan/erspan.py b/src/bf_pktpy/library/specs/templates/erspan/erspan.py index 25ced8b..719e172 100644 --- a/src/bf_pktpy/library/specs/templates/erspan/erspan.py +++ b/src/bf_pktpy/library/specs/templates/erspan/erspan.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/erspan/erspan_ii.py b/src/bf_pktpy/library/specs/templates/erspan/erspan_ii.py index 8b956f8..2542ca6 100644 --- a/src/bf_pktpy/library/specs/templates/erspan/erspan_ii.py +++ b/src/bf_pktpy/library/specs/templates/erspan/erspan_ii.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/erspan/erspan_iii.py b/src/bf_pktpy/library/specs/templates/erspan/erspan_iii.py index 7c31794..631308f 100644 --- a/src/bf_pktpy/library/specs/templates/erspan/erspan_iii.py +++ b/src/bf_pktpy/library/specs/templates/erspan/erspan_iii.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/erspan/erspan_platform_specific.py b/src/bf_pktpy/library/specs/templates/erspan/erspan_platform_specific.py index b766484..edc09e7 100644 --- a/src/bf_pktpy/library/specs/templates/erspan/erspan_platform_specific.py +++ b/src/bf_pktpy/library/specs/templates/erspan/erspan_platform_specific.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/ethernet.py b/src/bf_pktpy/library/specs/templates/ethernet.py index f5399dd..e593529 100644 --- a/src/bf_pktpy/library/specs/templates/ethernet.py +++ b/src/bf_pktpy/library/specs/templates/ethernet.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/frame.py b/src/bf_pktpy/library/specs/templates/frame.py index a98c19e..74eeaf9 100644 --- a/src/bf_pktpy/library/specs/templates/frame.py +++ b/src/bf_pktpy/library/specs/templates/frame.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/gre.py b/src/bf_pktpy/library/specs/templates/gre.py index 4b8d5c7..fe38173 100644 --- a/src/bf_pktpy/library/specs/templates/gre.py +++ b/src/bf_pktpy/library/specs/templates/gre.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/icmp.py b/src/bf_pktpy/library/specs/templates/icmp.py index 5aa269f..c0b6f61 100644 --- a/src/bf_pktpy/library/specs/templates/icmp.py +++ b/src/bf_pktpy/library/specs/templates/icmp.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/icmpv6_unknown.py b/src/bf_pktpy/library/specs/templates/icmpv6_unknown.py index 571de84..f4c2ffe 100644 --- a/src/bf_pktpy/library/specs/templates/icmpv6_unknown.py +++ b/src/bf_pktpy/library/specs/templates/icmpv6_unknown.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/igmp.py b/src/bf_pktpy/library/specs/templates/igmp.py index cf0f9bd..5246ec5 100644 --- a/src/bf_pktpy/library/specs/templates/igmp.py +++ b/src/bf_pktpy/library/specs/templates/igmp.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/ipoption.py b/src/bf_pktpy/library/specs/templates/ipoption.py index 58e711b..5abc2f8 100644 --- a/src/bf_pktpy/library/specs/templates/ipoption.py +++ b/src/bf_pktpy/library/specs/templates/ipoption.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/ipv4.py b/src/bf_pktpy/library/specs/templates/ipv4.py index 26b5bcd..e612a50 100644 --- a/src/bf_pktpy/library/specs/templates/ipv4.py +++ b/src/bf_pktpy/library/specs/templates/ipv4.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/ipv6.py b/src/bf_pktpy/library/specs/templates/ipv6.py index eebd633..8bd1627 100644 --- a/src/bf_pktpy/library/specs/templates/ipv6.py +++ b/src/bf_pktpy/library/specs/templates/ipv6.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/ipv6_ext_hdr_routing.py b/src/bf_pktpy/library/specs/templates/ipv6_ext_hdr_routing.py index c3c6ed6..57275dd 100644 --- a/src/bf_pktpy/library/specs/templates/ipv6_ext_hdr_routing.py +++ b/src/bf_pktpy/library/specs/templates/ipv6_ext_hdr_routing.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/mpls.py b/src/bf_pktpy/library/specs/templates/mpls.py index b67c59e..5fb469b 100644 --- a/src/bf_pktpy/library/specs/templates/mpls.py +++ b/src/bf_pktpy/library/specs/templates/mpls.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/payload.py b/src/bf_pktpy/library/specs/templates/payload.py index f681dbc..cbb6ab2 100644 --- a/src/bf_pktpy/library/specs/templates/payload.py +++ b/src/bf_pktpy/library/specs/templates/payload.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/sfc/__init__.py b/src/bf_pktpy/library/specs/templates/sfc/__init__.py index 5fe15f2..9eeb504 100644 --- a/src/bf_pktpy/library/specs/templates/sfc/__init__.py +++ b/src/bf_pktpy/library/specs/templates/sfc/__init__.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 from bf_pktpy.library.specs.templates.sfc.mac_control_class_based_flow_control import ( diff --git a/src/bf_pktpy/library/specs/templates/sfc/mac_control_class_based_flow_control.py b/src/bf_pktpy/library/specs/templates/sfc/mac_control_class_based_flow_control.py index 4be26b2..d7a6edc 100644 --- a/src/bf_pktpy/library/specs/templates/sfc/mac_control_class_based_flow_control.py +++ b/src/bf_pktpy/library/specs/templates/sfc/mac_control_class_based_flow_control.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/sfc/sfc_cpu_header.py b/src/bf_pktpy/library/specs/templates/sfc/sfc_cpu_header.py index c809378..d6bc4b6 100644 --- a/src/bf_pktpy/library/specs/templates/sfc/sfc_cpu_header.py +++ b/src/bf_pktpy/library/specs/templates/sfc/sfc_cpu_header.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/sfc/sfc_fabric_header.py b/src/bf_pktpy/library/specs/templates/sfc/sfc_fabric_header.py index 29d3e94..e168b52 100644 --- a/src/bf_pktpy/library/specs/templates/sfc/sfc_fabric_header.py +++ b/src/bf_pktpy/library/specs/templates/sfc/sfc_fabric_header.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/sfc/sfc_pause.py b/src/bf_pktpy/library/specs/templates/sfc/sfc_pause.py index 6ef27ad..d3bf5b2 100644 --- a/src/bf_pktpy/library/specs/templates/sfc/sfc_pause.py +++ b/src/bf_pktpy/library/specs/templates/sfc/sfc_pause.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/sfc/sfc_roce.py b/src/bf_pktpy/library/specs/templates/sfc/sfc_roce.py index 40c2a66..ec88342 100644 --- a/src/bf_pktpy/library/specs/templates/sfc/sfc_roce.py +++ b/src/bf_pktpy/library/specs/templates/sfc/sfc_roce.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/tcp.py b/src/bf_pktpy/library/specs/templates/tcp.py index a547b1e..495e148 100644 --- a/src/bf_pktpy/library/specs/templates/tcp.py +++ b/src/bf_pktpy/library/specs/templates/tcp.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/tcpoption.py b/src/bf_pktpy/library/specs/templates/tcpoption.py index ab8c410..e4c7314 100644 --- a/src/bf_pktpy/library/specs/templates/tcpoption.py +++ b/src/bf_pktpy/library/specs/templates/tcpoption.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/udp.py b/src/bf_pktpy/library/specs/templates/udp.py index 5cdea80..140cefd 100644 --- a/src/bf_pktpy/library/specs/templates/udp.py +++ b/src/bf_pktpy/library/specs/templates/udp.py @@ -2,17 +2,6 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/vxlan.py b/src/bf_pktpy/library/specs/templates/vxlan.py index bccd2d7..6a4d0c6 100644 --- a/src/bf_pktpy/library/specs/templates/vxlan.py +++ b/src/bf_pktpy/library/specs/templates/vxlan.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/templates/xnt/__init__.py b/src/bf_pktpy/library/specs/templates/xnt/__init__.py index 4d81ac7..52b2977 100644 --- a/src/bf_pktpy/library/specs/templates/xnt/__init__.py +++ b/src/bf_pktpy/library/specs/templates/xnt/__init__.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 from bf_pktpy.library.specs.templates.xnt.int_meta import XntIntMeta diff --git a/src/bf_pktpy/library/specs/udp.py b/src/bf_pktpy/library/specs/udp.py index 6e98699..fdbe278 100644 --- a/src/bf_pktpy/library/specs/udp.py +++ b/src/bf_pktpy/library/specs/udp.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/validate.py b/src/bf_pktpy/library/specs/validate.py index 513d9d4..264781f 100644 --- a/src/bf_pktpy/library/specs/validate.py +++ b/src/bf_pktpy/library/specs/validate.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/specs/validate_sport_dport.py b/src/bf_pktpy/library/specs/validate_sport_dport.py index 1dbd9ca..227cc26 100644 --- a/src/bf_pktpy/library/specs/validate_sport_dport.py +++ b/src/bf_pktpy/library/specs/validate_sport_dport.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 diff --git a/src/bf_pktpy/library/specs/validate_src_dst.py b/src/bf_pktpy/library/specs/validate_src_dst.py index d1f5c9c..a346858 100644 --- a/src/bf_pktpy/library/specs/validate_src_dst.py +++ b/src/bf_pktpy/library/specs/validate_src_dst.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 import ipaddress diff --git a/src/bf_pktpy/library/utils/__init__.py b/src/bf_pktpy/library/utils/__init__.py index 0bf502a..e9f9f25 100644 --- a/src/bf_pktpy/library/utils/__init__.py +++ b/src/bf_pktpy/library/utils/__init__.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/utils/answer.py b/src/bf_pktpy/library/utils/answer.py index 73bb74b..ea890d8 100644 --- a/src/bf_pktpy/library/utils/answer.py +++ b/src/bf_pktpy/library/utils/answer.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/utils/bridge_and_sniff.py b/src/bf_pktpy/library/utils/bridge_and_sniff.py index 8dea17f..52f0406 100644 --- a/src/bf_pktpy/library/utils/bridge_and_sniff.py +++ b/src/bf_pktpy/library/utils/bridge_and_sniff.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/utils/decoder.py b/src/bf_pktpy/library/utils/decoder.py index 59c23fc..65613b4 100644 --- a/src/bf_pktpy/library/utils/decoder.py +++ b/src/bf_pktpy/library/utils/decoder.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/utils/hexdump.py b/src/bf_pktpy/library/utils/hexdump.py index 907f14c..01f2db6 100644 --- a/src/bf_pktpy/library/utils/hexdump.py +++ b/src/bf_pktpy/library/utils/hexdump.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 diff --git a/src/bf_pktpy/library/utils/interface.py b/src/bf_pktpy/library/utils/interface.py index 830d5ec..07140e0 100644 --- a/src/bf_pktpy/library/utils/interface.py +++ b/src/bf_pktpy/library/utils/interface.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/utils/listener.py b/src/bf_pktpy/library/utils/listener.py index ff85288..f71425e 100644 --- a/src/bf_pktpy/library/utils/listener.py +++ b/src/bf_pktpy/library/utils/listener.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/utils/ls.py b/src/bf_pktpy/library/utils/ls.py index 71aa9cb..5b595df 100644 --- a/src/bf_pktpy/library/utils/ls.py +++ b/src/bf_pktpy/library/utils/ls.py @@ -1,15 +1,4 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 import six import tabulate diff --git a/src/bf_pktpy/library/utils/sniff.py b/src/bf_pktpy/library/utils/sniff.py index bfa7341..08722be 100644 --- a/src/bf_pktpy/library/utils/sniff.py +++ b/src/bf_pktpy/library/utils/sniff.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/utils/stream.py b/src/bf_pktpy/library/utils/stream.py index 99f5fe8..7fd2d75 100644 --- a/src/bf_pktpy/library/utils/stream.py +++ b/src/bf_pktpy/library/utils/stream.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/utils/tool.py b/src/bf_pktpy/library/utils/tool.py index d765035..c17b0ba 100644 --- a/src/bf_pktpy/library/utils/tool.py +++ b/src/bf_pktpy/library/utils/tool.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/bf_pktpy/library/validators/__init__.py b/src/bf_pktpy/library/validators/__init__.py index 63059cb..8549e4e 100644 --- a/src/bf_pktpy/library/validators/__init__.py +++ b/src/bf_pktpy/library/validators/__init__.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 import warnings diff --git a/src/bf_pktpy/main.py b/src/bf_pktpy/main.py index b050f37..295b306 100644 --- a/src/bf_pktpy/main.py +++ b/src/bf_pktpy/main.py @@ -1,15 +1,4 @@ # Copyright (c) 2022 Intel Corporation. -# -# 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 from six import print_ diff --git a/src/bf_pktpy/packets/__init__.py b/src/bf_pktpy/packets/__init__.py index f1eed28..13316b9 100644 --- a/src/bf_pktpy/packets/__init__.py +++ b/src/bf_pktpy/packets/__init__.py @@ -1,17 +1,4 @@ # Copyright 2021 Intel Corporation -# -# 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 from bf_pktpy.library.specs.base import Base diff --git a/src/bf_pktpy/ptf/packet_pktpy.py b/src/bf_pktpy/ptf/packet_pktpy.py index f372be0..b4db78f 100644 --- a/src/bf_pktpy/ptf/packet_pktpy.py +++ b/src/bf_pktpy/ptf/packet_pktpy.py @@ -2,17 +2,6 @@ # Copyright (c) 2021 Intel Corporation. -# -# 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 ############################################################################### diff --git a/src/ptf/__init__.py b/src/ptf/__init__.py index cad9429..a7cb9fc 100644 --- a/src/ptf/__init__.py +++ b/src/ptf/__init__.py @@ -1,17 +1,4 @@ # Copyright 2010 The Board of Trustees of The Leland Stanford Junior University -# -# 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 # This file was derived from code in the Floodlight OFTest repository diff --git a/src/ptf/afpacket.py b/src/ptf/afpacket.py index b7e14f1..ddf1e71 100644 --- a/src/ptf/afpacket.py +++ b/src/ptf/afpacket.py @@ -1,17 +1,4 @@ # Copyright 2010 The Board of Trustees of The Leland Stanford Junior University -# -# 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 # This file was derived from code in the Floodlight OFTest repository diff --git a/src/ptf/base_tests.py b/src/ptf/base_tests.py index 7e716ae..04d0025 100644 --- a/src/ptf/base_tests.py +++ b/src/ptf/base_tests.py @@ -1,17 +1,4 @@ # Copyright 2010 The Board of Trustees of The Leland Stanford Junior University -# -# 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 # This file was derived from code in the Floodlight OFTest repository diff --git a/src/ptf/dataplane.py b/src/ptf/dataplane.py index c638cac..25767ea 100644 --- a/src/ptf/dataplane.py +++ b/src/ptf/dataplane.py @@ -1,17 +1,4 @@ # Copyright 2010 The Board of Trustees of The Leland Stanford Junior University -# -# 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 # This file was derived from code in the Floodlight OFTest repository diff --git a/src/ptf/mask.py b/src/ptf/mask.py index 2c28d07..d928379 100644 --- a/src/ptf/mask.py +++ b/src/ptf/mask.py @@ -1,17 +1,4 @@ # Copyright 2015 Antonin Bas -# -# 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 import warnings diff --git a/src/ptf/netutils.py b/src/ptf/netutils.py index df96725..a161c66 100644 --- a/src/ptf/netutils.py +++ b/src/ptf/netutils.py @@ -1,17 +1,4 @@ # Copyright 2025 Andy Fingerhut -# -# 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 # Note: Earlier versions of this file were licensed with a copyleft diff --git a/src/ptf/packet.py b/src/ptf/packet.py index dc19e9a..a37bb71 100644 --- a/src/ptf/packet.py +++ b/src/ptf/packet.py @@ -1,17 +1,4 @@ # Copyright 2010 The Board of Trustees of The Leland Stanford Junior University -# -# 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 # This file was derived from code in the Floodlight OFTest repository diff --git a/src/ptf/packet_scapy.py b/src/ptf/packet_scapy.py index 5ecce3e..dd4c32b 100644 --- a/src/ptf/packet_scapy.py +++ b/src/ptf/packet_scapy.py @@ -1,18 +1,5 @@ # Copyright 2010 The Board of Trustees of The Leland Stanford Junior University # Copyright (c) 2012, 2013 Big Switch Networks, Inc. -# -# 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 # It is not clear whether this file was derived from code in the diff --git a/src/ptf/parse.py b/src/ptf/parse.py index d92d36a..95cf20b 100644 --- a/src/ptf/parse.py +++ b/src/ptf/parse.py @@ -1,17 +1,4 @@ # Copyright 2010 The Board of Trustees of The Leland Stanford Junior University -# -# 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 # This file was derived from code in the Floodlight OFTest repository diff --git a/src/ptf/pcap_writer.py b/src/ptf/pcap_writer.py index 2be9d7d..18e4936 100644 --- a/src/ptf/pcap_writer.py +++ b/src/ptf/pcap_writer.py @@ -1,17 +1,4 @@ # Copyright 2010 The Board of Trustees of The Leland Stanford Junior University -# -# 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 # This file was derived from code in the Floodlight OFTest repository diff --git a/src/ptf/platforms/dummy.py b/src/ptf/platforms/dummy.py index 6943b89..e090d75 100644 --- a/src/ptf/platforms/dummy.py +++ b/src/ptf/platforms/dummy.py @@ -1,17 +1,4 @@ # Copyright 2019 Antonin Bas -# -# 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 """ diff --git a/src/ptf/platforms/eth.py b/src/ptf/platforms/eth.py index dfac59b..f5a2298 100644 --- a/src/ptf/platforms/eth.py +++ b/src/ptf/platforms/eth.py @@ -1,17 +1,4 @@ # Copyright 2010 The Board of Trustees of The Leland Stanford Junior University -# -# 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 # This file was derived from code in the Floodlight OFTest repository diff --git a/src/ptf/platforms/local.py b/src/ptf/platforms/local.py index f747235..4573124 100644 --- a/src/ptf/platforms/local.py +++ b/src/ptf/platforms/local.py @@ -1,17 +1,4 @@ # Copyright 2010 The Board of Trustees of The Leland Stanford Junior University -# -# 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 # This file was derived from code in the Floodlight OFTest repository diff --git a/src/ptf/platforms/nn.py b/src/ptf/platforms/nn.py index cfff7e6..11a85b8 100644 --- a/src/ptf/platforms/nn.py +++ b/src/ptf/platforms/nn.py @@ -1,17 +1,4 @@ # Copyright 2016 Antonin Bas -# -# 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 """ diff --git a/src/ptf/platforms/remote.py b/src/ptf/platforms/remote.py index e3e73f5..766b20a 100644 --- a/src/ptf/platforms/remote.py +++ b/src/ptf/platforms/remote.py @@ -1,17 +1,4 @@ # Copyright 2010 The Board of Trustees of The Leland Stanford Junior University -# -# 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 # This file was derived from code in the Floodlight OFTest repository diff --git a/src/ptf/ptfutils.py b/src/ptf/ptfutils.py index 9525c33..97464aa 100644 --- a/src/ptf/ptfutils.py +++ b/src/ptf/ptfutils.py @@ -1,17 +1,4 @@ # Copyright 2010 The Board of Trustees of The Leland Stanford Junior University -# -# 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 # This file was derived from code in the Floodlight OFTest repository diff --git a/src/ptf/testutils.py b/src/ptf/testutils.py index ba21a3c..09a053e 100755 --- a/src/ptf/testutils.py +++ b/src/ptf/testutils.py @@ -1,17 +1,4 @@ # Copyright 2010 The Board of Trustees of The Leland Stanford Junior University -# -# 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 # This file was derived from code in the Floodlight OFTest repository diff --git a/src/ptf/thriftutils.py b/src/ptf/thriftutils.py index f4645cf..66bf22e 100644 --- a/src/ptf/thriftutils.py +++ b/src/ptf/thriftutils.py @@ -1,17 +1,4 @@ # Copyright 2015 Antonin Bas -# -# 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 import socket diff --git a/utests/specs/test.py b/utests/specs/test.py index 9059105..0009829 100644 --- a/utests/specs/test.py +++ b/utests/specs/test.py @@ -1,17 +1,4 @@ # Copyright 2019 Antonin Bas -# -# 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 import ptf diff --git a/utests/tests/ptf/conftest.py b/utests/tests/ptf/conftest.py index 81a6fc3..19002da 100644 --- a/utests/tests/ptf/conftest.py +++ b/utests/tests/ptf/conftest.py @@ -1,17 +1,4 @@ # Copyright 2022 Nex Sabre -# -# 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 import pytest diff --git a/utests/tests/ptf/test_mask.py b/utests/tests/ptf/test_mask.py index 5618534..f43d224 100644 --- a/utests/tests/ptf/test_mask.py +++ b/utests/tests/ptf/test_mask.py @@ -1,17 +1,4 @@ # Copyright 2021 Nex Sabre -# -# 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 import pytest diff --git a/utests/tests/ptf/test_testutils.py b/utests/tests/ptf/test_testutils.py index c2c7a93..91262e8 100644 --- a/utests/tests/ptf/test_testutils.py +++ b/utests/tests/ptf/test_testutils.py @@ -1,17 +1,4 @@ # Copyright 2021 Nex Sabre -# -# 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 from ptf.testutils import simple_igmp_packet diff --git a/utests/tests/test.py b/utests/tests/test.py index b0af5b8..d9ecab2 100644 --- a/utests/tests/test.py +++ b/utests/tests/test.py @@ -1,17 +1,4 @@ # Copyright 2019 Antonin Bas -# -# 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 import nose2.tools