Skip to content

Commit

Permalink
Feat(eos_cli_config_gen): Support for EVPN Multihoming IP Mass-withdr…
Browse files Browse the repository at this point in the history
…awal (#3656)

Co-authored-by: Claus Holbech <[email protected]>
  • Loading branch information
laxmikantchintakindi and ClausHolbechArista authored Feb 26, 2024
1 parent c1f2b9c commit cfb44a2
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ router bgp 65101
no neighbor MLAG-IPv4-UNDERLAY-PEER activate
next-hop resolution disabled
neighbor default next-hop-self received-evpn-routes route-type ip-prefix inter-domain
route import ethernet-segment ip mass-withdraw
route export ethernet-segment ip mass-withdraw
!
address-family ipv4
no neighbor EVPN-OVERLAY-PEERS activate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ router bgp 65101
no neighbor MLAG-IPv4-UNDERLAY-PEER activate
next-hop resolution disabled
neighbor default next-hop-self received-evpn-routes route-type ip-prefix inter-domain
route import ethernet-segment ip mass-withdraw
route export ethernet-segment ip mass-withdraw
!
address-family ipv4
no neighbor EVPN-OVERLAY-PEERS activate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ router_bgp:
next_hop:
resolution_disabled: true
next_hop_unchanged: true
route:
import_ethernet_segment_ip_mass_withdraw: true
export_ethernet_segment_ip_mass_withdraw: true
address_family_ipv4:
peer_groups:
- name: EVPN-OVERLAY-PEERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,8 @@
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;resolution_disabled</samp>](## "router_bgp.address_family_evpn.next_hop.resolution_disabled") | Boolean | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;route</samp>](## "router_bgp.address_family_evpn.route") | Dictionary | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;import_match_failure_action</samp>](## "router_bgp.address_family_evpn.route.import_match_failure_action") | String | | | Valid Values:<br>- <code>discard</code> | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;import_ethernet_segment_ip_mass_withdraw</samp>](## "router_bgp.address_family_evpn.route.import_ethernet_segment_ip_mass_withdraw") | Boolean | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;export_ethernet_segment_ip_mass_withdraw</samp>](## "router_bgp.address_family_evpn.route.export_ethernet_segment_ip_mass_withdraw") | Boolean | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;next_hop_unchanged</samp>](## "router_bgp.address_family_evpn.next_hop_unchanged") | Boolean | | | | |
| [<samp>&nbsp;&nbsp;address_family_rtc</samp>](## "router_bgp.address_family_rtc") | Dictionary | | | | |
| [<samp>&nbsp;&nbsp;&nbsp;&nbsp;peer_groups</samp>](## "router_bgp.address_family_rtc.peer_groups") | List, items: Dictionary | | | | |
Expand Down Expand Up @@ -1239,6 +1241,8 @@
resolution_disabled: <bool>
route:
import_match_failure_action: <str; "discard">
import_ethernet_segment_ip_mass_withdraw: <bool>
export_ethernet_segment_ip_mass_withdraw: <bool>
next_hop_unchanged: <bool>
address_family_rtc:
peer_groups:
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -1024,6 +1024,10 @@ keys:
type: str
valid_values:
- "discard"
import_ethernet_segment_ip_mass_withdraw:
type: bool
export_ethernet_segment_ip_mass_withdraw:
type: bool
next_hop_unchanged:
type: bool
address_family_rtc:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,12 @@ router bgp {{ router_bgp.as }}
{% if router_bgp.address_family_evpn.route.import_match_failure_action is arista.avd.defined('discard') %}
route import match-failure action discard
{% endif %}
{% if router_bgp.address_family_evpn.route.import_ethernet_segment_ip_mass_withdraw is arista.avd.defined(true) %}
route import ethernet-segment ip mass-withdraw
{% endif %}
{% if router_bgp.address_family_evpn.route.export_ethernet_segment_ip_mass_withdraw is arista.avd.defined(true) %}
route export ethernet-segment ip mass-withdraw
{% endif %}
{% endif %}
{# address family flow-spec ipv4 activation #}
{% if router_bgp.address_family_flow_spec_ipv4 is arista.avd.defined %}
Expand Down

0 comments on commit cfb44a2

Please sign in to comment.