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

Multi domain changes #12

Merged
merged 5 commits into from
Jun 7, 2024
Merged
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
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
**/intended/**
**/reports/**
**/config_backup/**
# ignore tl clab configs
**/tl-configs/**
# ignore secrets
**.tok**
!**/servers/intended/**
Expand Down
7 changes: 7 additions & 0 deletions datacenter/backbone/group_vars/BACKBONE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,18 @@ pod_name: pod-bb

type: backbone

csc_prefix_lists:
- name: PL-LOOPBACKS-EVPN-OVERLAY
sequence_numbers:
- sequence: 30
action: 'permit 1.1.0.0/16 eq 32'

backbone:
defaults:
platform: vEOS-lab
loopback_ipv4_pool: 1.1.0.0/24
bgp_as: 65000
bgp_cluster_id: 1.1.0.0

nodes:
- name: BB1
Expand Down
8 changes: 8 additions & 0 deletions datacenter/domain-a/group_vars/DOMAIN_A_EVPNGW.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ type: l3leaf
evpn_multicast: false
underlay_multicast: false

csc_prefix_lists:
- name: PL-LOOPBACKS-EVPN-OVERLAY
sequence_numbers:
- sequence: 30
action: 'permit 1.1.0.0/16 eq 32'
- sequence: 40
action: 'permit 2.2.0.0/16 eq 32'

csc_router_bgp:
bgp:
bestpath:
Expand Down
1 change: 1 addition & 0 deletions datacenter/domain-b/group_vars/DOMAIN_B.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ spine:
loopback_ipv4_pool: 1.1.2.0/24
isis_system_id_prefix: '0000.0000'
bgp_as: 65200
bgp_cluster_id: 1.1.2.205
raw_eos_cli: |
agent KernelFib environment KERNELFIB_PROGRAM_ALL_ECMP='true'
nodes:
Expand Down
4 changes: 2 additions & 2 deletions datacenter/domain-b/group_vars/DOMAIN_B_EVPNGW.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,13 @@ router_general:
}
return true;
}
function AS65400_OUT_EVPN() {
function AS65200_OUT_EVPN() {
if PREFIX_ROUTE(){
community add {2:2};
}
return true;
}
function AS65400_IN_EVPN() {
function AS65200_IN_EVPN() {
if PREFIX_ROUTE() and FROM_GW_PEER() {
return false;
}
Expand Down
14 changes: 9 additions & 5 deletions datacenter/domain-b/host_vars/B-LEAF7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ csc_router_bgp:
bfd: true
ebgp_multihop: 15
send_community: all
- name: EVPN-OVERLAY-PEERS
route_reflector_client: true
neighbors:
- ip_address: 172.16.2.0
peer_group: IPv4-REMOTE-UNDERLAY-PEERS
Expand Down Expand Up @@ -62,9 +64,11 @@ csc_router_bgp:
rcf_out: AS65000_OUT_IPV4()
- name: EVPN-OVERLAY-CORE
activate: false
redistribute_routes:
- source_protocol: "connected"

csc_ethernet_interfaces:
- name: Ethernet7
mtu: 9214
- name: Ethernet8
mtu: 9214
# csc_ethernet_interfaces:
# - name: Ethernet7
# mtu: 9214
# - name: Ethernet8
# mtu: 9214
4 changes: 4 additions & 0 deletions datacenter/domain-b/host_vars/B-LEAF8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ csc_router_bgp:
bfd: true
ebgp_multihop: 15
send_community: all
- name: EVPN-OVERLAY-PEERS
route_reflector_client: true
neighbors:
- ip_address: 172.16.2.2
peer_group: IPv4-REMOTE-UNDERLAY-PEERS
Expand Down Expand Up @@ -62,6 +64,8 @@ csc_router_bgp:
rcf_out: AS65000_OUT_IPV4()
- name: EVPN-OVERLAY-CORE
activate: false
redistribute_routes:
- source_protocol: "connected"

csc_ethernet_interfaces:
- name: Ethernet7
Expand Down
7 changes: 0 additions & 7 deletions datacenter/domain-c/group_vars/DOMAIN_C_EVPNGW.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ csc_vlan_interfaces:
- name: 'Vlan4094'
mtu: 1500

csc_router_bgp:
bgp:
bestpath:
d_path: true
address_family_evpn:
domain_identifier: "3:3"

csc_prefix_lists:
- name: PL-GATEWAY-LOOP
sequence_numbers:
Expand Down
2 changes: 1 addition & 1 deletion datacenter/domain-c/group_vars/FABRIC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ fabric_name: FABRIC
underlay_routing_protocol: ospf
overlay_routing_protocol: ebgp

vtep_vvtep_ip: 10.3.3.255/32
vtep_vvtep_ip: 2.2.3.255/32

underlay_multicast: true
evpn_multicast: true
Expand Down
8 changes: 8 additions & 0 deletions datacenter/domain-c/host_vars/C-LEAF7.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
---

csc_router_bgp:
bgp:
bestpath:
d_path: true
peer_groups:
- name: IPv4-REMOTE-UNDERLAY-PEERS
route_map_out: RM-AS65000-IPV4-OUT
neighbors:
- ip_address: 172.16.3.0
peer_group: IPv4-REMOTE-UNDERLAY-PEERS
Expand All @@ -16,3 +22,5 @@ csc_router_bgp:
- prefix: "1.1.3.7/32"
- prefix: "1.1.3.8/32"
- prefix: "2.2.3.7/32"
address_family_evpn:
domain_identifier: "3:3"
8 changes: 8 additions & 0 deletions datacenter/domain-c/host_vars/C-LEAF8.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
---

csc_router_bgp:
bgp:
bestpath:
d_path: true
peer_groups:
- name: IPv4-REMOTE-UNDERLAY-PEERS
route_map_out: RM-AS65000-IPV4-OUT
neighbors:
- ip_address: 172.16.3.2
peer_group: IPv4-REMOTE-UNDERLAY-PEERS
Expand All @@ -16,3 +22,5 @@ csc_router_bgp:
- prefix: "1.1.3.7/32"
- prefix: "1.1.3.8/32"
- prefix: "2.2.3.7/32"
address_family_evpn:
domain_identifier: "3:3"
2 changes: 2 additions & 0 deletions datacenter/global_vars/fabric_defaults/routing-defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ evpn_import_pruning: true

mlag_ibgp_peering_vrfs:
base_vlan: 3000

p2p_uplinks_mtu: 1500
9 changes: 9 additions & 0 deletions tech-library/data_center/evpnvxlan/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Config Notes
## Domain A

## Domain B

## Domain C

## Domain D
[] Fix config BGP AS #'s to match diagram
Loading
Loading