Skip to content

Instantly share code, notes, and snippets.

@rwestphal
Created June 19, 2019 16:20
Show Gist options
  • Save rwestphal/faf01418f47c7c1dd33152b2a31327da to your computer and use it in GitHub Desktop.
Save rwestphal/faf01418f47c7c1dd33152b2a31327da to your computer and use it in GitHub Desktop.
# Dynamic topology
---
autogen:
layout:
type: grid
width: 10
height: 10
ipv4:
loopbacks:
start: 192.168.0.0
step: 0.0.0.1
subnets:
start: 10.0.0.0
step: 0.0.0.4
prefixlen: 30
frr:
zebra:
config: |
isisd:
config: |
router isis 1
net 49.0000.0000.0000.%(isis-node-index).00
is-type level-1
segment-routing on
segment-routing global-block 16000 17000
segment-routing node-msd 8
!
config-per-interface: |
interface %(interface)
ip router isis 1
isis network point-to-point
!isis hello-interval 3
!
config-per-loopback: |
interface %(interface)
ip router isis 1
!
router isis 1
segment-routing prefix %(address-v4)/32 index %(node-index) no-php-flag
!
frr:
base-configs:
all: |
hostname %(node)-%(daemon)
password 1
log file %(logdir)/%(node)-%(daemon).log
zebra: |
debug zebra kernel
debug zebra rib
isisd: |
debug isis events
debug isis route-events
debug isis spf-events
debug isis sr-events
debug isis lsp-gen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment