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

Refactor(eos_designs): Changed the redistribute_routes data model(WIP) #4544

Draft
wants to merge 3 commits into
base: devel
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all 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 @@ -65,9 +65,10 @@ router_bgp:
peer: dc1-spine2
description: dc1-spine2_Loopback0
remote_as: '65100'
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP
address_family_evpn:
peer_groups:
- name: EVPN-OVERLAY-PEERS
Expand All @@ -85,9 +86,10 @@ router_bgp:
route_targets:
- '10:10'
router_id: 10.255.0.3
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP-VRFS
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP-VRFS
neighbors:
- ip_address: 10.255.1.97
peer_group: MLAG-IPv4-UNDERLAY-PEER
Expand All @@ -104,9 +106,10 @@ router_bgp:
route_targets:
- '11:11'
router_id: 10.255.0.3
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP-VRFS
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP-VRFS
neighbors:
- ip_address: 10.255.1.97
peer_group: MLAG-IPv4-UNDERLAY-PEER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ router_bgp:
peer: dc1-spine2
description: dc1-spine2_Loopback0
remote_as: '65100'
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP
address_family_evpn:
peer_groups:
- name: EVPN-OVERLAY-PEERS
Expand All @@ -85,9 +86,10 @@ router_bgp:
route_targets:
- '10:10'
router_id: 10.255.0.4
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP-VRFS
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP-VRFS
neighbors:
- ip_address: 10.255.1.96
peer_group: MLAG-IPv4-UNDERLAY-PEER
Expand All @@ -104,9 +106,10 @@ router_bgp:
route_targets:
- '11:11'
router_id: 10.255.0.4
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP-VRFS
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP-VRFS
neighbors:
- ip_address: 10.255.1.96
peer_group: MLAG-IPv4-UNDERLAY-PEER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ router_bgp:
peer: dc2-leaf2a
description: dc2-leaf2a
peer_group: IPv4-UNDERLAY-PEERS
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP
address_family_evpn:
neighbor_default:
next_hop_self_received_evpn_routes:
Expand All @@ -111,9 +112,10 @@ router_bgp:
route_targets:
- '10:10'
router_id: 10.255.0.5
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP-VRFS
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP-VRFS
neighbors:
- ip_address: 10.255.1.101
peer_group: MLAG-IPv4-UNDERLAY-PEER
Expand All @@ -130,9 +132,10 @@ router_bgp:
route_targets:
- '11:11'
router_id: 10.255.0.5
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP-VRFS
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP-VRFS
neighbors:
- ip_address: 10.255.1.101
peer_group: MLAG-IPv4-UNDERLAY-PEER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ router_bgp:
peer: dc2-leaf2b
description: dc2-leaf2b
peer_group: IPv4-UNDERLAY-PEERS
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP
address_family_evpn:
neighbor_default:
next_hop_self_received_evpn_routes:
Expand All @@ -111,9 +112,10 @@ router_bgp:
route_targets:
- '10:10'
router_id: 10.255.0.6
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP-VRFS
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP-VRFS
neighbors:
- ip_address: 10.255.1.100
peer_group: MLAG-IPv4-UNDERLAY-PEER
Expand All @@ -130,9 +132,10 @@ router_bgp:
route_targets:
- '11:11'
router_id: 10.255.0.6
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP-VRFS
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP-VRFS
neighbors:
- ip_address: 10.255.1.100
peer_group: MLAG-IPv4-UNDERLAY-PEER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ router_bgp:
activate: true
- name: EVPN-OVERLAY-PEERS
activate: false
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP
neighbors:
- ip_address: 10.255.255.1
peer_group: IPv4-UNDERLAY-PEERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ router_bgp:
activate: true
- name: EVPN-OVERLAY-PEERS
activate: false
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP
neighbors:
- ip_address: 10.255.255.3
peer_group: IPv4-UNDERLAY-PEERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ router_bgp:
peer: dc2-spine2
description: dc2-spine2_Loopback0
remote_as: '65200'
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP
address_family_evpn:
peer_groups:
- name: EVPN-OVERLAY-PEERS
Expand All @@ -85,9 +86,10 @@ router_bgp:
route_targets:
- '10:10'
router_id: 10.255.128.13
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP-VRFS
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP-VRFS
neighbors:
- ip_address: 10.255.129.117
peer_group: MLAG-IPv4-UNDERLAY-PEER
Expand All @@ -104,9 +106,10 @@ router_bgp:
route_targets:
- '11:11'
router_id: 10.255.128.13
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP-VRFS
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP-VRFS
neighbors:
- ip_address: 10.255.129.117
peer_group: MLAG-IPv4-UNDERLAY-PEER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@ router_bgp:
peer: dc2-spine2
description: dc2-spine2_Loopback0
remote_as: '65200'
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP
address_family_evpn:
peer_groups:
- name: EVPN-OVERLAY-PEERS
Expand All @@ -85,9 +86,10 @@ router_bgp:
route_targets:
- '10:10'
router_id: 10.255.128.14
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP-VRFS
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP-VRFS
neighbors:
- ip_address: 10.255.129.116
peer_group: MLAG-IPv4-UNDERLAY-PEER
Expand All @@ -104,9 +106,10 @@ router_bgp:
route_targets:
- '11:11'
router_id: 10.255.128.14
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP-VRFS
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP-VRFS
neighbors:
- ip_address: 10.255.129.116
peer_group: MLAG-IPv4-UNDERLAY-PEER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ router_bgp:
peer: dc1-leaf2a
description: dc1-leaf2a
peer_group: IPv4-UNDERLAY-PEERS
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP
address_family_evpn:
neighbor_default:
next_hop_self_received_evpn_routes:
Expand All @@ -111,9 +112,10 @@ router_bgp:
route_targets:
- '10:10'
router_id: 10.255.128.15
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP-VRFS
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP-VRFS
neighbors:
- ip_address: 10.255.129.121
peer_group: MLAG-IPv4-UNDERLAY-PEER
Expand All @@ -130,9 +132,10 @@ router_bgp:
route_targets:
- '11:11'
router_id: 10.255.128.15
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP-VRFS
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP-VRFS
neighbors:
- ip_address: 10.255.129.121
peer_group: MLAG-IPv4-UNDERLAY-PEER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,10 @@ router_bgp:
peer: dc1-leaf2b
description: dc1-leaf2b
peer_group: IPv4-UNDERLAY-PEERS
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP
address_family_evpn:
neighbor_default:
next_hop_self_received_evpn_routes:
Expand All @@ -111,9 +112,10 @@ router_bgp:
route_targets:
- '10:10'
router_id: 10.255.128.16
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP-VRFS
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP-VRFS
neighbors:
- ip_address: 10.255.129.120
peer_group: MLAG-IPv4-UNDERLAY-PEER
Expand All @@ -130,9 +132,10 @@ router_bgp:
route_targets:
- '11:11'
router_id: 10.255.128.16
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP-VRFS
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP-VRFS
neighbors:
- ip_address: 10.255.129.120
peer_group: MLAG-IPv4-UNDERLAY-PEER
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ router_bgp:
activate: true
- name: EVPN-OVERLAY-PEERS
activate: false
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP
neighbors:
- ip_address: 10.255.255.105
peer_group: IPv4-UNDERLAY-PEERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ router_bgp:
activate: true
- name: EVPN-OVERLAY-PEERS
activate: false
redistribute_routes:
- source_protocol: connected
route_map: RM-CONN-2-BGP
redistribute:
connected:
enabled: true
route_map: RM-CONN-2-BGP
neighbors:
- ip_address: 10.255.255.107
peer_group: IPv4-UNDERLAY-PEERS
Expand Down
Loading
Loading