Skip to content
Open
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
23 changes: 14 additions & 9 deletions fabric/leaf1.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@
router-id 10.0.0.1
group ebgp-underlay {
admin-state enable
export-policy export-to-underlay
import-policy import-from-underlay
export-policy [export-to-underlay]
import-policy [import-from-underlay]
peer-as 65177
afi-safi ipv4-unicast {
admin-state enable
Expand All @@ -400,8 +400,8 @@
}
group ibgp-evpn {
admin-state enable
export-policy export-all
import-policy import-all
export-policy [export-all]
import-policy [import-all]
peer-as 65501
failure-detection {
enable-bfd true
Expand Down Expand Up @@ -431,11 +431,12 @@
}
}
afi-safi ipv4-unicast {
admin-state enable
admin-state enable
multipath {
allow-multiple-as true
max-paths-level-1 64
max-paths-level-2 64
ebgp {
maximum-paths 64
}
}
}
afi-safi evpn {
Expand Down Expand Up @@ -498,7 +499,9 @@
}
statement 10 {
match {
prefix-set loopbacks
prefix {
prefix-set loopbacks
}
}
action {
policy-result accept
Expand Down Expand Up @@ -526,7 +529,9 @@
}
statement 10 {
match {
prefix-set loopbacks
prefix {
prefix-set loopbacks
}
}
action {
policy-result accept
Expand Down
21 changes: 13 additions & 8 deletions fabric/leaf2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@
router-id 10.0.0.2
group ebgp-underlay {
admin-state enable
export-policy export-to-underlay
import-policy import-from-underlay
export-policy [export-to-underlay]
import-policy [import-from-underlay]
peer-as 65177
afi-safi ipv4-unicast {
admin-state enable
Expand All @@ -436,8 +436,8 @@
}
group ibgp-evpn {
admin-state enable
export-policy export-all
import-policy import-all
export-policy [export-all]
import-policy [import-all]
peer-as 65501
failure-detection {
enable-bfd true
Expand Down Expand Up @@ -470,8 +470,9 @@
admin-state enable
multipath {
allow-multiple-as true
max-paths-level-1 64
max-paths-level-2 64
ebgp {
maximum-paths 64
}
}
}
afi-safi evpn {
Expand Down Expand Up @@ -534,7 +535,9 @@
}
statement 10 {
match {
prefix-set loopbacks
prefix {
prefix-set loopbacks
}
}
action {
policy-result accept
Expand Down Expand Up @@ -562,7 +565,9 @@
}
statement 10 {
match {
prefix-set loopbacks
prefix {
prefix-set loopbacks
}
}
action {
policy-result accept
Expand Down
21 changes: 13 additions & 8 deletions fabric/leaf3.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@
router-id 10.0.0.3
group ebgp-underlay {
admin-state enable
export-policy export-to-underlay
import-policy import-from-underlay
export-policy [export-to-underlay]
import-policy [import-from-underlay]
peer-as 65177
afi-safi ipv4-unicast {
admin-state enable
Expand All @@ -438,8 +438,8 @@
}
group ibgp-evpn {
admin-state enable
export-policy export-all
import-policy import-all
export-policy [export-all]
import-policy [import-all]
peer-as 65501
failure-detection {
enable-bfd true
Expand Down Expand Up @@ -472,8 +472,9 @@
admin-state enable
multipath {
allow-multiple-as true
max-paths-level-1 64
max-paths-level-2 64
ebgp {
maximum-paths 64
}
}
}
afi-safi evpn {
Expand Down Expand Up @@ -536,7 +537,9 @@
}
statement 10 {
match {
prefix-set loopbacks
prefix {
prefix-set loopbacks
}
}
action {
policy-result accept
Expand Down Expand Up @@ -564,7 +567,9 @@
}
statement 10 {
match {
prefix-set loopbacks
prefix {
prefix-set loopbacks
}
}
action {
policy-result accept
Expand Down
23 changes: 14 additions & 9 deletions fabric/spine1.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@
router-id 10.0.0.5
group ebgp-underlay {
admin-state enable
export-policy export-to-underlay
import-policy import-from-underlay
export-policy [export-to-underlay]
import-policy [import-from-underlay]
afi-safi ipv4-unicast {
admin-state enable
}
Expand All @@ -336,8 +336,8 @@
}
group ibgp-evpn {
admin-state enable
export-policy export-all
import-policy import-all
export-policy [export-all]
import-policy [import-all]
peer-as 65501
failure-detection {
enable-bfd true
Expand All @@ -353,7 +353,7 @@
admin-state enable
}
local-as {
as-number 65501
as-number 65501
}
route-reflector {
client true
Expand All @@ -374,8 +374,9 @@
admin-state enable
multipath {
allow-multiple-as true
max-paths-level-1 64
max-paths-level-2 64
ebgp {
maximum-paths 64
}
}
}
afi-safi evpn {
Expand Down Expand Up @@ -447,7 +448,9 @@
}
statement 10 {
match {
prefix-set loopbacks
prefix {
prefix-set loopbacks
}
}
action {
policy-result accept
Expand Down Expand Up @@ -475,7 +478,9 @@
}
statement 10 {
match {
prefix-set loopbacks
prefix {
prefix-set loopbacks
}
}
action {
policy-result accept
Expand Down
21 changes: 13 additions & 8 deletions fabric/spine2.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -319,8 +319,8 @@
router-id 10.0.0.6
group ebgp-underlay {
admin-state enable
export-policy export-to-underlay
import-policy import-from-underlay
export-policy [export-to-underlay]
import-policy [import-from-underlay]
afi-safi ipv4-unicast {
admin-state enable
}
Expand All @@ -336,8 +336,8 @@
}
group ibgp-evpn {
admin-state enable
export-policy export-all
import-policy import-all
export-policy [export-all]
import-policy [import-all]
peer-as 65501
failure-detection {
enable-bfd true
Expand Down Expand Up @@ -374,8 +374,9 @@
admin-state enable
multipath {
allow-multiple-as true
max-paths-level-1 64
max-paths-level-2 64
ebgp {
maximum-paths 64
}
}
}
afi-safi evpn {
Expand Down Expand Up @@ -447,7 +448,9 @@
}
statement 10 {
match {
prefix-set loopbacks
prefix {
prefix-set loopbacks
}
}
action {
policy-result accept
Expand Down Expand Up @@ -475,7 +478,9 @@
}
statement 10 {
match {
prefix-set loopbacks
prefix {
prefix-set loopbacks
}
}
action {
policy-result accept
Expand Down
36 changes: 23 additions & 13 deletions srl-elk.clab.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ mgmt:

topology:
kinds:
srl:
image: ghcr.io/nokia/srlinux:23.3.1
nokia_srlinux:
image: ghcr.io/nokia/srlinux:25.3.2
type: ixrd3
wait-for:
- kibana
stages:
create:
wait-for:
- node: kibana
stage: configure
linux:
image: ghcr.io/hellt/network-multitool

Expand All @@ -21,26 +24,26 @@ topology:
#
leaf1:
mgmt-ipv4: 172.22.22.21
kind: srl
kind: nokia_srlinux
group: tier-1
startup-config: fabric/leaf1.cfg
leaf2:
kind: srl
kind: nokia_srlinux
mgmt-ipv4: 172.22.22.22
group: tier-1
startup-config: fabric/leaf2.cfg
leaf3:
kind: srl
kind: nokia_srlinux
mgmt-ipv4: 172.22.22.23
group: tier-1
startup-config: fabric/leaf3.cfg
spine1:
kind: srl
kind: nokia_srlinux
mgmt-ipv4: 172.22.22.25
group: tier-2
startup-config: fabric/spine1.cfg
spine2:
kind: srl
kind: nokia_srlinux
mgmt-ipv4: 172.22.22.26
group: tier-2
startup-config: fabric/spine2.cfg
Expand Down Expand Up @@ -68,8 +71,12 @@ topology:
- ./elk/logstash/patterns:/var/lib/logstash/patterns
- ./elk/logstash/logs/fail_to_parse_srl.log:/srl/fail_to_parse_srl.log
- ./elk/logstash/index-template.json:/tmp/index-template.json
wait-for:
- elastic
stages:
create:
wait-for:
- node: elastic
stage: configure

kibana:
kind: linux
mgmt-ipv4: 172.22.22.12
Expand All @@ -78,8 +85,11 @@ topology:
- ./elk/kibana/kibana.yml:/usr/share/kibana/config/kibana.yml
ports:
- 5601:5601/tcp
wait-for:
- elastic
stages:
create:
wait-for:
- node: elastic
stage: configure
#
# CLIENTS
#
Expand Down