Skip to content

Commit

Permalink
Bump: Release 4.0.0 (#2980)
Browse files Browse the repository at this point in the history
Co-authored-by: Claus Holbech <[email protected]>
  • Loading branch information
carlbuchmann and ClausHolbechArista authored Jun 13, 2023
1 parent a803f83 commit 43bfb46
Show file tree
Hide file tree
Showing 13 changed files with 1,425 additions and 105 deletions.
1 change: 0 additions & 1 deletion .github/.markdownlintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
ansible_collections/arista/avd/molecule/
ansible_collections/arista/avd/examples/*/documentation/
ansible_collections/arista/avd/tests/unit/filters/toc_files/
ansible_collections/arista/avd/roles/eos_designs/schemas/doc_fragments/
327 changes: 327 additions & 0 deletions ansible_collections/arista/avd/CHANGELOG.rst

Large diffs are not rendered by default.

36 changes: 34 additions & 2 deletions ansible_collections/arista/avd/changelogs/.plugin-cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,21 @@ plugins:
callback: {}
cliconf: {}
connection: {}
filter:
hide_passwords:
description: Replace a value by "<removed>"
name: hide_passwords
version_added: 4.0.0
httpapi: {}
inventory: {}
lookup: {}
module:
batch_template:
description: Render Jinja2 template on multiple items and write result to individual
files.
name: batch_template
namespace: ''
version_added: 4.0.0
configlet_build_config:
description: Build arista.cvp.configlet configuration.
name: configlet_build_config
Expand All @@ -20,17 +31,32 @@ plugins:
name: eos_designs_facts
namespace: ''
version_added: 3.5.0
eos_designs_structured_config:
description: Generate AVD EOS Designs structured configuration
name: eos_designs_structured_config
namespace: ''
version_added: 4.0.0
inventory_to_container:
description: Transform information from inventory to arista.cvp collection
name: inventory_to_container
namespace: ''
version_added: 1.0.0
set_vars:
description: Set vars as ansible_facts.
name: set_vars
namespace: ''
version_added: 4.0.0
validate_and_template:
description: Validate input data according to Schema, render Jinja2 template
and write result to a file.
name: validate_and_template
namespace: ''
version_added: 3.8.0
verify_requirements:
description: Verify Python requirements when running AVD
name: verify_requirements
namespace: ''
version_added: 4.0.0
yaml_templates_to_facts:
description: Set facts from YAML via Jinja2 templates
name: yaml_templates_to_facts
Expand All @@ -39,5 +65,11 @@ plugins:
netconf: {}
shell: {}
strategy: {}
vars: {}
version: 3.8.0
test: {}
vars:
global_vars:
description: Variable plugins to allow loading global_vars with less precedence
than group_vars or host_vars
name: global_vars
version_added: 4.0.0
version: 4.0.0
7 changes: 6 additions & 1 deletion ansible_collections/arista/avd/changelogs/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

Prepare changelog fragments. Copy PR titles from GitHub Release Notes (auto generated) and search/replace to make the formatting fit.
Prepare changelog fragments and place them in `changelogs/fragments/` folder. Copy PR titles from GitHub Release Notes (auto generated) and search/replace to make the formatting fit.
Check a previous fragments_backup for example.

To generate changelog (Note this can only be done once, since it will remove the fragments file - make sure to copy it to fragments_backup first):
Expand All @@ -9,3 +9,8 @@ To generate changelog (Note this can only be done once, since it will remove the
cd ansible_collections/arista/avd/
antsibull-changelog release
```

## Documentation

- [antsibull-changelog](https://github.com/ansible-community/antsibull-changelog/blob/main/docs/changelogs.rst)
- [categories]https://github.com/ansible-community/antsibull-changelog/blob/main/docs/changelogs.rst#changelog-fragment-categories
420 changes: 420 additions & 0 deletions ansible_collections/arista/avd/changelogs/changelog.yaml

Large diffs are not rendered by default.

Empty file.
300 changes: 300 additions & 0 deletions ansible_collections/arista/avd/changelogs/fragments_backup/v4.0.0.yml

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions ansible_collections/arista/avd/docs/porting-guides/4.x.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ and playbooks to be compatible with new default behaviors and changed data model
Users of `eos_designs` do not have to consider the changes in `eos_cli_config_gen`, since those adaptions are
built into `eos_designs`.

## Data model changes from "dict-of-dicts" to "list-of-dicts"
## Common changes

### Data model changes from "dict-of-dicts" to "list-of-dicts"

In AVD 4.0.0 and across both `eos_designs` and `eos_cli_config_gen`, *all* "dict-of-dicts" data models with user-defined keys have been changed to "list-of-dicts".

Expand Down Expand Up @@ -66,7 +68,7 @@ ERROR! [dc1-spine1]: 'Data Type Converted: l2leaf.node_groups.[0].nodes from 'di

When the list is empty the variables have been updated correctly. Notice that errors may be emitted at different stages of the play, so let it run to the end.

## Changes to role `arista.avd.eos_designs`
## Changes to role arista.avd.eos_designs

### Network services variables

Expand Down Expand Up @@ -507,8 +509,6 @@ ethernet_interfaces:

The `hardware_counters.features` model has been improved to allow more options.

TODO: add link to the full data model

=== "3.x"

```yaml
Expand All @@ -532,6 +532,8 @@ TODO: add link to the full data model
direction: in
```

See the full data model in the [documentation](../../roles/eos_cli_config_gen/docs/input-variables.md#hardware-counters)

### ip_name_servers

The `name_server` key has been deprecated in favor of `ip_name_servers`, more
Expand Down Expand Up @@ -753,7 +755,7 @@ eos_cli_config_gen_documentation:

### Inventory to CloudVision containers

In AVD 4.0.0, the role gets support for dynamic Ansible inventories. This means the CloudVision containers' basis will no longer be the `inventory.yml` file. Instead, the role reads the loaded Ansible inventory. This inventory can be loaded from dynamic inventory plugins like Ansible Automation Platform, AWX, etc.
In AVD 4.0.0, the role `arista.avd.eos_config_deploy_cvp` gets support for dynamic Ansible inventories. This means the CloudVision containers' basis will no longer be the `inventory.yml` file. Instead, the role reads the loaded Ansible inventory. This inventory can be loaded from dynamic inventory plugins like Ansible Automation Platform, AWX, etc.

The new inventory parsing is stricter than the previous method, so all Ansible inventory groups *must* be laid
out as a regular tree structure starting from the `container_root`.
Expand Down
Loading

0 comments on commit 43bfb46

Please sign in to comment.