From 0a71f8f4a6b5e47da1c8d2b5c45bab0d46ec0454 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci-lite[bot]" <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> Date: Fri, 23 Feb 2024 13:03:27 +0000 Subject: [PATCH] [pre-commit.ci lite] apply automatic fixes --- .../network_services/router_adaptive_virtual_topology.py | 2 +- .../python_modules/network_services/router_path_selection.py | 2 +- .../python_modules/network_services/vxlan_interface.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_adaptive_virtual_topology.py b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_adaptive_virtual_topology.py index 3af8ca258b9..ebf1cdebbdd 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_adaptive_virtual_topology.py +++ b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_adaptive_virtual_topology.py @@ -93,7 +93,7 @@ def _augmented_cv_pathfinder_policies(self) -> list: } ) # Eurk - avt_policy['name'] = avt_policy['original_name'] + avt_policy["name"] = avt_policy["original_name"] for application_virtual_topology in get(avt_policy, "application_virtual_topologies", []): application_profile = get(application_virtual_topology, "application_profile", required=True) diff --git a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_path_selection.py b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_path_selection.py index b7402d2350e..422b1255b75 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_path_selection.py +++ b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/router_path_selection.py @@ -70,7 +70,7 @@ def _autovpn_policies(self) -> list: ) rule_id_offset = 1 # Eurk - policy['name'] = policy['original_name'] + policy["name"] = policy["original_name"] for rule_id, application_virtual_topology in enumerate(get(policy, "application_virtual_topologies", []), start=1): name = get(application_virtual_topology, "name", default=f"{policy['name']}-{application_virtual_topology['application_profile']}") diff --git a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/vxlan_interface.py b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/vxlan_interface.py index 7c1d5760673..3b2d0e96611 100644 --- a/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/vxlan_interface.py +++ b/ansible_collections/arista/avd/roles/eos_designs/python_modules/network_services/vxlan_interface.py @@ -9,7 +9,7 @@ from ansible_collections.arista.avd.plugins.filter.natural_sort import natural_sort from ansible_collections.arista.avd.plugins.filter.range_expand import range_expand from ansible_collections.arista.avd.plugins.plugin_utils.errors import AristaAvdError, AristaAvdMissingVariableError -from ansible_collections.arista.avd.plugins.plugin_utils.utils import append_if_not_duplicate, default, get, unique, get_item +from ansible_collections.arista.avd.plugins.plugin_utils.utils import append_if_not_duplicate, default, get, get_item, unique from .utils import UtilsMixin