Skip to content

Link static_routes under svi/l3interface #4570

Open
@PieterL75

Description

@PieterL75

Enhancement summary

Add a "static_routes" dict under the svi or l3interfaces.

Which component of AVD is impacted

eos_designs

Use case example

I have the "only_vlans_in_use" knob enabled. On a vrf, I have several svi's, but not all of them are on all l3leafs active.
The static routes cannot be filtered per svi, so all static routes are applied to all nodes, even if the nexthop is not on that node.

Describe the solution you would like

I would like to be able to apply static routes only on the l3leafs where the svi (nexthop) is reachable. This can be achieved by create a new designvar 'static_routes' under the 'svi' and 'l3interface' specifically.

Describe alternatives you have considered

I use the 'nodes' on a static route to filter on what node the route is applied. But is is config heavy and prone for errors

Additional context

No response

Contributing Guide

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions