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

Fix(eos_cli_config_gen): MAC Security key fallback configured even if set to false #3437

Merged
merged 3 commits into from
Dec 15, 2023

Conversation

bjmeuer
Copy link
Contributor

@bjmeuer bjmeuer commented Dec 15, 2023

Change Summary

Added a check if the MAC Security Key fallback option is true and only configure it when it is true

Related Issue(s)

Fixes #3436

Component(s) name

arista.avd.eos_cli_config_gen

Proposed changes

added a check that fallback is true

{% if connection_key.fallback is arista.avd.defined and connection_key.fallback %}

How to test

mac_security:
profiles:
- name: A3
cipher: aes256-gcm-xpn
connection_keys:
- id: ab
encrypted_key: 10195F4C5144405A
fallback: false

Checklist

User Checklist

  • N/A

Repository Checklist

  • My code has been rebased from devel before I start
  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation and documentation have been updated accordingly.
  • I have updated molecule CI testing accordingly. (check the box if not applicable)

@bjmeuer bjmeuer requested review from a team as code owners December 15, 2023 13:33
@github-actions github-actions bot added role: eos_cli_config_gen issue related to eos_cli_config_gen role state: CI Updated CI scenario have been updated in the PR labels Dec 15, 2023
@gmuloc gmuloc requested review from a team December 15, 2023 13:35
…tes/eos/mac-security.j2

Co-authored-by: Guillaume Mulocher <gmulocher@arista.com>
@gmuloc gmuloc added this to the v4.5.0 milestone Dec 15, 2023
@carlbuchmann carlbuchmann added the type: bug Something isn't working label Dec 15, 2023
Copy link
Member

@carlbuchmann carlbuchmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@gmuloc gmuloc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once CI finishes

@gmuloc gmuloc merged commit 718a99d into aristanetworks:devel Dec 15, 2023
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn: Fix(eos_cli_config_gen) role: eos_cli_config_gen issue related to eos_cli_config_gen role state: CI Updated CI scenario have been updated in the PR type: bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix(eos_cli_config_gen): MAC Security key fallback configured even if set to false
4 participants