Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cut: Deprecate dhcp_configuration role #712

Merged
merged 5 commits into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ansible_collections/arista/cvp/docs/release-notes/v3.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ scenario:
- destroy
test_sequence:
# - dependency
- lint
# - lint
# - cleanup
- destroy
- syntax
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ scenario:
- destroy
test_sequence:
# - dependency
- lint
# - cleanup
- destroy
- syntax
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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/).

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
# defaults file for ztp-setup
# defaults file for dhcp_configuration
# Configure default connection parameter.
ansible_connection: paramiko

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
# vars file for ztp-setup
# vars file for dhcp_configuration
Loading