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

Feat(eos_designs): macsec support fabric links #1506 #1538

Conversation

ankudinov
Copy link
Contributor

Change Summary

Introduce a node key to enable MacSec on all uplinks.

Related Issue(s)

Fixes #1506

Component(s) name

arista.avd.eos_designs

Proposed changes

Following key will be added uplink management and follow the same logic as uplink_ptp, etc.

< node_type_key >:

  defaults:
    # Enable MacSec on all uplinks | Optional
    uplink_macsec:
      profile: "< MacSec profile name >"

How to test

molecule converge --scenario-name eos_designs-twodc-5stage-clos

Checklist

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)

@ankudinov ankudinov requested a review from a team as a code owner February 23, 2022 10:41
@github-actions github-actions bot added role: eos_designs issue related to eos_designs role state: CI Updated CI scenario have been updated in the PR state: Documentation role Updated labels Feb 23, 2022
@ankudinov ankudinov changed the title Feat 1506 macsec support fabric links Feat(eos_designs): macsec support fabric links #1506 Feb 23, 2022
@@ -25,6 +25,10 @@ topology:
{% if switch.uplink_ptp.enable is arista.avd.defined %}
ptp: {{ switch.uplink_ptp.enable }}
{% endif %}
{% if switch.uplink_macsec.profile is arista.avd.defined %}
mac_security:
Copy link
Contributor

Choose a reason for hiding this comment

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

you could just do mac_security: {{ switch.uplink_macsec }} so any other future options are caried along.
Adjust the if above to just test for uplink_macsec is arista.avd.defined

Copy link
Contributor

@ClausHolbechArista ClausHolbechArista 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

@xaviramon xaviramon left a comment

Choose a reason for hiding this comment

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

LGTM

@ClausHolbechArista ClausHolbechArista merged commit 98a2935 into aristanetworks:devel Mar 9, 2022
@ankudinov ankudinov deleted the feat_1506_macsec_support_fabric_links branch March 17, 2022 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
role: eos_designs issue related to eos_designs role state: CI Updated CI scenario have been updated in the PR state: Documentation role Updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feat(eos_designs): Include MACSec support for fabric links
4 participants