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_cli_config_gen): Support for EVPN Multihoming IP Mass-withdrawal #3656

Merged
merged 4 commits into from
Feb 26, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ router bgp 65101
neighbor EVPN-OVERLAY-PEERS activate
no neighbor MLAG-IPv4-UNDERLAY-PEER activate
route import match-failure action discard
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 @@ -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 @@ -62,6 +62,8 @@ router bgp 65101
neighbor EVPN-OVERLAY-PEERS activate
no neighbor MLAG-IPv4-UNDERLAY-PEER activate
route import match-failure action discard
route import ethernet-segment ip mass-withdraw
route export ethernet-segment ip mass-withdraw
ClausHolbechArista marked this conversation as resolved.
Show resolved Hide resolved
!
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
Loading