Skip to content

Feat(eos_designs): Protect against configuring unsupported monitor sessions on subinterface #6760

@gmuloc

Description

@gmuloc

Enhancement summary

TOI: https://www.arista.com/en/support/toi/eos-4-21-3f/14157-mirroring-acls-with-subinterface-as-source

Which component of AVD is impacted

eos_designs

Use case example

When configuring

tenants:
  - name: TENANT
    vrfs:
      - name: VRF
        l3_interfaces:
          - interfaces: [Ethernet1.42, Ethernet1.43]
            ip_addresses: [10.0.0.1/31, 10.0.0.2/31]
            nodes: [leaf-1a, leaf-2a]
            monitor_sessions:
              - name: SESSION-NAME
                role: source
                source_settings:
                  direction: both <<<<<<<<<<<<<<< not supported on sub interfaces and should be blocked.

Describe the solution you would like

need to look at the TOI to see what should be allowed (probably need to block monitor sessions all together on unsupported platforms)

Describe alternatives you have considered

No response

Additional context

No response

Contributing Guide

  • I agree to follow this project Code of Conduct

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions