From 1495544f0a3fffa5953eddaf7f751ef311275d87 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 28 Jan 2025 08:56:01 -0500 Subject: [PATCH] CI: pre-commit autoupdate (#4936) Co-authored-by: gmuloc --- .pre-commit-config.yaml | 6 +++--- .../arista/avd/examples/dual-dc-l3ls/README.md | 2 +- .../arista/avd/examples/single-dc-l3ls/README.md | 2 +- .../docs/tables/network-services-vrfs-settings.md | 4 ++-- python-avd/pyavd/_eos_designs/schema/__init__.py | 4 ++-- python-avd/pyavd/_eos_designs/schema/eos_designs.schema.yml | 2 +- .../schema_fragments/mlag_ibgp_peering_vrfs.schema.yml | 2 +- .../tests/schema_tools/artifacts/eos_designs.schema.yml | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9c10809c62b..a0469086664 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -75,7 +75,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit # Ruff version. - rev: v0.9.2 + rev: v0.9.3 hooks: # Run the linter. - id: ruff @@ -117,7 +117,7 @@ repos: name: Check for Linting errors on Jinja2 files - repo: https://github.com/codespell-project/codespell - rev: v2.3.0 + rev: v2.4.0 hooks: - id: codespell name: Check for common misspellings in text files. @@ -213,7 +213,7 @@ repos: additional_dependencies: ['Jinja2>=3.0.0', 'cryptography>=38.0.4', 'deepmerge>=1.1.0'] - repo: https://github.com/igorshubovych/markdownlint-cli - rev: v0.43.0 + rev: v0.44.0 hooks: - id: markdownlint name: Check for Linting errors on Markdown files with settings defined in `.github/.markdownlint.yaml`. diff --git a/ansible_collections/arista/avd/examples/dual-dc-l3ls/README.md b/ansible_collections/arista/avd/examples/dual-dc-l3ls/README.md index afe567f4afb..fd6adf33d49 100644 --- a/ansible_collections/arista/avd/examples/dual-dc-l3ls/README.md +++ b/ansible_collections/arista/avd/examples/dual-dc-l3ls/README.md @@ -342,7 +342,7 @@ l3leaf: 7. `mlag_peer_ipv4_pool` defines the IP scope from which AVD assigns IPv4 addresses for the MLAG peer link interface VLAN4094. 8. `mlag_peer_l3_ipv4_pool` defines the IP scope from which AVD assigns IPv4 addresses for the iBGP peering established between the two leaf switches via the SVI/IRB interface VLAN4093. 9. `virtual_router_mac_address` defines the MAC address used for the anycast gateway on the various subnets. This is the MAC address connected endpoints will learn when ARPing for their default gateway. -10. `spanning_tree_priority` sets the spanning tree priority. Since spanning tree in an L3LS network is effectively only running locally on the switch, the same priority across all L3 leaf switches can be re-used. +10. `spanning_tree_priority` sets the spanning tree priority. Since spanning tree in an L3LS network is effectively only running locally on the switch, the same priority across all L3 leaf switches can be reused. 11. `spanning_tree_mode` defines the spanning tree mode. In this case, we are using MSTP, which is the default. However, other modes are supported should they be required, for example, for connectivity to legacy or third-party vendor environments. 12. `node_groups` defines settings common to more than one node. For example, when exactly two nodes are part of a node group for leaf switches, AVD will, by default, automatically generate MLAG configuration. 13. `bgp_as` is defined once since an MLAG pair shares a single BGP AS number. diff --git a/ansible_collections/arista/avd/examples/single-dc-l3ls/README.md b/ansible_collections/arista/avd/examples/single-dc-l3ls/README.md index 84fc9039198..e07dd352690 100644 --- a/ansible_collections/arista/avd/examples/single-dc-l3ls/README.md +++ b/ansible_collections/arista/avd/examples/single-dc-l3ls/README.md @@ -455,7 +455,7 @@ l3leaf: 9. `mlag_peer_ipv4_pool` defines the IP scope from which AVD assigns IPv4 addresses for the MLAG peer link interface VLAN4094. 10. `mlag_peer_l3_ipv4_pool` defines the IP scope from which AVD assigns IPv4 addresses for the iBGP peering established between the two leaf switches via the SVI/IRB interface VLAN4093. 11. `virtual_router_mac_address` defines the MAC address used for the anycast gateway on the various subnets. This is the MAC address connected endpoints will learn when ARPing for their default gateway. -12. `spanning_tree_priority` sets the spanning tree priority. Since spanning tree in an L3LS network is effectively only running locally on the switch, the same priority across all L3 leaf switches can be re-used. +12. `spanning_tree_priority` sets the spanning tree priority. Since spanning tree in an L3LS network is effectively only running locally on the switch, the same priority across all L3 leaf switches can be reused. 13. `spanning_tree_mode` defines the spanning tree mode. In this case, we are using MSTP, which is the default. However, other modes are supported should they be required, for example, for connectivity to legacy or third-party vendor environments. 14. `node_groups` defines settings common to more than one node. For example, when exactly two nodes are part of a node group for leaf switches, AVD will, by default, automatically generate MLAG configuration. 15. `bgp_as` is defined once since an MLAG pair shares a single BGP AS number. diff --git a/ansible_collections/arista/avd/roles/eos_designs/docs/tables/network-services-vrfs-settings.md b/ansible_collections/arista/avd/roles/eos_designs/docs/tables/network-services-vrfs-settings.md index 2ebbcea1b85..e2a1b92c13c 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/docs/tables/network-services-vrfs-settings.md +++ b/ansible_collections/arista/avd/roles/eos_designs/docs/tables/network-services-vrfs-settings.md @@ -75,7 +75,7 @@ | [              - <str>](## ".[].vrfs.[].additional_route_targets.[].nodes.[]") | String | | | | | | [        raw_eos_cli](## ".[].vrfs.[].raw_eos_cli") | String | | | | EOS CLI rendered directly on the root level of the final EOS configuration. | | [        structured_config](## ".[].vrfs.[].structured_config") | Dictionary | | | | Custom structured config for eos_cli_config_gen. | - | [mlag_ibgp_peering_vrfs](## "mlag_ibgp_peering_vrfs") | Dictionary | | | | On mlag leafs, an SVI interface is defined per vrf, to establish iBGP peering (required when there are MLAG leafs in topology).
The SVI id will be derived from the base vlan defined: mlag_ibgp_peering_vrfs.base_vlan + (vrf_id or vrf_vni) - 1.
Depending on the values of vrf_id / vrf_vni it may be required to adjust the base_vlan to avoid overlaps or invalid vlan ids.
The SVI ip address derived from mlag_l3_peer_ipv4_pool is re-used across all iBGP peerings.
| + | [mlag_ibgp_peering_vrfs](## "mlag_ibgp_peering_vrfs") | Dictionary | | | | On mlag leafs, an SVI interface is defined per vrf, to establish iBGP peering (required when there are MLAG leafs in topology).
The SVI id will be derived from the base vlan defined: mlag_ibgp_peering_vrfs.base_vlan + (vrf_id or vrf_vni) - 1.
Depending on the values of vrf_id / vrf_vni it may be required to adjust the base_vlan to avoid overlaps or invalid vlan ids.
The SVI ip address derived from mlag_l3_peer_ipv4_pool is reused across all iBGP peerings.
| | [  base_vlan](## "mlag_ibgp_peering_vrfs.base_vlan") | Integer | | `3000` | Min: 1
Max: 4093 | | === "YAML" @@ -310,7 +310,7 @@ # On mlag leafs, an SVI interface is defined per vrf, to establish iBGP peering (required when there are MLAG leafs in topology). # The SVI id will be derived from the base vlan defined: mlag_ibgp_peering_vrfs.base_vlan + (vrf_id or vrf_vni) - 1. # Depending on the values of vrf_id / vrf_vni it may be required to adjust the base_vlan to avoid overlaps or invalid vlan ids. - # The SVI ip address derived from mlag_l3_peer_ipv4_pool is re-used across all iBGP peerings. + # The SVI ip address derived from mlag_l3_peer_ipv4_pool is reused across all iBGP peerings. mlag_ibgp_peering_vrfs: base_vlan: ``` diff --git a/python-avd/pyavd/_eos_designs/schema/__init__.py b/python-avd/pyavd/_eos_designs/schema/__init__.py index e6d5b792b56..b1ce0e401d8 100644 --- a/python-avd/pyavd/_eos_designs/schema/__init__.py +++ b/python-avd/pyavd/_eos_designs/schema/__init__.py @@ -56051,7 +56051,7 @@ def __init__( Depending on the values of vrf_id / vrf_vni it may be required to adjust the base_vlan to avoid overlaps or invalid vlan ids. The SVI ip - address derived from mlag_l3_peer_ipv4_pool is re-used across all iBGP peerings. + address derived from mlag_l3_peer_ipv4_pool is reused across all iBGP peerings. Subclass of @@ -57763,7 +57763,7 @@ def __init__( Depending on the values of vrf_id / vrf_vni it may be required to adjust the base_vlan to avoid overlaps or invalid vlan ids. The SVI ip - address derived from mlag_l3_peer_ipv4_pool is re-used across all iBGP peerings. + address derived from mlag_l3_peer_ipv4_pool is reused across all iBGP peerings. Subclass of diff --git a/python-avd/pyavd/_eos_designs/schema/eos_designs.schema.yml b/python-avd/pyavd/_eos_designs/schema/eos_designs.schema.yml index cc590c811f8..c8cf2d406db 100644 --- a/python-avd/pyavd/_eos_designs/schema/eos_designs.schema.yml +++ b/python-avd/pyavd/_eos_designs/schema/eos_designs.schema.yml @@ -2206,7 +2206,7 @@ keys: Depending on the values of vrf_id / vrf_vni it may be required to adjust the base_vlan to avoid overlaps or invalid vlan ids. - The SVI ip address derived from mlag_l3_peer_ipv4_pool is re-used across all + The SVI ip address derived from mlag_l3_peer_ipv4_pool is reused across all iBGP peerings. ' diff --git a/python-avd/pyavd/_eos_designs/schema/schema_fragments/mlag_ibgp_peering_vrfs.schema.yml b/python-avd/pyavd/_eos_designs/schema/schema_fragments/mlag_ibgp_peering_vrfs.schema.yml index c74676964c9..01a6bd2986d 100644 --- a/python-avd/pyavd/_eos_designs/schema/schema_fragments/mlag_ibgp_peering_vrfs.schema.yml +++ b/python-avd/pyavd/_eos_designs/schema/schema_fragments/mlag_ibgp_peering_vrfs.schema.yml @@ -14,7 +14,7 @@ keys: On mlag leafs, an SVI interface is defined per vrf, to establish iBGP peering (required when there are MLAG leafs in topology). The SVI id will be derived from the base vlan defined: mlag_ibgp_peering_vrfs.base_vlan + (vrf_id or vrf_vni) - 1. Depending on the values of vrf_id / vrf_vni it may be required to adjust the base_vlan to avoid overlaps or invalid vlan ids. - The SVI ip address derived from mlag_l3_peer_ipv4_pool is re-used across all iBGP peerings. + The SVI ip address derived from mlag_l3_peer_ipv4_pool is reused across all iBGP peerings. keys: base_vlan: type: int diff --git a/python-avd/tests/schema_tools/artifacts/eos_designs.schema.yml b/python-avd/tests/schema_tools/artifacts/eos_designs.schema.yml index 5f3e21d8b66..389cc2daa96 100644 --- a/python-avd/tests/schema_tools/artifacts/eos_designs.schema.yml +++ b/python-avd/tests/schema_tools/artifacts/eos_designs.schema.yml @@ -1145,7 +1145,7 @@ keys: Depending on the values of vrf_id / vrf_vni it may be required to adjust the base_vlan to avoid overlaps or invalid vlan ids. - The SVI ip address derived from mlag_l3_peer_ipv4_pool is re-used across all + The SVI ip address derived from mlag_l3_peer_ipv4_pool is reused across all iBGP peerings. '