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): Sflow configuration at fabric level #2775

Merged
merged 73 commits into from
Jul 10, 2023

Conversation

xaviramon
Copy link
Contributor

Change Summary

This PR puts in place all necessary logic to implement sflow in the fabric at all integration points: uplinks, downlinks, enpoints, l3edge and core-interfaces.

Related Issue(s)

Fixes #2311

Component(s) name

arista.avd.eos_designs

Proposed changes

This is the proposed data model:

fabric_sflow:
  uplinks: < boolean | default -> false >
  downlinks: < boolean | default -> false >
  endpoints: < boolean | default -> false >
  l3_edge: < boolean | default -> false >
  core_interfaces: < boolean | default -> false >

This interacts with the existing eos_cli_config_gen module to understand if the interface disable default is set or not in order to configure the ports properly

How to test

Molecule test included

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)

@xaviramon xaviramon requested a review from a team as a code owner May 1, 2023 16:27
@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 May 1, 2023
@xaviramon xaviramon changed the title [DRAFT]Feat(eos_designs): Sflow configuration at fabric level Feat(eos_designs): Sflow configuration at fabric level May 1, 2023
@github-actions github-actions bot added the state: conflict PR with conflict label May 17, 2023
@github-actions
Copy link

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

@@ -32,6 +32,7 @@ def ethernet_interfaces(self) -> list | None:
"description": self.shared_utils.interface_descriptions.underlay_ethernet_interfaces(link["type"], link["peer"], link["peer_interface"]),
"speed": link.get("speed"),
"shutdown": self.shared_utils.shutdown_interfaces_towards_undeployed_peers and not link["peer_is_deployed"],
"sflow": link.get("sflow"),
Copy link
Contributor

Choose a reason for hiding this comment

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

This should be moved to the update below, so insert after line 47.

@ClausHolbechArista ClausHolbechArista requested a review from a team July 7, 2023 06:15
@gmuloc gmuloc merged commit 659de7e into aristanetworks:devel Jul 10, 2023
32 checks passed
ES-PROJECT-01 automation moved this from In progress to Done Jul 10, 2023
DE-PROJECT-03 automation moved this from In progress to Done Jul 10, 2023
@carlbuchmann carlbuchmann removed this from the v4.2.0 milestone Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rn: Feat(eos_designs) role: eos_designs issue related to eos_designs role state: CI Updated CI scenario have been updated in the PR state: Documentation role Updated
Development

Successfully merging this pull request may close these issues.

Feat(eos_designs): Enable sFlow at fabric level
4 participants