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_cli_config_gen): Add Trident MMU queue #2835

Merged
merged 20 commits into from
Aug 11, 2023

Conversation

chetryan
Copy link
Contributor

Add the support for defining queue settings for the Memory Management Unit on Trident platforms.

Change Summary

At the moment, changing the default profile for the Memory Management Unit (MMU) on Trident platforms is only possible via eos_cli.
This change adds the functionality to eos_cli_config_gen to accept this as part of the data model.

Related Issue(s)

No current Issues raised.

Component(s) name

arista.avd.eos_cli_config_gen

Proposed changes

  • Add functionality to the eos/platform.j2 to generate device config
  • Add functionality to the documentation/platform.j2 to generate matching Markdown docs for devices
  • Extend the schema to accept the dictionary for mmu settings

How to test

  • Run molecule test -s eos_cli_config_gen

Checklist

User Checklist

  • [] Review generated platform.md and give feedback whether this is clear enough.
  • [] Review the generated configuration platform.cfg and comment on any improvements required

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)

Add the support for defining queue settings for the
Memory Management Unit on Trident platforms.
@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 state: Documentation role Updated labels May 15, 2023
@chetryan chetryan marked this pull request as ready for review May 15, 2023 15:13
@chetryan chetryan requested a review from a team as a code owner May 15, 2023 15:13
@github-actions github-actions bot added the state: conflict PR with conflict label May 19, 2023
@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions bot removed the state: conflict PR with conflict label May 22, 2023
@github-actions
Copy link

Conflicts have been resolved. A maintainer will review the pull request shortly.

@carlbuchmann carlbuchmann added this to the v4.1.0 milestone May 30, 2023
@github-actions github-actions bot added the state: conflict PR with conflict label Jun 13, 2023
@github-actions
Copy link

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@chetryan chetryan requested a review from a team as a code owner June 16, 2023 11:55
@github-actions github-actions bot removed the state: conflict PR with conflict label Jun 16, 2023
@github-actions
Copy link

Conflicts have been resolved. A maintainer will review the pull request shortly.

Add the support for defining queue settings for the
Memory Management Unit on Trident platforms.
@github-actions github-actions bot added the role: eos_designs issue related to eos_designs role label Jun 21, 2023
@github-actions github-actions bot removed the role: eos_designs issue related to eos_designs role label Jun 21, 2023
@ClausHolbechArista ClausHolbechArista requested review from a team July 28, 2023 07:41
@carlbuchmann carlbuchmann self-requested a review August 4, 2023 12:29
required: true
min: 0
max: 7
unit:
Copy link
Member

Choose a reason for hiding this comment

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

to make this more intuitive I would suggest to rename to reserved_unit

Copy link
Contributor

Choose a reason for hiding this comment

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

I would expect this unit to also impact the unit of the thresholds, but I don't know. We should verify on EOS.

required: true
min: 0
max: 7
unit:
Copy link
Member

Choose a reason for hiding this comment

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

to make this more intuitive I would suggest to rename to reserved_unit

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.

Reviewed and tested on DUT, with minor comments on the schema. I will also approve as is.

@carlbuchmann carlbuchmann merged commit f14997f into aristanetworks:devel Aug 11, 2023
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn: Feat(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 state: Documentation role Updated
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants