Skip to content

Commit

Permalink
add auto-generated lab
Browse files Browse the repository at this point in the history
  • Loading branch information
ankudinov committed Mar 29, 2024
1 parent fb4c4e8 commit 3e1f4f6
Show file tree
Hide file tree
Showing 21 changed files with 468 additions and 1 deletion.
13 changes: 13 additions & 0 deletions demos/avd-cvaas-evpn-aa/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
CURRENT_DIR := $(shell pwd)

.PHONY: help
help: ## Display help message
@grep -E '^[0-9a-zA-Z_-]+\.*[0-9a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

.PHONY: start
start: ## Deploy ceos lab
sudo containerlab deploy --debug --topo $(CURRENT_DIR)/clab/topology.clab.yml --max-workers 10 --timeout 5m --reconfigure

.PHONY: stop
stop: ## Destroy ceos lab
sudo containerlab destroy --debug --topo $(CURRENT_DIR)/clab/topology.clab.yml --cleanup
18 changes: 18 additions & 0 deletions demos/avd-cvaas-evpn-aa/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# AVD CVaaS EVPN AA

This lab is tested for:

cEOS-lab version: | 4.30.3M
Containerlab Version: 0.52.0
Codespace Container Size
CPUs: 4
memory: 16gb
storage: 32gb

Last reviewed: 29/03/2024

Please check the lab materials:

- [Lab Documentation](https://arista-netdevops-community.github.io/one-click-se-demos/cvaas/avd-cvaas-evpn-aa/)
- [HTML Slides](https://arista-netdevops-community.github.io/one-click-se-demos/slides/avd-cvaas-evpn-aa.html)
- [PDF Slides](https://arista-netdevops-community.github.io/one-click-se-demos/pdfs/avd-cvaas-evpn-aa.pdf)
39 changes: 39 additions & 0 deletions demos/avd-cvaas-evpn-aa/clab/init-configs/h01.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
hostname h01
!
daemon TerminAttr
exec /usr/bin/TerminAttr -cvaddr=apiserver.cv-staging.corp.arista.io:443 -cvauth=token-secure,/mnt/flash/cv-onboarding-token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs
no shutdown
!
no aaa root
!
username arista privilege 15 role network-admin secret arista
username avd privilege 15 role network-admin secret avd
!
vrf instance MGMT
!
ip name-server vrf MGMT 8.8.8.8
dns domain avd.lab
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT time.apple.com
ntp server vrf MGMT time.google.com
ntp server vrf MGMT time.windows.com
!
service routing protocols model multi-agent
!
management api http-commands
protocol https
no shutdown
!
vrf MGMT
no shutdown
!
interface Management0
vrf MGMT
ip address 10.0.3.1/16
!
ip route vrf MGMT 0.0.0.0/0 10.0.0.1
!
ip name-server vrf MGMT 8.8.8.8
!
end
39 changes: 39 additions & 0 deletions demos/avd-cvaas-evpn-aa/clab/init-configs/h02.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
hostname h02
!
daemon TerminAttr
exec /usr/bin/TerminAttr -cvaddr=apiserver.cv-staging.corp.arista.io:443 -cvauth=token-secure,/mnt/flash/cv-onboarding-token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs
no shutdown
!
no aaa root
!
username arista privilege 15 role network-admin secret arista
username avd privilege 15 role network-admin secret avd
!
vrf instance MGMT
!
ip name-server vrf MGMT 8.8.8.8
dns domain avd.lab
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT time.apple.com
ntp server vrf MGMT time.google.com
ntp server vrf MGMT time.windows.com
!
service routing protocols model multi-agent
!
management api http-commands
protocol https
no shutdown
!
vrf MGMT
no shutdown
!
interface Management0
vrf MGMT
ip address 10.0.3.2/16
!
ip route vrf MGMT 0.0.0.0/0 10.0.0.1
!
ip name-server vrf MGMT 8.8.8.8
!
end
39 changes: 39 additions & 0 deletions demos/avd-cvaas-evpn-aa/clab/init-configs/l01.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
hostname l01
!
daemon TerminAttr
exec /usr/bin/TerminAttr -cvaddr=apiserver.cv-staging.corp.arista.io:443 -cvauth=token-secure,/mnt/flash/cv-onboarding-token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs
no shutdown
!
no aaa root
!
username arista privilege 15 role network-admin secret arista
username avd privilege 15 role network-admin secret avd
!
vrf instance MGMT
!
ip name-server vrf MGMT 8.8.8.8
dns domain avd.lab
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT time.apple.com
ntp server vrf MGMT time.google.com
ntp server vrf MGMT time.windows.com
!
service routing protocols model multi-agent
!
management api http-commands
protocol https
no shutdown
!
vrf MGMT
no shutdown
!
interface Management0
vrf MGMT
ip address 10.0.2.1/16
!
ip route vrf MGMT 0.0.0.0/0 10.0.0.1
!
ip name-server vrf MGMT 8.8.8.8
!
end
39 changes: 39 additions & 0 deletions demos/avd-cvaas-evpn-aa/clab/init-configs/l02.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
hostname l02
!
daemon TerminAttr
exec /usr/bin/TerminAttr -cvaddr=apiserver.cv-staging.corp.arista.io:443 -cvauth=token-secure,/mnt/flash/cv-onboarding-token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs
no shutdown
!
no aaa root
!
username arista privilege 15 role network-admin secret arista
username avd privilege 15 role network-admin secret avd
!
vrf instance MGMT
!
ip name-server vrf MGMT 8.8.8.8
dns domain avd.lab
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT time.apple.com
ntp server vrf MGMT time.google.com
ntp server vrf MGMT time.windows.com
!
service routing protocols model multi-agent
!
management api http-commands
protocol https
no shutdown
!
vrf MGMT
no shutdown
!
interface Management0
vrf MGMT
ip address 10.0.2.2/16
!
ip route vrf MGMT 0.0.0.0/0 10.0.0.1
!
ip name-server vrf MGMT 8.8.8.8
!
end
39 changes: 39 additions & 0 deletions demos/avd-cvaas-evpn-aa/clab/init-configs/l03.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
hostname l03
!
daemon TerminAttr
exec /usr/bin/TerminAttr -cvaddr=apiserver.cv-staging.corp.arista.io:443 -cvauth=token-secure,/mnt/flash/cv-onboarding-token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs
no shutdown
!
no aaa root
!
username arista privilege 15 role network-admin secret arista
username avd privilege 15 role network-admin secret avd
!
vrf instance MGMT
!
ip name-server vrf MGMT 8.8.8.8
dns domain avd.lab
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT time.apple.com
ntp server vrf MGMT time.google.com
ntp server vrf MGMT time.windows.com
!
service routing protocols model multi-agent
!
management api http-commands
protocol https
no shutdown
!
vrf MGMT
no shutdown
!
interface Management0
vrf MGMT
ip address 10.0.2.3/16
!
ip route vrf MGMT 0.0.0.0/0 10.0.0.1
!
ip name-server vrf MGMT 8.8.8.8
!
end
39 changes: 39 additions & 0 deletions demos/avd-cvaas-evpn-aa/clab/init-configs/l04.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
hostname l04
!
daemon TerminAttr
exec /usr/bin/TerminAttr -cvaddr=apiserver.cv-staging.corp.arista.io:443 -cvauth=token-secure,/mnt/flash/cv-onboarding-token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs
no shutdown
!
no aaa root
!
username arista privilege 15 role network-admin secret arista
username avd privilege 15 role network-admin secret avd
!
vrf instance MGMT
!
ip name-server vrf MGMT 8.8.8.8
dns domain avd.lab
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT time.apple.com
ntp server vrf MGMT time.google.com
ntp server vrf MGMT time.windows.com
!
service routing protocols model multi-agent
!
management api http-commands
protocol https
no shutdown
!
vrf MGMT
no shutdown
!
interface Management0
vrf MGMT
ip address 10.0.2.4/16
!
ip route vrf MGMT 0.0.0.0/0 10.0.0.1
!
ip name-server vrf MGMT 8.8.8.8
!
end
39 changes: 39 additions & 0 deletions demos/avd-cvaas-evpn-aa/clab/init-configs/s01.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
hostname s01
!
daemon TerminAttr
exec /usr/bin/TerminAttr -cvaddr=apiserver.cv-staging.corp.arista.io:443 -cvauth=token-secure,/mnt/flash/cv-onboarding-token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs
no shutdown
!
no aaa root
!
username arista privilege 15 role network-admin secret arista
username avd privilege 15 role network-admin secret avd
!
vrf instance MGMT
!
ip name-server vrf MGMT 8.8.8.8
dns domain avd.lab
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT time.apple.com
ntp server vrf MGMT time.google.com
ntp server vrf MGMT time.windows.com
!
service routing protocols model multi-agent
!
management api http-commands
protocol https
no shutdown
!
vrf MGMT
no shutdown
!
interface Management0
vrf MGMT
ip address 10.0.1.1/16
!
ip route vrf MGMT 0.0.0.0/0 10.0.0.1
!
ip name-server vrf MGMT 8.8.8.8
!
end
39 changes: 39 additions & 0 deletions demos/avd-cvaas-evpn-aa/clab/init-configs/s02.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
hostname s02
!
daemon TerminAttr
exec /usr/bin/TerminAttr -cvaddr=apiserver.cv-staging.corp.arista.io:443 -cvauth=token-secure,/mnt/flash/cv-onboarding-token -cvvrf=MGMT -disableaaa -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -taillogs
no shutdown
!
no aaa root
!
username arista privilege 15 role network-admin secret arista
username avd privilege 15 role network-admin secret avd
!
vrf instance MGMT
!
ip name-server vrf MGMT 8.8.8.8
dns domain avd.lab
!
ntp local-interface vrf MGMT Management0
ntp server vrf MGMT time.apple.com
ntp server vrf MGMT time.google.com
ntp server vrf MGMT time.windows.com
!
service routing protocols model multi-agent
!
management api http-commands
protocol https
no shutdown
!
vrf MGMT
no shutdown
!
interface Management0
vrf MGMT
ip address 10.0.1.2/16
!
ip route vrf MGMT 0.0.0.0/0 10.0.0.1
!
ip name-server vrf MGMT 8.8.8.8
!
end
2 changes: 2 additions & 0 deletions demos/avd-cvaas-evpn-aa/clab/sn/h01.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SERIALNUMBER=1C68470A1E0CD6EF7418D78A9582F7BF
SYSTEMMACADDR=001c.7301.0BB9
2 changes: 2 additions & 0 deletions demos/avd-cvaas-evpn-aa/clab/sn/h02.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SERIALNUMBER=1C68470A1E0CD6EF7418D78A95822AF6
SYSTEMMACADDR=001c.7301.1A67
2 changes: 2 additions & 0 deletions demos/avd-cvaas-evpn-aa/clab/sn/l01.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SERIALNUMBER=1C68470A1E0CD6EF7418D78A9582717D
SYSTEMMACADDR=001c.7301.5650
2 changes: 2 additions & 0 deletions demos/avd-cvaas-evpn-aa/clab/sn/l02.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SERIALNUMBER=1C68470A1E0CD6EF7418D78A9582896A
SYSTEMMACADDR=001c.7301.B53D
2 changes: 2 additions & 0 deletions demos/avd-cvaas-evpn-aa/clab/sn/l03.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SERIALNUMBER=1C68470A1E0CD6EF7418D78A958211F8
SYSTEMMACADDR=001c.7301.FC86
2 changes: 2 additions & 0 deletions demos/avd-cvaas-evpn-aa/clab/sn/l04.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SERIALNUMBER=1C68470A1E0CD6EF7418D78A95828B4F
SYSTEMMACADDR=001c.7301.7325
2 changes: 2 additions & 0 deletions demos/avd-cvaas-evpn-aa/clab/sn/s01.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SERIALNUMBER=1C68470A1E0CD6EF7418D78A95825CBF
SYSTEMMACADDR=001c.7301.4522
2 changes: 2 additions & 0 deletions demos/avd-cvaas-evpn-aa/clab/sn/s02.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
SERIALNUMBER=1C68470A1E0CD6EF7418D78A958241DF
SYSTEMMACADDR=001c.7301.21DB
Loading

0 comments on commit 3e1f4f6

Please sign in to comment.