From 9f72251d888530130206b4ee2cae22fafb0d51bf Mon Sep 17 00:00:00 2001 From: Carl Buchmann Date: Mon, 12 Aug 2024 16:29:58 -0400 Subject: [PATCH 1/5] Cut: Deprecate dhcp_configuration role (#712) --- .../arista/cvp/docs/release-notes/v3.x.md | 6 +++++ .../molecule/dhcp_management_mac/molecule.yml | 22 +++---------------- .../cvp/molecule/dhcp_system_mac/molecule.yml | 21 ++---------------- .../cvp/roles/dhcp_configuration/README.md | 6 ++++- .../dhcp_configuration/defaults/main.yml | 2 +- .../roles/dhcp_configuration/tasks/main.yml | 11 +++++++++- .../roles/dhcp_configuration/vars/main.yml | 2 +- 7 files changed, 28 insertions(+), 42 deletions(-) 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 cc353d8d7..4d697cbbd 100644 --- a/ansible_collections/arista/cvp/docs/release-notes/v3.x.md +++ b/ansible_collections/arista/cvp/docs/release-notes/v3.x.md @@ -14,6 +14,12 @@ - On premise version higher than 2021.3.0 - CloudVision as a Service +## Release 3.11.0 + +### Deprecations + +- The `dhcp_configuration` role has been deprecated and will be removed in version 4.0.0. + ## Release 3.10.1 Full release note available on [github](https://github.com/aristanetworks/ansible-cvp/releases/tag/v3.10.1) diff --git a/ansible_collections/arista/cvp/molecule/dhcp_management_mac/molecule.yml b/ansible_collections/arista/cvp/molecule/dhcp_management_mac/molecule.yml index 49b7494d0..54a9351e4 100644 --- a/ansible_collections/arista/cvp/molecule/dhcp_management_mac/molecule.yml +++ b/ansible_collections/arista/cvp/molecule/dhcp_management_mac/molecule.yml @@ -25,7 +25,7 @@ scenario: - destroy test_sequence: # - dependency - - lint + # - lint # - cleanup - destroy - syntax @@ -42,24 +42,8 @@ dependency: driver: name: docker platforms: - - name: centos7-systemd - image: centos:7 - command: /sbin/init - tmpfs: - - /run - - /tmp - volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro - - name: centos8-systemd - image: centos:8 - command: /sbin/init - tmpfs: - - /run - - /tmp - volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro - - name: ubuntu - image: ubuntu:18.04 + - name: ubuntu-22.04 + image: ubuntu:22.04 provisioner: log: true name: ansible diff --git a/ansible_collections/arista/cvp/molecule/dhcp_system_mac/molecule.yml b/ansible_collections/arista/cvp/molecule/dhcp_system_mac/molecule.yml index 728fb1c8d..1818b8f2f 100644 --- a/ansible_collections/arista/cvp/molecule/dhcp_system_mac/molecule.yml +++ b/ansible_collections/arista/cvp/molecule/dhcp_system_mac/molecule.yml @@ -25,7 +25,6 @@ scenario: - destroy test_sequence: # - dependency - - lint # - cleanup - destroy - syntax @@ -42,24 +41,8 @@ dependency: driver: name: docker platforms: - - name: centos7-systemd - image: centos:7 - command: /sbin/init - tmpfs: - - /run - - /tmp - volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro - - name: centos8-systemd - image: centos:8 - command: /sbin/init - tmpfs: - - /run - - /tmp - volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro - - name: ubuntu - image: ubuntu:18.04 + - name: ubuntu-22.04 + image: ubuntu:22.04 provisioner: log: true name: ansible diff --git a/ansible_collections/arista/cvp/roles/dhcp_configuration/README.md b/ansible_collections/arista/cvp/roles/dhcp_configuration/README.md index 384cc1d7f..52cdcc82a 100644 --- a/ansible_collections/arista/cvp/roles/dhcp_configuration/README.md +++ b/ansible_collections/arista/cvp/roles/dhcp_configuration/README.md @@ -4,6 +4,10 @@ ~ that can be found in the LICENSE file. --> +!!! warning + + The dhcp_configuration role has been deprecated and will be removed in version 4.0.0. + # dhcp_configuration role Ansible role to provision and configure Zero Touch Provisioning on a CloudVision server. Role will do the following: @@ -23,7 +27,7 @@ Below is a list of platforms where DHCPd configuration has been tested: - Centos 7 / 8 - Ubuntu 18.02 -- Arista CloudVision 2019 and onward (for lab purpose) +- Ubuntu 22.04 This role should work on any platform running [ISC-DHCP server](https://www.isc.org/dhcp/). diff --git a/ansible_collections/arista/cvp/roles/dhcp_configuration/defaults/main.yml b/ansible_collections/arista/cvp/roles/dhcp_configuration/defaults/main.yml index 217690f55..9e7a79544 100644 --- a/ansible_collections/arista/cvp/roles/dhcp_configuration/defaults/main.yml +++ b/ansible_collections/arista/cvp/roles/dhcp_configuration/defaults/main.yml @@ -1,5 +1,5 @@ --- -# defaults file for ztp-setup +# defaults file for dhcp_configuration # Configure default connection parameter. ansible_connection: paramiko diff --git a/ansible_collections/arista/cvp/roles/dhcp_configuration/tasks/main.yml b/ansible_collections/arista/cvp/roles/dhcp_configuration/tasks/main.yml index 05d26531d..ca83c8941 100644 --- a/ansible_collections/arista/cvp/roles/dhcp_configuration/tasks/main.yml +++ b/ansible_collections/arista/cvp/roles/dhcp_configuration/tasks/main.yml @@ -2,7 +2,16 @@ # Use of this source code is governed by the Apache License 2.0 # that can be found in the LICENSE file. --- -# tasks file for ztp-setup +# tasks file for dhcp_configuration + +- name: Deprecation warning! + delegate_to: localhost + ansible.builtin.debug: + msg: + - "!!! Deprecation Warning - Please note this role has been deprecated." + - "!!! Deprecation Warning - This role will be removed in version 4.0.0." + run_once: true + # If mode=online launch server configuration # If mode=offline generate dhcpd.conf to {{output_dir}} - name: Start creation/update process. diff --git a/ansible_collections/arista/cvp/roles/dhcp_configuration/vars/main.yml b/ansible_collections/arista/cvp/roles/dhcp_configuration/vars/main.yml index 37871de61..f21397700 100644 --- a/ansible_collections/arista/cvp/roles/dhcp_configuration/vars/main.yml +++ b/ansible_collections/arista/cvp/roles/dhcp_configuration/vars/main.yml @@ -1,2 +1,2 @@ --- -# vars file for ztp-setup +# vars file for dhcp_configuration From b83b7bfb3b8db23408e2bc17eaf7b83c6a139742 Mon Sep 17 00:00:00 2001 From: Petr Ankudinov Date: Tue, 13 Aug 2024 01:58:35 +0200 Subject: [PATCH 2/5] CI: Bump action molecule (#706) Co-authored-by: Sugetha Chandhrasekar Co-authored-by: Carl Buchmann --- .github/workflows/pull-request-management.yml | 9 ++++++--- ansible_collections/arista/cvp/collections.yml | 7 +++++++ .../molecule/dhcp_management_offline/molecule.yml | 12 ------------ 3 files changed, 13 insertions(+), 15 deletions(-) create mode 100644 ansible_collections/arista/cvp/collections.yml diff --git a/.github/workflows/pull-request-management.yml b/.github/workflows/pull-request-management.yml index 558cd950c..d2f4ad2c4 100644 --- a/.github/workflows/pull-request-management.yml +++ b/.github/workflows/pull-request-management.yml @@ -163,7 +163,8 @@ jobs: strategy: fail-fast: true matrix: - ansible_version: ['ansible-core==2.11.3', 'ansible-core>=2.11.3'] + ansible_version: + - 'ansible-core>=2.15.0,<2.18.0 --upgrade' avd_scenario: - cv_configlet_loose - cv_configlet_strict @@ -177,12 +178,13 @@ jobs: echo "ANSIBLE_FORCE_COLOR=1" >> $GITHUB_ENV - uses: actions/checkout@v3 - name: Run molecule action - uses: arista-netdevops-community/action-molecule-avd@v1.1 + uses: arista-netdevops-community/action-molecule-avd@v1.8.1 with: molecule_parentdir: 'ansible_collections/arista/cvp' molecule_command: 'test' molecule_args: '--scenario-name ${{ matrix.avd_scenario }}' pip_file: ansible_collections/arista/cvp/requirements.txt + galaxy_file: "ansible_collections/arista/cvp/collections.yml" ansible: "${{ matrix.ansible_version }}" check_git: true check_git_enforced: false @@ -213,12 +215,13 @@ jobs: echo "ANSIBLE_FORCE_COLOR=1" >> $GITHUB_ENV - uses: actions/checkout@v3 - name: Run molecule action - uses: arista-netdevops-community/action-molecule-avd@v1.1 + uses: arista-netdevops-community/action-molecule-avd@v1.8.1 with: molecule_parentdir: 'ansible_collections/arista/cvp' molecule_command: 'test' molecule_args: '--scenario-name ${{ matrix.avd_scenario }}' pip_file: ansible_collections/arista/cvp/requirements.txt + galaxy_file: "ansible_collections/arista/cvp/collections.yml" ansible: "${{ matrix.ansible_version }}" check_git: true check_git_enforced: false diff --git a/ansible_collections/arista/cvp/collections.yml b/ansible_collections/arista/cvp/collections.yml new file mode 100644 index 000000000..bc170eaf1 --- /dev/null +++ b/ansible_collections/arista/cvp/collections.yml @@ -0,0 +1,7 @@ +# collection requirements leveraged by molecule +collections: + - arista.eos + - ansible.netcommon + - community.general + - community.docker + - ansible.posix diff --git a/ansible_collections/arista/cvp/molecule/dhcp_management_offline/molecule.yml b/ansible_collections/arista/cvp/molecule/dhcp_management_offline/molecule.yml index 7ea31b670..66a26bbc1 100644 --- a/ansible_collections/arista/cvp/molecule/dhcp_management_offline/molecule.yml +++ b/ansible_collections/arista/cvp/molecule/dhcp_management_offline/molecule.yml @@ -42,15 +42,3 @@ provisioner: - --inventory=inventory/hosts verifier: name: ansible - inventory: - links: - hosts: 'inventory/hosts' - group_vars: 'inventory/group_vars/' - host_vars: 'inventory/host_vars/' - ansible_args: - - --inventory=inventory/hosts - config_options: - defaults: - jinja2_extensions: 'jinja2.ext.loopcontrols,jinja2.ext.do,jinja2.ext.i18n' - gathering: explicit - command_warnings: False From 472886fd33021d6b4f2103a08817632dc6c41c94 Mon Sep 17 00:00:00 2001 From: Sugetha Kalyanaraman Date: Tue, 13 Aug 2024 12:12:34 -0700 Subject: [PATCH 3/5] CI: Make CI better again (#714) --- .github/workflows/pull-request-management.yml | 80 +++++++++++++------ .github/workflows/pull-request-releases.yml | 50 ++++++------ 2 files changed, 82 insertions(+), 48 deletions(-) diff --git a/.github/workflows/pull-request-management.yml b/.github/workflows/pull-request-management.yml index d2f4ad2c4..9a9c77912 100644 --- a/.github/workflows/pull-request-management.yml +++ b/.github/workflows/pull-request-management.yml @@ -20,8 +20,8 @@ jobs: docs: ${{ steps.filter.outputs.docs }} python: ${{ steps.filter.outputs.python }} steps: - - uses: actions/checkout@v3 - - uses: dorny/paths-filter@v2 + - uses: actions/checkout@v4 + - uses: dorny/paths-filter@v3 id: filter with: filters: | @@ -63,6 +63,7 @@ jobs: - 'mkdocs.yml' - 'ansible_collections/arista/cvp/docs/**' - 'ansible_collections/arista/cvp/roles/**/README.md' + - 'ansible_collections/arista/cvp/index.md' - '.github/workflows/*' python: - 'ansible_collections/arista/cvp/plugins/**/*.py' @@ -82,11 +83,11 @@ jobs: steps: # Removed as gh action is marked as deprecated # - uses: pre-commit/action@v2.0.2 - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Set up Python 3 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install requirements @@ -111,9 +112,9 @@ jobs: run: | echo "PY_COLORS=1" >> $GITHUB_ENV echo "ANSIBLE_FORCE_COLOR=1" >> $GITHUB_ENV - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python_version }} - name: Test code compatibility @@ -136,9 +137,9 @@ jobs: run: | echo "PY_COLORS=1" >> $GITHUB_ENV echo "ANSIBLE_FORCE_COLOR=1" >> $GITHUB_ENV - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python_version }} - name: Install requirements @@ -150,7 +151,7 @@ jobs: run: | cd tests/ make unit-tests - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: name: pytest-report path: | @@ -165,7 +166,7 @@ jobs: matrix: ansible_version: - 'ansible-core>=2.15.0,<2.18.0 --upgrade' - avd_scenario: + cvp_scenario: - cv_configlet_loose - cv_configlet_strict - cv_device @@ -176,22 +177,22 @@ jobs: run: | echo "PY_COLORS=1" >> $GITHUB_ENV echo "ANSIBLE_FORCE_COLOR=1" >> $GITHUB_ENV - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run molecule action uses: arista-netdevops-community/action-molecule-avd@v1.8.1 with: molecule_parentdir: 'ansible_collections/arista/cvp' molecule_command: 'test' - molecule_args: '--scenario-name ${{ matrix.avd_scenario }}' + molecule_args: '--scenario-name ${{ matrix.cvp_scenario }}' pip_file: ansible_collections/arista/cvp/requirements.txt galaxy_file: "ansible_collections/arista/cvp/collections.yml" ansible: "${{ matrix.ansible_version }}" check_git: true check_git_enforced: false - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v3 with: - name: molecule-${{ matrix.avd_scenario }}-artifacts - path: ansible_collections/arista/cvp/molecule/${{ matrix.avd_scenario }} + name: molecule-${{ matrix.cvp_scenario }}-artifacts + path: ansible_collections/arista/cvp/molecule/${{ matrix.cvp_scenario }} molecule_dhcp: name: Validate Roles for DHCP management @@ -199,10 +200,8 @@ jobs: strategy: fail-fast: true matrix: - # ansible_version: ['ansible-core==2.11.3', 'ansible-core>=2.11.3'] - # XXX: - ansible_version: ['ansible-core==2.15.0', 'ansible-core>=2.17.0'] - avd_scenario: + ansible_version: ['ansible-core==2.15.0', 'ansible-core<2.18.0'] + cvp_scenario: - dhcp_management_mac - dhcp_management_offline - dhcp_system_mac @@ -213,13 +212,13 @@ jobs: run: | echo "PY_COLORS=1" >> $GITHUB_ENV echo "ANSIBLE_FORCE_COLOR=1" >> $GITHUB_ENV - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run molecule action uses: arista-netdevops-community/action-molecule-avd@v1.8.1 with: molecule_parentdir: 'ansible_collections/arista/cvp' molecule_command: 'test' - molecule_args: '--scenario-name ${{ matrix.avd_scenario }}' + molecule_args: '--scenario-name ${{ matrix.cvp_scenario }}' pip_file: ansible_collections/arista/cvp/requirements.txt galaxy_file: "ansible_collections/arista/cvp/collections.yml" ansible: "${{ matrix.ansible_version }}" @@ -279,9 +278,9 @@ jobs: run: | echo "PY_COLORS=1" >> $GITHUB_ENV echo "ANSIBLE_FORCE_COLOR=1" >> $GITHUB_ENV - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python_version }} - name: 'Install Python requirements' @@ -312,3 +311,38 @@ jobs: run: | cd ansible_collections/arista/cvp/ ansible-lint --force-color --strict -v + + # ----------------------------------- # + # Galaxy Importer + # ----------------------------------- # + galaxy_importer: + name: Test galaxy-importer + runs-on: ubuntu-20.04 # Older version to be compatible with old python + env: + PY_COLORS: 1 # allows molecule colors to be passed to GitHub Actions + ANSIBLE_FORCE_COLOR: 1 # allows ansible colors to be passed to GitHub Actions + GALAXY_IMPORTER_CONFIG: galaxy-importer/galaxy-importer.cfg + steps: + - uses: actions/setup-python@v5 + with: + python-version: | + 3.10 + - uses: actions/checkout@v4 + - name: 'Install Python & Ansible requirements' + run: | + pip install -r ansible_collections/arista/cvp/requirements.txt -r ansible_collections/arista/cvp/requirements-dev.txt --upgrade + ansible-galaxy collection install -r ansible_collections/arista/cvp/collections.yml + - name: Install galaxy-importer + # Install the specific version of galaxy-importer used on galaxy.ansible.com + # The version conflicts with our requirements, + # so we let the galaxy-importer version resolve remaining requirements. + run: | + pip install "galaxy-importer==0.4.20" + - name: 'Build ansible package' + run: make collection-build + - name: 'Run galaxy-importer checks' + run: python -m galaxy_importer.main *.tar.gz + - uses: actions/upload-artifact@v3 + with: + name: importer-logs + path: ./importer_result.json diff --git a/.github/workflows/pull-request-releases.yml b/.github/workflows/pull-request-releases.yml index ae417994e..729d7fe5a 100644 --- a/.github/workflows/pull-request-releases.yml +++ b/.github/workflows/pull-request-releases.yml @@ -36,28 +36,28 @@ jobs: cd ansible_collections/arista/avd/ ansible-test sanity -v --requirements --docker --skip-test yamllint --exclude docs/ - galaxy_importer: - name: Test galaxy-importer - runs-on: ubuntu-latest - container: avdteam/base:3.8-v2.0 - needs: [ molecule_eos_designs ] - if: needs.cloudvision.status != 'failed' && needs.molecule_eos_designs.status != 'failed' && needs.file-changes.outputs.plugins == 'true' - env: - PY_COLORS: 1 # allows molecule colors to be passed to GitHub Actions - ANSIBLE_FORCE_COLOR: 1 # allows ansible colors to be passed to GitHub Actions - steps: - - name: 'set environment variables' - run: | - echo "PY_COLORS=1" >> $GITHUB_ENV - echo "ANSIBLE_FORCE_COLOR=1" >> $GITHUB_ENV - - uses: actions/checkout@v2 - - name: install requirements - run: make install-requirements - - name: 'build ansible package' - run: make collection-build - - name: 'run ansible-importer checks' - run: python -m galaxy_importer.main *.tar.gz - - uses: actions/upload-artifact@v2 - with: - name: importer-logs - path: ./importer_result.json + # galaxy_importer: + # name: Test galaxy-importer + # runs-on: ubuntu-latest + # container: avdteam/base:3.8-v2.0 + # needs: [ molecule_eos_designs ] + # if: needs.cloudvision.status != 'failed' && needs.molecule_eos_designs.status != 'failed' && needs.file-changes.outputs.plugins == 'true' + # env: + # PY_COLORS: 1 # allows molecule colors to be passed to GitHub Actions + # ANSIBLE_FORCE_COLOR: 1 # allows ansible colors to be passed to GitHub Actions + # steps: + # - name: 'set environment variables' + # run: | + # echo "PY_COLORS=1" >> $GITHUB_ENV + # echo "ANSIBLE_FORCE_COLOR=1" >> $GITHUB_ENV + # - uses: actions/checkout@v2 + # - name: install requirements + # run: make install-requirements + # - name: 'build ansible package' + # run: make collection-build + # - name: 'run ansible-importer checks' + # run: python -m galaxy_importer.main *.tar.gz + # - uses: actions/upload-artifact@v2 + # with: + # name: importer-logs + # path: ./importer_result.json From f14ea3a3881e5437a7064846fc1cbd7077d93fd5 Mon Sep 17 00:00:00 2001 From: Sugetha Kalyanaraman Date: Wed, 14 Aug 2024 11:24:23 -0700 Subject: [PATCH 4/5] Bump: cvprac to 1.4.0 (#716) --- ansible_collections/arista/cvp/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible_collections/arista/cvp/requirements.txt b/ansible_collections/arista/cvp/requirements.txt index 6087a911e..fff12e687 100644 --- a/ansible_collections/arista/cvp/requirements.txt +++ b/ansible_collections/arista/cvp/requirements.txt @@ -2,6 +2,6 @@ netaddr>=0.7.19 Jinja2>=2.10.3 paramiko>=2.7.1 requests>=2.22.0 -cvprac>=1.3.1 +cvprac>=1.4.0 jsonschema>=3.2.0 treelib>=1.5.5 From b3d1b163555958b0eaf0e6b599033d8831004883 Mon Sep 17 00:00:00 2001 From: Sugetha Kalyanaraman Date: Thu, 15 Aug 2024 11:24:08 -0700 Subject: [PATCH 5/5] Bump: Release v3.11.0 (#715) --- ansible_collections/arista/cvp/CHANGELOG.rst | 17 ++++++++++++++++ .../arista/cvp/changelogs/.plugin-cache.yaml | 2 +- .../arista/cvp/changelogs/changelog.yaml | 13 ++++++++++++ .../changelogs/fragments_backup/v3.11.0.yml | 8 ++++++++ .../arista/cvp/docs/release-notes/v3.x.md | 20 +++++++++++++++++++ ansible_collections/arista/cvp/galaxy.yml | 2 +- 6 files changed, 60 insertions(+), 2 deletions(-) create mode 100644 ansible_collections/arista/cvp/changelogs/fragments_backup/v3.11.0.yml diff --git a/ansible_collections/arista/cvp/CHANGELOG.rst b/ansible_collections/arista/cvp/CHANGELOG.rst index 0faa64a01..ac7df07e7 100644 --- a/ansible_collections/arista/cvp/CHANGELOG.rst +++ b/ansible_collections/arista/cvp/CHANGELOG.rst @@ -5,6 +5,23 @@ Arista.Cvp Release Notes .. contents:: Topics +v3.11.0 +======= + +Release Summary +--------------- + +Release 3.11.0 - See documentation on cvp.avd.sh for details. + + +Bugfixes +-------- + +- Allow cv_device_v3 to handle SN-based decomms +- Cv_validate_v3 broken with cvprac 1.4.0 due to argument keyword change +- Device decommissioning fails if a device is not streaming and not provisioned +- Update Readme with correct ansible-core version + v3.10.1 ======= diff --git a/ansible_collections/arista/cvp/changelogs/.plugin-cache.yaml b/ansible_collections/arista/cvp/changelogs/.plugin-cache.yaml index 8f781a802..44e7a9877 100644 --- a/ansible_collections/arista/cvp/changelogs/.plugin-cache.yaml +++ b/ansible_collections/arista/cvp/changelogs/.plugin-cache.yaml @@ -86,4 +86,4 @@ plugins: strategy: {} test: {} vars: {} -version: 3.10.1 +version: 3.11.0 diff --git a/ansible_collections/arista/cvp/changelogs/changelog.yaml b/ansible_collections/arista/cvp/changelogs/changelog.yaml index cf61af382..e68ee9c93 100644 --- a/ansible_collections/arista/cvp/changelogs/changelog.yaml +++ b/ansible_collections/arista/cvp/changelogs/changelog.yaml @@ -20,6 +20,19 @@ releases: fragments: - v3.10.1.yml release_date: '2023-12-06' + 3.11.0: + changes: + bugfixes: + - Allow cv_device_v3 to handle SN-based decomms + - Cv_validate_v3 broken with cvprac 1.4.0 due to argument keyword change + - Device decommissioning fails if a device is not streaming and not provisioned + - Update Readme with correct ansible-core version + release_summary: 'Release 3.11.0 - See documentation on cvp.avd.sh for details. + + ' + fragments: + - v3.11.0.yml + release_date: '2024-08-13' 3.4.0: changes: bugfixes: diff --git a/ansible_collections/arista/cvp/changelogs/fragments_backup/v3.11.0.yml b/ansible_collections/arista/cvp/changelogs/fragments_backup/v3.11.0.yml new file mode 100644 index 000000000..daebdb8e4 --- /dev/null +++ b/ansible_collections/arista/cvp/changelogs/fragments_backup/v3.11.0.yml @@ -0,0 +1,8 @@ +release_summary: | + Release 3.11.0 - See documentation on cvp.avd.sh for details. + +bugfixes: + - Cv_validate_v3 broken with cvprac 1.4.0 due to argument keyword change + - Update Readme with correct ansible-core version + - Allow cv_device_v3 to handle SN-based decomms + - Device decommissioning fails if a device is not streaming and not provisioned 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 4d697cbbd..5674c66a8 100644 --- a/ansible_collections/arista/cvp/docs/release-notes/v3.x.md +++ b/ansible_collections/arista/cvp/docs/release-notes/v3.x.md @@ -16,10 +16,30 @@ ## Release 3.11.0 +Full release note available on [github](https://github.com/aristanetworks/ansible-cvp/releases/tag/v3.11.0) + ### Deprecations - The `dhcp_configuration` role has been deprecated and will be removed in version 4.0.0. +### Bug fixes + +- `cv_validate_v3` Fix broken module with cvprac 1.4.0 due to argument keyword change(#694) +- `cv_device_v3` Fix device decommissioning fail when a device is not streaming and not provisioned(#700) +- `cv_device_v3` Allow cv_device_v3 to handle SN-based decomms(#705) + +### Documentation + +- Add actions documentation +- Readme updates to align with new Red Hat template + +### Requirements + +- Ansible-cvp now requires a newer minimum and maximum version of the Python package `ansible-core>=2.15.0,<2.18.0` +The latest version can be installed with `pip install "ansible-core>=2.15.0" --upgrade` +- Ansible-cvp now requires a newer minimum but no maximum version of the Python package `cvprac>=1.4.0` +The latest version can be installed with `pip install "cvprac>=1.4.0" --upgrade` + ## Release 3.10.1 Full release note available on [github](https://github.com/aristanetworks/ansible-cvp/releases/tag/v3.10.1) diff --git a/ansible_collections/arista/cvp/galaxy.yml b/ansible_collections/arista/cvp/galaxy.yml index 630cfac7d..49f0c3d03 100644 --- a/ansible_collections/arista/cvp/galaxy.yml +++ b/ansible_collections/arista/cvp/galaxy.yml @@ -8,7 +8,7 @@ namespace: arista name: cvp # The version of the collection. Must be compatible with semantic versioning -version: 3.10.1 +version: 3.11.0 # The path to the Markdown (.md) readme file. This path is relative to the root of the collection readme: README.md