aristanetworks / avd

Arista Validated Designs

Home Page:https://avd.arista.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feat(eos_cli_config_gen) add knob to support `no bgp redistribute-internal`

pvinci-arista opened this issue · comments

Enhancement summary

Add a knob to disable the feature in bgp.

Which component of AVD is impacted

eos_cli_config_gen

Use case example

The bgp redistribute-internal command enables the redistribution of iBGP routes into an Interior Gateway Protocol (IGP).

The no bgp redistribute-internal command disable route redistribution from the specified domain by removing the corresponding bgp redistribute-internal command from running-config. The default bgp redistribute-internal command enables the redistribution of iBGP routes into an IGP.

Describe the solution you would like

Add a key such as

router_bgp:
  redistribute-internal: <bool>

that would emit the needed cli command.

Describe alternatives you have considered

This can be implemented using eos_cli.

Additional context

No response

Contributing Guide

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