From 5d301198da5318928f7a1f57bd255c1b11855166 Mon Sep 17 00:00:00 2001 From: Carl Buchmann Date: Fri, 18 Aug 2023 16:20:33 -0400 Subject: [PATCH] doc: run pre-commit --- .pre-commit-config.yaml | 2 +- README.md | 6 ++++++ ansible_collections/arista/cvp/README.md | 6 ++++++ ansible_collections/arista/cvp/docs/_build/ansible2rst.py | 1 + ansible_collections/arista/cvp/docs/_build/rst.j2 | 1 + ansible_collections/arista/cvp/docs/contributing.md | 6 ++++++ ansible_collections/arista/cvp/docs/faq/containers.md | 6 ++++++ ansible_collections/arista/cvp/docs/faq/errors.md | 6 ++++++ ansible_collections/arista/cvp/docs/getting-started.md | 6 ++++++ .../arista/cvp/docs/how-to/cvp-authentication.md | 6 ++++++ ansible_collections/arista/cvp/docs/how-to/debug.md | 6 ++++++ .../arista/cvp/docs/how-to/v1/cv_configlet.md | 6 ++++++ .../arista/cvp/docs/how-to/v1/cv_container.md | 6 ++++++ ansible_collections/arista/cvp/docs/how-to/v1/cv_device.md | 6 ++++++ ansible_collections/arista/cvp/docs/how-to/v1/cv_facts.md | 6 ++++++ .../arista/cvp/docs/how-to/v3/cv_change_control_v3.md | 6 ++++++ .../arista/cvp/docs/how-to/v3/cv_configlet_v3.md | 6 ++++++ .../arista/cvp/docs/how-to/v3/cv_container_v3.md | 6 ++++++ .../arista/cvp/docs/how-to/v3/cv_device_v3.md | 6 ++++++ .../arista/cvp/docs/how-to/v3/cv_facts_v3.md | 6 ++++++ .../arista/cvp/docs/how-to/v3/cv_image_v3.md | 6 ++++++ ansible_collections/arista/cvp/docs/how-to/v3/cv_tag_v3.md | 6 ++++++ ansible_collections/arista/cvp/docs/how-to/v3/cv_task_v3.md | 6 ++++++ .../arista/cvp/docs/how-to/v3/cv_validate_v3.md | 6 ++++++ .../arista/cvp/docs/installation/collection-installation.md | 6 ++++++ .../arista/cvp/docs/installation/requirements.md | 6 ++++++ .../arista/cvp/docs/modules/cv_change_control_v3.rst.md | 6 ++++++ .../arista/cvp/docs/modules/cv_configlet.rst.md | 6 ++++++ .../arista/cvp/docs/modules/cv_configlet_v3.rst.md | 6 ++++++ .../arista/cvp/docs/modules/cv_container.rst.md | 6 ++++++ .../arista/cvp/docs/modules/cv_container_v3.rst.md | 6 ++++++ .../arista/cvp/docs/modules/cv_device.rst.md | 6 ++++++ .../arista/cvp/docs/modules/cv_device_v3.rst.md | 6 ++++++ ansible_collections/arista/cvp/docs/modules/cv_facts.rst.md | 6 ++++++ .../arista/cvp/docs/modules/cv_facts_v3.rst.md | 6 ++++++ .../arista/cvp/docs/modules/cv_image_v3.rst.md | 6 ++++++ .../arista/cvp/docs/modules/cv_tag_v3.rst.md | 6 ++++++ ansible_collections/arista/cvp/docs/modules/cv_task.rst.md | 6 ++++++ .../arista/cvp/docs/modules/cv_task_v3.rst.md | 6 ++++++ .../arista/cvp/docs/modules/cv_validate_v3.rst.md | 6 ++++++ ansible_collections/arista/cvp/docs/release-notes/v1.x.md | 6 ++++++ ansible_collections/arista/cvp/docs/release-notes/v2.x.md | 6 ++++++ ansible_collections/arista/cvp/docs/release-notes/v3.x.md | 6 ++++++ .../arista/cvp/docs/schema/cv_change_control_v3.md | 6 ++++++ .../arista/cvp/docs/schema/cv_container_v3.md | 6 ++++++ ansible_collections/arista/cvp/docs/schema/cv_device_v3.md | 6 ++++++ ansible_collections/arista/cvp/docs/schema/cv_tag_v3.md | 6 ++++++ .../arista/cvp/docs/schema/cv_validate_v3.md | 6 ++++++ ansible_collections/arista/cvp/plugins/README.md | 6 ++++++ .../arista/cvp/plugins/module_utils/change_tools.py | 3 +++ .../arista/cvp/plugins/module_utils/configlet_tools.py | 3 +++ .../arista/cvp/plugins/module_utils/container_tools.py | 3 +++ .../arista/cvp/plugins/module_utils/device_tools.py | 3 +++ .../arista/cvp/plugins/module_utils/facts_tools.py | 3 +++ .../arista/cvp/plugins/module_utils/generic_tools.py | 3 +++ .../arista/cvp/plugins/module_utils/image_tools.py | 3 +++ .../arista/cvp/plugins/module_utils/logger.py | 3 +++ .../arista/cvp/plugins/module_utils/resources/api/fields.py | 3 +++ .../arista/cvp/plugins/module_utils/resources/exceptions.py | 3 +++ .../cvp/plugins/module_utils/resources/modules/fields.py | 3 +++ .../arista/cvp/plugins/module_utils/resources/schemas/v1.py | 3 +++ .../arista/cvp/plugins/module_utils/resources/schemas/v3.py | 3 +++ .../arista/cvp/plugins/module_utils/response.py | 3 +++ .../arista/cvp/plugins/module_utils/schema_v1.py | 3 +++ .../arista/cvp/plugins/module_utils/tag_tools.py | 3 +++ .../arista/cvp/plugins/module_utils/task_tools.py | 3 +++ .../arista/cvp/plugins/module_utils/tools.py | 3 +++ .../arista/cvp/plugins/module_utils/tools_cv.py | 3 +++ .../arista/cvp/plugins/module_utils/tools_inventory.py | 3 +++ .../arista/cvp/plugins/module_utils/tools_schema.py | 3 +++ .../arista/cvp/plugins/module_utils/tools_tree.py | 3 +++ .../arista/cvp/plugins/module_utils/validate_tools.py | 3 +++ .../arista/cvp/plugins/modules/cv_change_control_v3.py | 3 +++ .../arista/cvp/plugins/modules/cv_configlet.py | 3 +++ .../arista/cvp/plugins/modules/cv_configlet_v3.py | 3 +++ .../arista/cvp/plugins/modules/cv_container.py | 3 +++ .../arista/cvp/plugins/modules/cv_container_v3.py | 3 +++ ansible_collections/arista/cvp/plugins/modules/cv_device.py | 3 +++ .../arista/cvp/plugins/modules/cv_device_v3.py | 3 +++ ansible_collections/arista/cvp/plugins/modules/cv_facts.py | 3 +++ .../arista/cvp/plugins/modules/cv_facts_v3.py | 3 +++ .../arista/cvp/plugins/modules/cv_image_v3.py | 3 +++ ansible_collections/arista/cvp/plugins/modules/cv_tag_v3.py | 3 +++ ansible_collections/arista/cvp/plugins/modules/cv_task.py | 3 +++ .../arista/cvp/plugins/modules/cv_task_v3.py | 3 +++ .../arista/cvp/plugins/modules/cv_validate_v3.py | 3 +++ .../arista/cvp/roles/configlets_sync/README.md | 6 ++++++ .../templates/template.compare_configlets.j2 | 5 +++++ .../templates/template.cvp.shared_configlets.j2 | 5 +++++ .../configlets_sync/templates/template.device_configlets.j2 | 5 +++++ .../configlets_sync/templates/template.shared_configlets.j2 | 5 +++++ .../arista/cvp/roles/dhcp_configuration/README.md | 6 ++++++ .../cvp/roles/dhcp_configuration/templates/dhcpd.conf.j2 | 5 +++++ contributing.md | 6 ++++++ development/README.md | 6 ++++++ tests/PR_testing/README.md | 6 ++++++ tests/README.md | 6 ++++++ tests/Unittest-README.md | 6 ++++++ tests/data/container_tools_unit.py | 3 +++ tests/data/device_tools_unit.py | 3 +++ tests/data/facts_system_cvaas.py | 3 +++ tests/data/facts_unit.py | 3 +++ tests/data/image_unit.py | 3 +++ tests/data/validate_tools_unit.py | 3 +++ tests/lib/config.py | 3 +++ tests/lib/cvaas_configlet.py | 3 +++ tests/lib/helpers.py | 3 +++ tests/lib/json_data.py | 3 +++ tests/lib/mock.py | 3 +++ tests/lib/mockMagic.py | 3 +++ tests/lib/mock_ansible.py | 3 +++ tests/lib/parametrize.py | 3 +++ tests/lib/provisioner.py | 3 +++ tests/lib/static_content.py | 3 +++ tests/lib/utils.py | 3 +++ tests/system/constants_data.py | 3 +++ tests/system/test_cv_configlet.py | 3 +++ tests/system/test_cv_container_tools.py | 3 +++ tests/system/test_cv_device_tools.py | 3 +++ tests/system/test_cv_device_tools_fqdn.py | 3 +++ tests/system/test_cv_device_tools_generic.py | 3 +++ tests/system/test_cv_device_tools_serial.py | 3 +++ tests/system/test_cv_facts_tools.py | 3 +++ tests/unit/conftest.py | 3 +++ tests/unit/module_utils/test_validate_tools.py | 3 +++ tests/unit/test_configlet_input.py | 3 +++ tests/unit/test_container_inputs.py | 3 +++ tests/unit/test_cv_container_tools.py | 3 +++ tests/unit/test_cv_device_tools.py | 3 +++ tests/unit/test_cv_facts_tools.py | 3 +++ tests/unit/test_cv_image_tools.py | 3 +++ tests/unit/test_cv_response.py | 3 +++ tests/unit/test_device_element.py | 3 +++ tests/unit/test_device_inventory.py | 3 +++ tests/unit/test_json_schema.py | 3 +++ tests/unit/test_tools_cv.py | 3 +++ 136 files changed, 571 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 85930e41f..03ea39a49 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: hooks: - name: Check and insert license on Python files id: insert-license - exclude: ansible_collections/arista/cvp/(plugins|tests/unit(/module_utils|/modules|))/__init__.py + exclude: .*\__init__.py$ files: .*\.py$ args: - --license-filepath diff --git a/README.md b/README.md index 77b51bbc2..9a27d64ec 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,9 @@ + + # Ansible Modules for Arista CloudVision Platform ![Arista CVP](https://img.shields.io/badge/Arista-CVP%20Automation-blue) ![[collection version](https://github.com/aristanetworks/ansible-cvp/tags)](https://img.shields.io/github/v/release/aristanetworks/ansible-cvp) ![License](https://img.shields.io/github/license/aristanetworks/ansible-cvp) [![Collection code testing](https://github.com/aristanetworks/ansible-cvp/actions/workflows/pull-request-management.yml/badge.svg)](https://github.com/aristanetworks/ansible-cvp/actions/workflows/pull-request-management.yml) diff --git a/ansible_collections/arista/cvp/README.md b/ansible_collections/arista/cvp/README.md index af69210fc..a776ccdbe 100644 --- a/ansible_collections/arista/cvp/README.md +++ b/ansible_collections/arista/cvp/README.md @@ -1,3 +1,9 @@ + + # Ansible Modules for Arista CloudVision Platform ## About diff --git a/ansible_collections/arista/cvp/docs/_build/ansible2rst.py b/ansible_collections/arista/cvp/docs/_build/ansible2rst.py index a1cc8a3fe..b4e301684 100644 --- a/ansible_collections/arista/cvp/docs/_build/ansible2rst.py +++ b/ansible_collections/arista/cvp/docs/_build/ansible2rst.py @@ -1,4 +1,5 @@ #!/usr/bin/env python +# SKIP LICENSE INSERTION # (c) 2012, Jan-Piet Mens # # Ansible is free software: you can redistribute it and/or modify diff --git a/ansible_collections/arista/cvp/docs/_build/rst.j2 b/ansible_collections/arista/cvp/docs/_build/rst.j2 index f66816948..15dcf63c7 100644 --- a/ansible_collections/arista/cvp/docs/_build/rst.j2 +++ b/ansible_collections/arista/cvp/docs/_build/rst.j2 @@ -1,3 +1,4 @@ +{# SKIP LICENSE INSERTION #} .. _@{ module }@: {% set title = module %} diff --git a/ansible_collections/arista/cvp/docs/contributing.md b/ansible_collections/arista/cvp/docs/contributing.md index 607793058..c70ac87c3 100644 --- a/ansible_collections/arista/cvp/docs/contributing.md +++ b/ansible_collections/arista/cvp/docs/contributing.md @@ -1,3 +1,9 @@ + + # Contribute to Arista ansible-cvp collection Please take a moment to review this document in order to make the contribution diff --git a/ansible_collections/arista/cvp/docs/faq/containers.md b/ansible_collections/arista/cvp/docs/faq/containers.md index d42aee46b..79d7d3b80 100644 --- a/ansible_collections/arista/cvp/docs/faq/containers.md +++ b/ansible_collections/arista/cvp/docs/faq/containers.md @@ -1,3 +1,9 @@ + + # Ansible Execution Environment ## Ansible EE and builder overview diff --git a/ansible_collections/arista/cvp/docs/faq/errors.md b/ansible_collections/arista/cvp/docs/faq/errors.md index 69862e10f..67608b1aa 100644 --- a/ansible_collections/arista/cvp/docs/faq/errors.md +++ b/ansible_collections/arista/cvp/docs/faq/errors.md @@ -1,3 +1,9 @@ + + # Common Error messages > All Ansible error messages should be read from bottom to top. diff --git a/ansible_collections/arista/cvp/docs/getting-started.md b/ansible_collections/arista/cvp/docs/getting-started.md index 85bb528c2..28db51e75 100644 --- a/ansible_collections/arista/cvp/docs/getting-started.md +++ b/ansible_collections/arista/cvp/docs/getting-started.md @@ -1,3 +1,9 @@ + + # Getting Started This example outlines how to use `arista.cvp` to create a containers topology on Arista CloudVision. diff --git a/ansible_collections/arista/cvp/docs/how-to/cvp-authentication.md b/ansible_collections/arista/cvp/docs/how-to/cvp-authentication.md index 053a3d4b5..793a0f3df 100644 --- a/ansible_collections/arista/cvp/docs/how-to/cvp-authentication.md +++ b/ansible_collections/arista/cvp/docs/how-to/cvp-authentication.md @@ -1,3 +1,9 @@ + + # CloudVision Authentication CloudVision supports 2 different types of authentication depending on what kind of instance you are targeting: diff --git a/ansible_collections/arista/cvp/docs/how-to/debug.md b/ansible_collections/arista/cvp/docs/how-to/debug.md index 616965a2d..c3383bbfa 100644 --- a/ansible_collections/arista/cvp/docs/how-to/debug.md +++ b/ansible_collections/arista/cvp/docs/how-to/debug.md @@ -1,3 +1,9 @@ + + # Debug logs If required, `arista.cvp` collection supports debug log to get more information about process execution and save all these information in a log file. diff --git a/ansible_collections/arista/cvp/docs/how-to/v1/cv_configlet.md b/ansible_collections/arista/cvp/docs/how-to/v1/cv_configlet.md index 38ca72983..9e1197e4c 100644 --- a/ansible_collections/arista/cvp/docs/how-to/v1/cv_configlet.md +++ b/ansible_collections/arista/cvp/docs/how-to/v1/cv_configlet.md @@ -1,3 +1,9 @@ + + # Configure configlets on CloudVision `cv_configlet` manage configlets on CloudVision: diff --git a/ansible_collections/arista/cvp/docs/how-to/v1/cv_container.md b/ansible_collections/arista/cvp/docs/how-to/v1/cv_container.md index abf2c06d0..f69211b7a 100644 --- a/ansible_collections/arista/cvp/docs/how-to/v1/cv_container.md +++ b/ansible_collections/arista/cvp/docs/how-to/v1/cv_container.md @@ -1,3 +1,9 @@ + + # Configure container on CloudVision cv_container manage containers on CloudVision: diff --git a/ansible_collections/arista/cvp/docs/how-to/v1/cv_device.md b/ansible_collections/arista/cvp/docs/how-to/v1/cv_device.md index 8b1e56149..269e016a3 100644 --- a/ansible_collections/arista/cvp/docs/how-to/v1/cv_device.md +++ b/ansible_collections/arista/cvp/docs/how-to/v1/cv_device.md @@ -1,3 +1,9 @@ + + # Configure devices on CloudVision cv_device manage devices on CloudVision: diff --git a/ansible_collections/arista/cvp/docs/how-to/v1/cv_facts.md b/ansible_collections/arista/cvp/docs/how-to/v1/cv_facts.md index 977758be2..d3a5c8933 100644 --- a/ansible_collections/arista/cvp/docs/how-to/v1/cv_facts.md +++ b/ansible_collections/arista/cvp/docs/how-to/v1/cv_facts.md @@ -1,3 +1,9 @@ + + # Get facts from CloudVision `cv_facts` collect Facts from CloudVision: diff --git a/ansible_collections/arista/cvp/docs/how-to/v3/cv_change_control_v3.md b/ansible_collections/arista/cvp/docs/how-to/v3/cv_change_control_v3.md index 48c7e471d..a6dba3dbd 100644 --- a/ansible_collections/arista/cvp/docs/how-to/v3/cv_change_control_v3.md +++ b/ansible_collections/arista/cvp/docs/how-to/v3/cv_change_control_v3.md @@ -1,3 +1,9 @@ + + # Configure a Change Control on CloudVision **cv_change_control_v3** manage change controls on CloudVision: diff --git a/ansible_collections/arista/cvp/docs/how-to/v3/cv_configlet_v3.md b/ansible_collections/arista/cvp/docs/how-to/v3/cv_configlet_v3.md index 302e14a82..e4d660e0d 100644 --- a/ansible_collections/arista/cvp/docs/how-to/v3/cv_configlet_v3.md +++ b/ansible_collections/arista/cvp/docs/how-to/v3/cv_configlet_v3.md @@ -1,3 +1,9 @@ + + # Configure configlets on CloudVision (v3) `cv_configlet_v3` manage configlets on CloudVision: diff --git a/ansible_collections/arista/cvp/docs/how-to/v3/cv_container_v3.md b/ansible_collections/arista/cvp/docs/how-to/v3/cv_container_v3.md index b91741089..d261cc8f1 100644 --- a/ansible_collections/arista/cvp/docs/how-to/v3/cv_container_v3.md +++ b/ansible_collections/arista/cvp/docs/how-to/v3/cv_container_v3.md @@ -1,3 +1,9 @@ + + # Configure container on CloudVision (v3) **cv_container_v3** manages containers on CloudVision. It supports: diff --git a/ansible_collections/arista/cvp/docs/how-to/v3/cv_device_v3.md b/ansible_collections/arista/cvp/docs/how-to/v3/cv_device_v3.md index 89b453106..cd903a1f8 100644 --- a/ansible_collections/arista/cvp/docs/how-to/v3/cv_device_v3.md +++ b/ansible_collections/arista/cvp/docs/how-to/v3/cv_device_v3.md @@ -1,3 +1,9 @@ + + # Configure devices on CloudVision **cv_device_v3** manage devices on CloudVision: diff --git a/ansible_collections/arista/cvp/docs/how-to/v3/cv_facts_v3.md b/ansible_collections/arista/cvp/docs/how-to/v3/cv_facts_v3.md index 63ca7073f..042f25737 100644 --- a/ansible_collections/arista/cvp/docs/how-to/v3/cv_facts_v3.md +++ b/ansible_collections/arista/cvp/docs/how-to/v3/cv_facts_v3.md @@ -1,3 +1,9 @@ + + # Get provisioning information from CloudVision **cv_facts_v3** get provisioning information from CloudVision: diff --git a/ansible_collections/arista/cvp/docs/how-to/v3/cv_image_v3.md b/ansible_collections/arista/cvp/docs/how-to/v3/cv_image_v3.md index 564648429..6169c2cca 100644 --- a/ansible_collections/arista/cvp/docs/how-to/v3/cv_image_v3.md +++ b/ansible_collections/arista/cvp/docs/how-to/v3/cv_image_v3.md @@ -1,3 +1,9 @@ + + # Configure Images and Image Bundles on CloudVision **cv_image_v3** manage devices on CloudVision: diff --git a/ansible_collections/arista/cvp/docs/how-to/v3/cv_tag_v3.md b/ansible_collections/arista/cvp/docs/how-to/v3/cv_tag_v3.md index 4fa286976..3fbaaa200 100644 --- a/ansible_collections/arista/cvp/docs/how-to/v3/cv_tag_v3.md +++ b/ansible_collections/arista/cvp/docs/how-to/v3/cv_tag_v3.md @@ -1,3 +1,9 @@ + + # Tag management on CloudVision **cv_tag_v3** manage tags on CloudVision: diff --git a/ansible_collections/arista/cvp/docs/how-to/v3/cv_task_v3.md b/ansible_collections/arista/cvp/docs/how-to/v3/cv_task_v3.md index 8e74045c0..92ef1f7ee 100644 --- a/ansible_collections/arista/cvp/docs/how-to/v3/cv_task_v3.md +++ b/ansible_collections/arista/cvp/docs/how-to/v3/cv_task_v3.md @@ -1,3 +1,9 @@ + + # Execute / Cancel tasks on CloudVision **cv_task_v3** manage tasks on CloudVision: diff --git a/ansible_collections/arista/cvp/docs/how-to/v3/cv_validate_v3.md b/ansible_collections/arista/cvp/docs/how-to/v3/cv_validate_v3.md index f6d9094d6..b15b5dab3 100644 --- a/ansible_collections/arista/cvp/docs/how-to/v3/cv_validate_v3.md +++ b/ansible_collections/arista/cvp/docs/how-to/v3/cv_validate_v3.md @@ -1,3 +1,9 @@ + + # Validate Configlet **cv_validate_v3** Online and Offline configlet validation: diff --git a/ansible_collections/arista/cvp/docs/installation/collection-installation.md b/ansible_collections/arista/cvp/docs/installation/collection-installation.md index 816cb4175..9f7756245 100644 --- a/ansible_collections/arista/cvp/docs/installation/collection-installation.md +++ b/ansible_collections/arista/cvp/docs/installation/collection-installation.md @@ -1,3 +1,9 @@ + + # Collection installation These instructions are for regular users to install via Ansible Galaxy. To setup a development environment use [these](https://www.avd.sh/en/devel/docs/contribution/overview.html) instructions. diff --git a/ansible_collections/arista/cvp/docs/installation/requirements.md b/ansible_collections/arista/cvp/docs/installation/requirements.md index a8843d347..bfbad40dc 100644 --- a/ansible_collections/arista/cvp/docs/installation/requirements.md +++ b/ansible_collections/arista/cvp/docs/installation/requirements.md @@ -1,3 +1,9 @@ + + # Requirements ## Arista EOS version diff --git a/ansible_collections/arista/cvp/docs/modules/cv_change_control_v3.rst.md b/ansible_collections/arista/cvp/docs/modules/cv_change_control_v3.rst.md index 18340b010..54e4b6b1c 100644 --- a/ansible_collections/arista/cvp/docs/modules/cv_change_control_v3.rst.md +++ b/ansible_collections/arista/cvp/docs/modules/cv_change_control_v3.rst.md @@ -1,3 +1,9 @@ + + # cv_change_control_v3 Change Control management with CloudVision diff --git a/ansible_collections/arista/cvp/docs/modules/cv_configlet.rst.md b/ansible_collections/arista/cvp/docs/modules/cv_configlet.rst.md index 88fd01a40..f5f9ca736 100644 --- a/ansible_collections/arista/cvp/docs/modules/cv_configlet.rst.md +++ b/ansible_collections/arista/cvp/docs/modules/cv_configlet.rst.md @@ -1,3 +1,9 @@ + + # cv_configlet Create, Delete, or Update CloudVision Portal Configlets. diff --git a/ansible_collections/arista/cvp/docs/modules/cv_configlet_v3.rst.md b/ansible_collections/arista/cvp/docs/modules/cv_configlet_v3.rst.md index 5d91bb41f..f85139d01 100644 --- a/ansible_collections/arista/cvp/docs/modules/cv_configlet_v3.rst.md +++ b/ansible_collections/arista/cvp/docs/modules/cv_configlet_v3.rst.md @@ -1,3 +1,9 @@ + + # cv_configlet_v3 Create, Delete, or Update CloudVision Portal Configlets. diff --git a/ansible_collections/arista/cvp/docs/modules/cv_container.rst.md b/ansible_collections/arista/cvp/docs/modules/cv_container.rst.md index f405a8bb7..ff97aca4f 100644 --- a/ansible_collections/arista/cvp/docs/modules/cv_container.rst.md +++ b/ansible_collections/arista/cvp/docs/modules/cv_container.rst.md @@ -1,3 +1,9 @@ + + # cv_container Manage Provisioning topology. diff --git a/ansible_collections/arista/cvp/docs/modules/cv_container_v3.rst.md b/ansible_collections/arista/cvp/docs/modules/cv_container_v3.rst.md index 35357c62e..ca59bbbc9 100644 --- a/ansible_collections/arista/cvp/docs/modules/cv_container_v3.rst.md +++ b/ansible_collections/arista/cvp/docs/modules/cv_container_v3.rst.md @@ -1,3 +1,9 @@ + + # cv_container_v3 Manage Provisioning topology. diff --git a/ansible_collections/arista/cvp/docs/modules/cv_device.rst.md b/ansible_collections/arista/cvp/docs/modules/cv_device.rst.md index 9f87cacc8..4a135c7f3 100644 --- a/ansible_collections/arista/cvp/docs/modules/cv_device.rst.md +++ b/ansible_collections/arista/cvp/docs/modules/cv_device.rst.md @@ -1,3 +1,9 @@ + + # cv_device Provision, Reset, or Update CloudVision Portal Devices. diff --git a/ansible_collections/arista/cvp/docs/modules/cv_device_v3.rst.md b/ansible_collections/arista/cvp/docs/modules/cv_device_v3.rst.md index b9c3d5139..cf9783f20 100644 --- a/ansible_collections/arista/cvp/docs/modules/cv_device_v3.rst.md +++ b/ansible_collections/arista/cvp/docs/modules/cv_device_v3.rst.md @@ -1,3 +1,9 @@ + + # cv_device_v3 Manage Provisioning topology. diff --git a/ansible_collections/arista/cvp/docs/modules/cv_facts.rst.md b/ansible_collections/arista/cvp/docs/modules/cv_facts.rst.md index 6104c0da1..4c62d8e8e 100644 --- a/ansible_collections/arista/cvp/docs/modules/cv_facts.rst.md +++ b/ansible_collections/arista/cvp/docs/modules/cv_facts.rst.md @@ -1,3 +1,9 @@ + + # cv_facts Collect facts from CloudVision Portal. diff --git a/ansible_collections/arista/cvp/docs/modules/cv_facts_v3.rst.md b/ansible_collections/arista/cvp/docs/modules/cv_facts_v3.rst.md index ec8da17af..c3a34fb70 100644 --- a/ansible_collections/arista/cvp/docs/modules/cv_facts_v3.rst.md +++ b/ansible_collections/arista/cvp/docs/modules/cv_facts_v3.rst.md @@ -1,3 +1,9 @@ + + # cv_facts_v3 Collect facts from CloudVision diff --git a/ansible_collections/arista/cvp/docs/modules/cv_image_v3.rst.md b/ansible_collections/arista/cvp/docs/modules/cv_image_v3.rst.md index 4a73edfe8..f23ac58a2 100644 --- a/ansible_collections/arista/cvp/docs/modules/cv_image_v3.rst.md +++ b/ansible_collections/arista/cvp/docs/modules/cv_image_v3.rst.md @@ -1,3 +1,9 @@ + + # cv_image_v3 EOS Image management with CloudVision diff --git a/ansible_collections/arista/cvp/docs/modules/cv_tag_v3.rst.md b/ansible_collections/arista/cvp/docs/modules/cv_tag_v3.rst.md index 70b2a64aa..a49f64f4f 100644 --- a/ansible_collections/arista/cvp/docs/modules/cv_tag_v3.rst.md +++ b/ansible_collections/arista/cvp/docs/modules/cv_tag_v3.rst.md @@ -1,3 +1,9 @@ + + # cv_tag_v3 Create/Assign/Delete/Unassign tags on CVP diff --git a/ansible_collections/arista/cvp/docs/modules/cv_task.rst.md b/ansible_collections/arista/cvp/docs/modules/cv_task.rst.md index 780a6f96f..825bb91bd 100644 --- a/ansible_collections/arista/cvp/docs/modules/cv_task.rst.md +++ b/ansible_collections/arista/cvp/docs/modules/cv_task.rst.md @@ -1,3 +1,9 @@ + + # cv_task Execute or Cancel CVP Tasks. diff --git a/ansible_collections/arista/cvp/docs/modules/cv_task_v3.rst.md b/ansible_collections/arista/cvp/docs/modules/cv_task_v3.rst.md index 0ba8f6d03..e7456df35 100644 --- a/ansible_collections/arista/cvp/docs/modules/cv_task_v3.rst.md +++ b/ansible_collections/arista/cvp/docs/modules/cv_task_v3.rst.md @@ -1,3 +1,9 @@ + + # cv_task_v3 Execute or Cancel CVP Tasks. diff --git a/ansible_collections/arista/cvp/docs/modules/cv_validate_v3.rst.md b/ansible_collections/arista/cvp/docs/modules/cv_validate_v3.rst.md index 9ef3d96cc..8a84e02c2 100644 --- a/ansible_collections/arista/cvp/docs/modules/cv_validate_v3.rst.md +++ b/ansible_collections/arista/cvp/docs/modules/cv_validate_v3.rst.md @@ -1,3 +1,9 @@ + + # cv_validate_v3 CVP/Local configlet Validation diff --git a/ansible_collections/arista/cvp/docs/release-notes/v1.x.md b/ansible_collections/arista/cvp/docs/release-notes/v1.x.md index d118f2a64..2ee33dcb8 100644 --- a/ansible_collections/arista/cvp/docs/release-notes/v1.x.md +++ b/ansible_collections/arista/cvp/docs/release-notes/v1.x.md @@ -1,3 +1,9 @@ + + # Release Notes For Ansible CVP 1.x ## Release v1.1.2 diff --git a/ansible_collections/arista/cvp/docs/release-notes/v2.x.md b/ansible_collections/arista/cvp/docs/release-notes/v2.x.md index 058bbd461..658589752 100644 --- a/ansible_collections/arista/cvp/docs/release-notes/v2.x.md +++ b/ansible_collections/arista/cvp/docs/release-notes/v2.x.md @@ -1,3 +1,9 @@ + + # Release Notes For Ansible CVP 2.x !!! info diff --git a/ansible_collections/arista/cvp/docs/release-notes/v3.x.md b/ansible_collections/arista/cvp/docs/release-notes/v3.x.md index 94974f76c..a71cffdf9 100644 --- a/ansible_collections/arista/cvp/docs/release-notes/v3.x.md +++ b/ansible_collections/arista/cvp/docs/release-notes/v3.x.md @@ -1,3 +1,9 @@ + + # Release Notes For Ansible CVP 3.x !!! info diff --git a/ansible_collections/arista/cvp/docs/schema/cv_change_control_v3.md b/ansible_collections/arista/cvp/docs/schema/cv_change_control_v3.md index e56c916b7..4d3812dc5 100644 --- a/ansible_collections/arista/cvp/docs/schema/cv_change_control_v3.md +++ b/ansible_collections/arista/cvp/docs/schema/cv_change_control_v3.md @@ -1,3 +1,9 @@ + + # Schema for cv_change_control_v3 | Variable | Type | Required | Default | Choices | Description | diff --git a/ansible_collections/arista/cvp/docs/schema/cv_container_v3.md b/ansible_collections/arista/cvp/docs/schema/cv_container_v3.md index 38385cb40..57c793007 100644 --- a/ansible_collections/arista/cvp/docs/schema/cv_container_v3.md +++ b/ansible_collections/arista/cvp/docs/schema/cv_container_v3.md @@ -1,3 +1,9 @@ + + # Schema for cv_container_v3 | Variable | Type | Required | Default | Choices | Description | diff --git a/ansible_collections/arista/cvp/docs/schema/cv_device_v3.md b/ansible_collections/arista/cvp/docs/schema/cv_device_v3.md index c363462ca..bfdc10ff9 100644 --- a/ansible_collections/arista/cvp/docs/schema/cv_device_v3.md +++ b/ansible_collections/arista/cvp/docs/schema/cv_device_v3.md @@ -1,3 +1,9 @@ + + # Schema for cv_device_v3 | Variable | Type | Required | Default | Choices | Description | diff --git a/ansible_collections/arista/cvp/docs/schema/cv_tag_v3.md b/ansible_collections/arista/cvp/docs/schema/cv_tag_v3.md index ca42e29b6..20d16ac8d 100644 --- a/ansible_collections/arista/cvp/docs/schema/cv_tag_v3.md +++ b/ansible_collections/arista/cvp/docs/schema/cv_tag_v3.md @@ -1,3 +1,9 @@ + + # Schema for cv_tag_v3 | Variable | Type | Required | Default | Choices | Description | diff --git a/ansible_collections/arista/cvp/docs/schema/cv_validate_v3.md b/ansible_collections/arista/cvp/docs/schema/cv_validate_v3.md index e3013795f..9fa9569f8 100644 --- a/ansible_collections/arista/cvp/docs/schema/cv_validate_v3.md +++ b/ansible_collections/arista/cvp/docs/schema/cv_validate_v3.md @@ -1,3 +1,9 @@ + + # Schema for cv_validate_v3 | Variable | Type | Required | Default | Choices | Description | diff --git a/ansible_collections/arista/cvp/plugins/README.md b/ansible_collections/arista/cvp/plugins/README.md index 3767398da..8d8bd35fe 100644 --- a/ansible_collections/arista/cvp/plugins/README.md +++ b/ansible_collections/arista/cvp/plugins/README.md @@ -1,3 +1,9 @@ + + # Collections Plugins Directory `arista.cvp` collection provides a set of plugins to configure Arista EOS devices with a CloudVision Platform server. diff --git a/ansible_collections/arista/cvp/plugins/module_utils/change_tools.py b/ansible_collections/arista/cvp/plugins/module_utils/change_tools.py index be36b4f70..f9937fd86 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/change_tools.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/change_tools.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2021 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/module_utils/configlet_tools.py b/ansible_collections/arista/cvp/plugins/module_utils/configlet_tools.py index 979b59555..9dc928235 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/configlet_tools.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/configlet_tools.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/module_utils/container_tools.py b/ansible_collections/arista/cvp/plugins/module_utils/container_tools.py index c8ce49c86..37ca428bb 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/container_tools.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/container_tools.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/module_utils/device_tools.py b/ansible_collections/arista/cvp/plugins/module_utils/device_tools.py index 419a5df55..f64d61b9a 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/device_tools.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/device_tools.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # flake8: noqa: W1202 diff --git a/ansible_collections/arista/cvp/plugins/module_utils/facts_tools.py b/ansible_collections/arista/cvp/plugins/module_utils/facts_tools.py index eb6999363..e41bbd4f1 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/facts_tools.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/facts_tools.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2022 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/module_utils/generic_tools.py b/ansible_collections/arista/cvp/plugins/module_utils/generic_tools.py index 1884d6bc1..140f8f260 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/generic_tools.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/generic_tools.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/module_utils/image_tools.py b/ansible_collections/arista/cvp/plugins/module_utils/image_tools.py index f753cc0f2..11007980e 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/image_tools.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/image_tools.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2021 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/module_utils/logger.py b/ansible_collections/arista/cvp/plugins/module_utils/logger.py index 77fabdcc2..281dc5402 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/logger.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/logger.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/module_utils/resources/api/fields.py b/ansible_collections/arista/cvp/plugins/module_utils/resources/api/fields.py index 120fa6dcf..3aaeae2ae 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/resources/api/fields.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/resources/api/fields.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2022 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/module_utils/resources/exceptions.py b/ansible_collections/arista/cvp/plugins/module_utils/resources/exceptions.py index 1aa31d3de..e7b34f1f7 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/resources/exceptions.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/resources/exceptions.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/module_utils/resources/modules/fields.py b/ansible_collections/arista/cvp/plugins/module_utils/resources/modules/fields.py index 7bcb7136e..1807379fe 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/resources/modules/fields.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/resources/modules/fields.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2022 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/module_utils/resources/schemas/v1.py b/ansible_collections/arista/cvp/plugins/module_utils/resources/schemas/v1.py index 81577cc4d..043f35af0 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/resources/schemas/v1.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/resources/schemas/v1.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2022 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/module_utils/resources/schemas/v3.py b/ansible_collections/arista/cvp/plugins/module_utils/resources/schemas/v3.py index 565566240..8157353f6 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/resources/schemas/v3.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/resources/schemas/v3.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable = duplicate-code diff --git a/ansible_collections/arista/cvp/plugins/module_utils/response.py b/ansible_collections/arista/cvp/plugins/module_utils/response.py index 3811646fb..d2a6da8db 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/response.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/response.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/module_utils/schema_v1.py b/ansible_collections/arista/cvp/plugins/module_utils/schema_v1.py index 51f0ab49d..b6d475022 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/schema_v1.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/schema_v1.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable = duplicate-code diff --git a/ansible_collections/arista/cvp/plugins/module_utils/tag_tools.py b/ansible_collections/arista/cvp/plugins/module_utils/tag_tools.py index 2a8cc9404..b7ffc334a 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/tag_tools.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/tag_tools.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/module_utils/task_tools.py b/ansible_collections/arista/cvp/plugins/module_utils/task_tools.py index 8919c9230..11aceaf6b 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/task_tools.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/task_tools.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/module_utils/tools.py b/ansible_collections/arista/cvp/plugins/module_utils/tools.py index 0a59cfcc1..7c4ec5b40 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/tools.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/tools.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/module_utils/tools_cv.py b/ansible_collections/arista/cvp/plugins/module_utils/tools_cv.py index 614dd4381..da32c82fd 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/tools_cv.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/tools_cv.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/module_utils/tools_inventory.py b/ansible_collections/arista/cvp/plugins/module_utils/tools_inventory.py index 848d2e5c5..68c72bac2 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/tools_inventory.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/tools_inventory.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/module_utils/tools_schema.py b/ansible_collections/arista/cvp/plugins/module_utils/tools_schema.py index bc7d98485..51b912961 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/tools_schema.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/tools_schema.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable = duplicate-code diff --git a/ansible_collections/arista/cvp/plugins/module_utils/tools_tree.py b/ansible_collections/arista/cvp/plugins/module_utils/tools_tree.py index 2c718d5da..df1bf5b06 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/tools_tree.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/tools_tree.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=bare-except # diff --git a/ansible_collections/arista/cvp/plugins/module_utils/validate_tools.py b/ansible_collections/arista/cvp/plugins/module_utils/validate_tools.py index 17194a46d..b09227cbe 100644 --- a/ansible_collections/arista/cvp/plugins/module_utils/validate_tools.py +++ b/ansible_collections/arista/cvp/plugins/module_utils/validate_tools.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/modules/cv_change_control_v3.py b/ansible_collections/arista/cvp/plugins/modules/cv_change_control_v3.py index b5f066e1d..1ae14e462 100644 --- a/ansible_collections/arista/cvp/plugins/modules/cv_change_control_v3.py +++ b/ansible_collections/arista/cvp/plugins/modules/cv_change_control_v3.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/modules/cv_configlet.py b/ansible_collections/arista/cvp/plugins/modules/cv_configlet.py index 6869f8938..d5dd87293 100644 --- a/ansible_collections/arista/cvp/plugins/modules/cv_configlet.py +++ b/ansible_collections/arista/cvp/plugins/modules/cv_configlet.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/modules/cv_configlet_v3.py b/ansible_collections/arista/cvp/plugins/modules/cv_configlet_v3.py index cd5cf02c6..1d657d06f 100644 --- a/ansible_collections/arista/cvp/plugins/modules/cv_configlet_v3.py +++ b/ansible_collections/arista/cvp/plugins/modules/cv_configlet_v3.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=bare-except # pylint: disable=dangerous-default-value diff --git a/ansible_collections/arista/cvp/plugins/modules/cv_container.py b/ansible_collections/arista/cvp/plugins/modules/cv_container.py index 01bc0768e..b81ef48c0 100644 --- a/ansible_collections/arista/cvp/plugins/modules/cv_container.py +++ b/ansible_collections/arista/cvp/plugins/modules/cv_container.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=bare-except # pylint: disable=logging-format-interpolation diff --git a/ansible_collections/arista/cvp/plugins/modules/cv_container_v3.py b/ansible_collections/arista/cvp/plugins/modules/cv_container_v3.py index 3e2834b50..c57308b38 100644 --- a/ansible_collections/arista/cvp/plugins/modules/cv_container_v3.py +++ b/ansible_collections/arista/cvp/plugins/modules/cv_container_v3.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=bare-except # pylint: disable=dangerous-default-value diff --git a/ansible_collections/arista/cvp/plugins/modules/cv_device.py b/ansible_collections/arista/cvp/plugins/modules/cv_device.py index 932735df3..76bf720db 100644 --- a/ansible_collections/arista/cvp/plugins/modules/cv_device.py +++ b/ansible_collections/arista/cvp/plugins/modules/cv_device.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/modules/cv_device_v3.py b/ansible_collections/arista/cvp/plugins/modules/cv_device_v3.py index c77218804..b66a43a95 100644 --- a/ansible_collections/arista/cvp/plugins/modules/cv_device_v3.py +++ b/ansible_collections/arista/cvp/plugins/modules/cv_device_v3.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=bare-except # pylint: disable=dangerous-default-value diff --git a/ansible_collections/arista/cvp/plugins/modules/cv_facts.py b/ansible_collections/arista/cvp/plugins/modules/cv_facts.py index 9be1653b5..118c836f9 100644 --- a/ansible_collections/arista/cvp/plugins/modules/cv_facts.py +++ b/ansible_collections/arista/cvp/plugins/modules/cv_facts.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # pylint: skip-file # coding: utf-8 -*- # diff --git a/ansible_collections/arista/cvp/plugins/modules/cv_facts_v3.py b/ansible_collections/arista/cvp/plugins/modules/cv_facts_v3.py index e99ca2e7b..331d41111 100644 --- a/ansible_collections/arista/cvp/plugins/modules/cv_facts_v3.py +++ b/ansible_collections/arista/cvp/plugins/modules/cv_facts_v3.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=bare-except # pylint: disable=dangerous-default-value diff --git a/ansible_collections/arista/cvp/plugins/modules/cv_image_v3.py b/ansible_collections/arista/cvp/plugins/modules/cv_image_v3.py index d334e1e60..29df8ddf3 100644 --- a/ansible_collections/arista/cvp/plugins/modules/cv_image_v3.py +++ b/ansible_collections/arista/cvp/plugins/modules/cv_image_v3.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/modules/cv_tag_v3.py b/ansible_collections/arista/cvp/plugins/modules/cv_tag_v3.py index d2e563517..4ac247c19 100644 --- a/ansible_collections/arista/cvp/plugins/modules/cv_tag_v3.py +++ b/ansible_collections/arista/cvp/plugins/modules/cv_tag_v3.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/modules/cv_task.py b/ansible_collections/arista/cvp/plugins/modules/cv_task.py index 3aa171d09..13c8632ea 100644 --- a/ansible_collections/arista/cvp/plugins/modules/cv_task.py +++ b/ansible_collections/arista/cvp/plugins/modules/cv_task.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/modules/cv_task_v3.py b/ansible_collections/arista/cvp/plugins/modules/cv_task_v3.py index 5fc17cc3d..7842aa599 100644 --- a/ansible_collections/arista/cvp/plugins/modules/cv_task_v3.py +++ b/ansible_collections/arista/cvp/plugins/modules/cv_task_v3.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/ansible_collections/arista/cvp/plugins/modules/cv_validate_v3.py b/ansible_collections/arista/cvp/plugins/modules/cv_validate_v3.py index 38830b655..63c94e4e0 100644 --- a/ansible_collections/arista/cvp/plugins/modules/cv_validate_v3.py +++ b/ansible_collections/arista/cvp/plugins/modules/cv_validate_v3.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2023 Arista Networks diff --git a/ansible_collections/arista/cvp/roles/configlets_sync/README.md b/ansible_collections/arista/cvp/roles/configlets_sync/README.md index 7f07d2861..743d10dc5 100644 --- a/ansible_collections/arista/cvp/roles/configlets_sync/README.md +++ b/ansible_collections/arista/cvp/roles/configlets_sync/README.md @@ -1,3 +1,9 @@ + + # configlet_sync role Ansible role to synchronize configlets between 2 instances of [CloudVision](https://www.arista.com/en/products/eos/eos-cloudvision) servers. diff --git a/ansible_collections/arista/cvp/roles/configlets_sync/templates/template.compare_configlets.j2 b/ansible_collections/arista/cvp/roles/configlets_sync/templates/template.compare_configlets.j2 index b153c9bf4..d4246d604 100644 --- a/ansible_collections/arista/cvp/roles/configlets_sync/templates/template.compare_configlets.j2 +++ b/ansible_collections/arista/cvp/roles/configlets_sync/templates/template.compare_configlets.j2 @@ -1,3 +1,8 @@ +{# + Copyright (c) 2023 Arista Networks, Inc. + Use of this source code is governed by the Apache License 2.0 + that can be found in the LICENSE file. +#} --- {% for configlet in shared_server %} {% if shared_master[configlet] is defined %} diff --git a/ansible_collections/arista/cvp/roles/configlets_sync/templates/template.cvp.shared_configlets.j2 b/ansible_collections/arista/cvp/roles/configlets_sync/templates/template.cvp.shared_configlets.j2 index 30f6d1679..17d3db701 100644 --- a/ansible_collections/arista/cvp/roles/configlets_sync/templates/template.cvp.shared_configlets.j2 +++ b/ansible_collections/arista/cvp/roles/configlets_sync/templates/template.cvp.shared_configlets.j2 @@ -1,3 +1,8 @@ +{# + Copyright (c) 2023 Arista Networks, Inc. + Use of this source code is governed by the Apache License 2.0 + that can be found in the LICENSE file. +#} --- CVP_CONFIGLET: {% for configlet in shared_configlets %} diff --git a/ansible_collections/arista/cvp/roles/configlets_sync/templates/template.device_configlets.j2 b/ansible_collections/arista/cvp/roles/configlets_sync/templates/template.device_configlets.j2 index c1544b9c1..865a599e6 100644 --- a/ansible_collections/arista/cvp/roles/configlets_sync/templates/template.device_configlets.j2 +++ b/ansible_collections/arista/cvp/roles/configlets_sync/templates/template.device_configlets.j2 @@ -1,3 +1,8 @@ +{# + Copyright (c) 2023 Arista Networks, Inc. + Use of this source code is governed by the Apache License 2.0 + that can be found in the LICENSE file. +#} --- {% if "_1" in inventory_hostname %} CVP_DEVICES: diff --git a/ansible_collections/arista/cvp/roles/configlets_sync/templates/template.shared_configlets.j2 b/ansible_collections/arista/cvp/roles/configlets_sync/templates/template.shared_configlets.j2 index 75d608520..264155d91 100644 --- a/ansible_collections/arista/cvp/roles/configlets_sync/templates/template.shared_configlets.j2 +++ b/ansible_collections/arista/cvp/roles/configlets_sync/templates/template.shared_configlets.j2 @@ -1,3 +1,8 @@ +{# + Copyright (c) 2023 Arista Networks, Inc. + Use of this source code is governed by the Apache License 2.0 + that can be found in the LICENSE file. +#} --- {% for configlet in ansible_facts['configlets'] %} {% if configlet_filter in configlet['name'] %} diff --git a/ansible_collections/arista/cvp/roles/dhcp_configuration/README.md b/ansible_collections/arista/cvp/roles/dhcp_configuration/README.md index 575a0e742..d8c9302ad 100644 --- a/ansible_collections/arista/cvp/roles/dhcp_configuration/README.md +++ b/ansible_collections/arista/cvp/roles/dhcp_configuration/README.md @@ -1,3 +1,9 @@ + + # dhcp_configuration role Ansible role to provision and configure Zero Touch Provisioning on a CloudVision server. Role will do the following: diff --git a/ansible_collections/arista/cvp/roles/dhcp_configuration/templates/dhcpd.conf.j2 b/ansible_collections/arista/cvp/roles/dhcp_configuration/templates/dhcpd.conf.j2 index af675a17a..4b2b7a079 100644 --- a/ansible_collections/arista/cvp/roles/dhcp_configuration/templates/dhcpd.conf.j2 +++ b/ansible_collections/arista/cvp/roles/dhcp_configuration/templates/dhcpd.conf.j2 @@ -1,4 +1,9 @@ +{# + Copyright (c) 2023 Arista Networks, Inc. + Use of this source code is governed by the Apache License 2.0 + that can be found in the LICENSE file. +#} # {{ ansible_managed }} - {{ inventory_hostname }} {% if ztp.general.dhcpd_raw is defined %} diff --git a/contributing.md b/contributing.md index 607793058..c70ac87c3 100644 --- a/contributing.md +++ b/contributing.md @@ -1,3 +1,9 @@ + + # Contribute to Arista ansible-cvp collection Please take a moment to review this document in order to make the contribution diff --git a/development/README.md b/development/README.md index 52aeeb644..94aeebf80 100644 --- a/development/README.md +++ b/development/README.md @@ -1,3 +1,9 @@ + + # Development Process Current page has moved to [documentation website](https://www.avd.sh/en/latest/docs/installation/development/) diff --git a/tests/PR_testing/README.md b/tests/PR_testing/README.md index cb01b61a6..c555e0db5 100644 --- a/tests/PR_testing/README.md +++ b/tests/PR_testing/README.md @@ -1,3 +1,9 @@ + + # How to test PR ## Setup diff --git a/tests/README.md b/tests/README.md index bd272dc57..df4d06742 100644 --- a/tests/README.md +++ b/tests/README.md @@ -1,3 +1,9 @@ + + # Ansible CVP Collection testing ## Tests structure diff --git a/tests/Unittest-README.md b/tests/Unittest-README.md index 66f359d4c..bd010cea7 100644 --- a/tests/Unittest-README.md +++ b/tests/Unittest-README.md @@ -1,3 +1,9 @@ + + # Ansible CVP Unit testing ## Unit test structure diff --git a/tests/data/container_tools_unit.py b/tests/data/container_tools_unit.py index 825753654..a0481c2bd 100644 --- a/tests/data/container_tools_unit.py +++ b/tests/data/container_tools_unit.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/tests/data/device_tools_unit.py b/tests/data/device_tools_unit.py index 891818f9b..c9f8b5057 100644 --- a/tests/data/device_tools_unit.py +++ b/tests/data/device_tools_unit.py @@ -1,3 +1,6 @@ +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # mock data from CVP version 2022.1.1 device_data = [{ 'serialNumber': '0123F2E4462997EB155B7C50EC148767', diff --git a/tests/data/facts_system_cvaas.py b/tests/data/facts_system_cvaas.py index c9051d919..8a788e84c 100644 --- a/tests/data/facts_system_cvaas.py +++ b/tests/data/facts_system_cvaas.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2022 Arista Networks diff --git a/tests/data/facts_unit.py b/tests/data/facts_unit.py index c87e181ff..9d7957c5f 100644 --- a/tests/data/facts_unit.py +++ b/tests/data/facts_unit.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- diff --git a/tests/data/image_unit.py b/tests/data/image_unit.py index d66c8e074..8bc52656f 100644 --- a/tests/data/image_unit.py +++ b/tests/data/image_unit.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # # Copyright 2019 Arista Networks diff --git a/tests/data/validate_tools_unit.py b/tests/data/validate_tools_unit.py index a9deb64d4..a63b8bede 100644 --- a/tests/data/validate_tools_unit.py +++ b/tests/data/validate_tools_unit.py @@ -1,3 +1,6 @@ +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # error configlet validate_router_bgp = { "config": "ruter bgp 1111\n neighbor 1.1.1.1 remote-bs 111", diff --git a/tests/lib/config.py b/tests/lib/config.py index 92232be15..c6cd73dd6 100644 --- a/tests/lib/config.py +++ b/tests/lib/config.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- """ config.py - Declares the credential of the specified server diff --git a/tests/lib/cvaas_configlet.py b/tests/lib/cvaas_configlet.py index 70920f3ab..8c9aa8af6 100644 --- a/tests/lib/cvaas_configlet.py +++ b/tests/lib/cvaas_configlet.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable = duplicate-code diff --git a/tests/lib/helpers.py b/tests/lib/helpers.py index 7cefb4575..8a308568f 100644 --- a/tests/lib/helpers.py +++ b/tests/lib/helpers.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable = duplicate-code diff --git a/tests/lib/json_data.py b/tests/lib/json_data.py index f85ea6872..6b4631ec6 100644 --- a/tests/lib/json_data.py +++ b/tests/lib/json_data.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable = duplicate-code diff --git a/tests/lib/mock.py b/tests/lib/mock.py index 45abd8e43..17a9cb739 100644 --- a/tests/lib/mock.py +++ b/tests/lib/mock.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- from unittest.mock import MagicMock, create_autospec diff --git a/tests/lib/mockMagic.py b/tests/lib/mockMagic.py index 6d92a47fe..141a69533 100644 --- a/tests/lib/mockMagic.py +++ b/tests/lib/mockMagic.py @@ -1,3 +1,6 @@ +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. from tests.data.device_tools_unit import (image_bundle, device_data) from tests.data.validate_tools_unit import (validate_router_bgp, return_validate_config_for_device, validate_warning, validate_true) diff --git a/tests/lib/mock_ansible.py b/tests/lib/mock_ansible.py index 55e0b47a6..cc07deeb8 100644 --- a/tests/lib/mock_ansible.py +++ b/tests/lib/mock_ansible.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- from unittest.mock import MagicMock, create_autospec diff --git a/tests/lib/parametrize.py b/tests/lib/parametrize.py index 3dae3cfae..6f48569f0 100644 --- a/tests/lib/parametrize.py +++ b/tests/lib/parametrize.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable=dangerous-default-value diff --git a/tests/lib/provisioner.py b/tests/lib/provisioner.py index a0244cd1c..41eaf134b 100644 --- a/tests/lib/provisioner.py +++ b/tests/lib/provisioner.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: skip-file # pylint: disable=logging-format-interpolation diff --git a/tests/lib/static_content.py b/tests/lib/static_content.py index d6b68d2fc..026c5f556 100644 --- a/tests/lib/static_content.py +++ b/tests/lib/static_content.py @@ -1,4 +1,7 @@ #!/usr/bin/env python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable = duplicate-code diff --git a/tests/lib/utils.py b/tests/lib/utils.py index 0be63afae..e35e10eca 100644 --- a/tests/lib/utils.py +++ b/tests/lib/utils.py @@ -1,3 +1,6 @@ +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. """ utility.py - Declaration of utility functions. """ diff --git a/tests/system/constants_data.py b/tests/system/constants_data.py index 7e62672d3..54578328b 100644 --- a/tests/system/constants_data.py +++ b/tests/system/constants_data.py @@ -1,3 +1,6 @@ +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. """ constants_data.py - Initializes variables used in the system testcases. """ diff --git a/tests/system/test_cv_configlet.py b/tests/system/test_cv_configlet.py index 911eca4bf..57dca33e4 100644 --- a/tests/system/test_cv_configlet.py +++ b/tests/system/test_cv_configlet.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable=dangerous-default-value diff --git a/tests/system/test_cv_container_tools.py b/tests/system/test_cv_container_tools.py index 4af4a3cbf..72772145a 100644 --- a/tests/system/test_cv_container_tools.py +++ b/tests/system/test_cv_container_tools.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable=dangerous-default-value diff --git a/tests/system/test_cv_device_tools.py b/tests/system/test_cv_device_tools.py index 2823fc8ef..d43c68ca7 100644 --- a/tests/system/test_cv_device_tools.py +++ b/tests/system/test_cv_device_tools.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable=dangerous-default-value diff --git a/tests/system/test_cv_device_tools_fqdn.py b/tests/system/test_cv_device_tools_fqdn.py index 82466e6e7..9d080679d 100644 --- a/tests/system/test_cv_device_tools_fqdn.py +++ b/tests/system/test_cv_device_tools_fqdn.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable=dangerous-default-value diff --git a/tests/system/test_cv_device_tools_generic.py b/tests/system/test_cv_device_tools_generic.py index 82790ce54..bdc56da67 100644 --- a/tests/system/test_cv_device_tools_generic.py +++ b/tests/system/test_cv_device_tools_generic.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable=dangerous-default-value diff --git a/tests/system/test_cv_device_tools_serial.py b/tests/system/test_cv_device_tools_serial.py index 04153e345..8e1e24b37 100644 --- a/tests/system/test_cv_device_tools_serial.py +++ b/tests/system/test_cv_device_tools_serial.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable=dangerous-default-value diff --git a/tests/system/test_cv_facts_tools.py b/tests/system/test_cv_facts_tools.py index 64f3c7d39..49fa95e6e 100644 --- a/tests/system/test_cv_facts_tools.py +++ b/tests/system/test_cv_facts_tools.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- from __future__ import (absolute_import, division, print_function) diff --git a/tests/unit/conftest.py b/tests/unit/conftest.py index a56471d55..2f99feed5 100644 --- a/tests/unit/conftest.py +++ b/tests/unit/conftest.py @@ -1,3 +1,6 @@ +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. from unittest.mock import create_autospec import pytest from tests.lib import mockMagic diff --git a/tests/unit/module_utils/test_validate_tools.py b/tests/unit/module_utils/test_validate_tools.py index 791366eeb..af1ee3b00 100644 --- a/tests/unit/module_utils/test_validate_tools.py +++ b/tests/unit/module_utils/test_validate_tools.py @@ -1,3 +1,6 @@ +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. from unittest.mock import call import pytest from ansible_collections.arista.cvp.plugins.module_utils.validate_tools import CvValidationTools diff --git a/tests/unit/test_configlet_input.py b/tests/unit/test_configlet_input.py index 8e05ceea6..d813a8076 100644 --- a/tests/unit/test_configlet_input.py +++ b/tests/unit/test_configlet_input.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable=dangerous-default-value diff --git a/tests/unit/test_container_inputs.py b/tests/unit/test_container_inputs.py index ca8591c9c..d2c4c4979 100644 --- a/tests/unit/test_container_inputs.py +++ b/tests/unit/test_container_inputs.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable=dangerous-default-value diff --git a/tests/unit/test_cv_container_tools.py b/tests/unit/test_cv_container_tools.py index c94a7f27e..df2021287 100644 --- a/tests/unit/test_cv_container_tools.py +++ b/tests/unit/test_cv_container_tools.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- import logging diff --git a/tests/unit/test_cv_device_tools.py b/tests/unit/test_cv_device_tools.py index d31ed4569..f976f8df9 100644 --- a/tests/unit/test_cv_device_tools.py +++ b/tests/unit/test_cv_device_tools.py @@ -1,3 +1,6 @@ +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. from unittest.mock import call import pytest diff --git a/tests/unit/test_cv_facts_tools.py b/tests/unit/test_cv_facts_tools.py index c4519a69a..de8275256 100644 --- a/tests/unit/test_cv_facts_tools.py +++ b/tests/unit/test_cv_facts_tools.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- from __future__ import (absolute_import, division, print_function) diff --git a/tests/unit/test_cv_image_tools.py b/tests/unit/test_cv_image_tools.py index 4fafeccb7..9487c29a4 100644 --- a/tests/unit/test_cv_image_tools.py +++ b/tests/unit/test_cv_image_tools.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- import logging diff --git a/tests/unit/test_cv_response.py b/tests/unit/test_cv_response.py index 63437e14b..ce08ad5c3 100644 --- a/tests/unit/test_cv_response.py +++ b/tests/unit/test_cv_response.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable=dangerous-default-value diff --git a/tests/unit/test_device_element.py b/tests/unit/test_device_element.py index 523452eed..8f1d4768a 100644 --- a/tests/unit/test_device_element.py +++ b/tests/unit/test_device_element.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable=dangerous-default-value diff --git a/tests/unit/test_device_inventory.py b/tests/unit/test_device_inventory.py index 0dfa592d8..136f721bc 100644 --- a/tests/unit/test_device_inventory.py +++ b/tests/unit/test_device_inventory.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable=dangerous-default-value diff --git a/tests/unit/test_json_schema.py b/tests/unit/test_json_schema.py index 5a21e3244..6eae5feb3 100644 --- a/tests/unit/test_json_schema.py +++ b/tests/unit/test_json_schema.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable=dangerous-default-value diff --git a/tests/unit/test_tools_cv.py b/tests/unit/test_tools_cv.py index 1846548df..b98e687d1 100644 --- a/tests/unit/test_tools_cv.py +++ b/tests/unit/test_tools_cv.py @@ -1,4 +1,7 @@ #!/usr/bin/python +# Copyright (c) 2023 Arista Networks, Inc. +# Use of this source code is governed by the Apache License 2.0 +# that can be found in the LICENSE file. # coding: utf-8 -*- # pylint: disable=logging-format-interpolation # pylint: disable=dangerous-default-value