From bada0f1f329155865e85971dcf19846bacce890c Mon Sep 17 00:00:00 2001 From: Shannon Byrnes Date: Thu, 14 Mar 2024 16:48:23 +0000 Subject: [PATCH] fix: Update away from deprecated variable names; use more-likely-to-be-compatible python invocation --- .../.workshop1.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop10.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop11.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop12.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop13.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop14.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop15.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop16.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop17.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop18.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop19.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop2.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop20.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop21.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop22.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop23.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop24.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop25.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop26.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop27.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop28.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop29.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop3.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop30.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop4.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop5.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop6.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop7.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop8.clab.yml.bak | 55 +++++++++++++++++++ .../.workshop9.clab.yml.bak | 55 +++++++++++++++++++ internal-lab-setup-assets/Makefile | 2 +- .../workshop.clab.yml.j2 | 8 +-- 32 files changed, 1655 insertions(+), 5 deletions(-) create mode 100644 internal-lab-setup-assets/.workshop1.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop10.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop11.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop12.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop13.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop14.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop15.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop16.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop17.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop18.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop19.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop2.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop20.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop21.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop22.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop23.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop24.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop25.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop26.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop27.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop28.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop29.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop3.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop30.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop4.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop5.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop6.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop7.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop8.clab.yml.bak create mode 100644 internal-lab-setup-assets/.workshop9.clab.yml.bak diff --git a/internal-lab-setup-assets/.workshop1.clab.yml.bak b/internal-lab-setup-assets/.workshop1.clab.yml.bak new file mode 100644 index 0000000..17e2527 --- /dev/null +++ b/internal-lab-setup-assets/.workshop1.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-01 + +mgmt: + network: automation-workshop-01 + ipv4_subnet: 172.16.1.0/24 + ipv6_subnet: 2001:db8:16:1::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.1.2 + mgmt_ipv6: 2001:db8:16:1::2 + ports: + - 2012:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.1.3 + mgmt_ipv6: 2001:db8:16:1::3 + ports: + - 2013:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.1.4 + mgmt_ipv6: 2001:db8:16:1::4 + ports: + - 2014:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.1.5 + mgmt_ipv6: 2001:db8:16:1::5 + ports: + - 2015:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-01 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop10.clab.yml.bak b/internal-lab-setup-assets/.workshop10.clab.yml.bak new file mode 100644 index 0000000..9cc1bbb --- /dev/null +++ b/internal-lab-setup-assets/.workshop10.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-10 + +mgmt: + network: automation-workshop-10 + ipv4_subnet: 172.16.10.0/24 + ipv6_subnet: 2001:db8:16:10::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.10.2 + mgmt_ipv6: 2001:db8:16:10::2 + ports: + - 2102:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.10.3 + mgmt_ipv6: 2001:db8:16:10::3 + ports: + - 2103:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.10.4 + mgmt_ipv6: 2001:db8:16:10::4 + ports: + - 2104:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.10.5 + mgmt_ipv6: 2001:db8:16:10::5 + ports: + - 2105:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-10 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop11.clab.yml.bak b/internal-lab-setup-assets/.workshop11.clab.yml.bak new file mode 100644 index 0000000..043c904 --- /dev/null +++ b/internal-lab-setup-assets/.workshop11.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-11 + +mgmt: + network: automation-workshop-11 + ipv4_subnet: 172.16.11.0/24 + ipv6_subnet: 2001:db8:16:11::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.11.2 + mgmt_ipv6: 2001:db8:16:11::2 + ports: + - 2112:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.11.3 + mgmt_ipv6: 2001:db8:16:11::3 + ports: + - 2113:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.11.4 + mgmt_ipv6: 2001:db8:16:11::4 + ports: + - 2114:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.11.5 + mgmt_ipv6: 2001:db8:16:11::5 + ports: + - 2115:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-11 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop12.clab.yml.bak b/internal-lab-setup-assets/.workshop12.clab.yml.bak new file mode 100644 index 0000000..1789b1a --- /dev/null +++ b/internal-lab-setup-assets/.workshop12.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-12 + +mgmt: + network: automation-workshop-12 + ipv4_subnet: 172.16.12.0/24 + ipv6_subnet: 2001:db8:16:12::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.12.2 + mgmt_ipv6: 2001:db8:16:12::2 + ports: + - 2122:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.12.3 + mgmt_ipv6: 2001:db8:16:12::3 + ports: + - 2123:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.12.4 + mgmt_ipv6: 2001:db8:16:12::4 + ports: + - 2124:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.12.5 + mgmt_ipv6: 2001:db8:16:12::5 + ports: + - 2125:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-12 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop13.clab.yml.bak b/internal-lab-setup-assets/.workshop13.clab.yml.bak new file mode 100644 index 0000000..d1440d4 --- /dev/null +++ b/internal-lab-setup-assets/.workshop13.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-13 + +mgmt: + network: automation-workshop-13 + ipv4_subnet: 172.16.13.0/24 + ipv6_subnet: 2001:db8:16:13::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.13.2 + mgmt_ipv6: 2001:db8:16:13::2 + ports: + - 2132:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.13.3 + mgmt_ipv6: 2001:db8:16:13::3 + ports: + - 2133:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.13.4 + mgmt_ipv6: 2001:db8:16:13::4 + ports: + - 2134:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.13.5 + mgmt_ipv6: 2001:db8:16:13::5 + ports: + - 2135:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-13 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop14.clab.yml.bak b/internal-lab-setup-assets/.workshop14.clab.yml.bak new file mode 100644 index 0000000..e948f17 --- /dev/null +++ b/internal-lab-setup-assets/.workshop14.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-14 + +mgmt: + network: automation-workshop-14 + ipv4_subnet: 172.16.14.0/24 + ipv6_subnet: 2001:db8:16:14::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.14.2 + mgmt_ipv6: 2001:db8:16:14::2 + ports: + - 2142:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.14.3 + mgmt_ipv6: 2001:db8:16:14::3 + ports: + - 2143:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.14.4 + mgmt_ipv6: 2001:db8:16:14::4 + ports: + - 2144:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.14.5 + mgmt_ipv6: 2001:db8:16:14::5 + ports: + - 2145:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-14 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop15.clab.yml.bak b/internal-lab-setup-assets/.workshop15.clab.yml.bak new file mode 100644 index 0000000..3a91072 --- /dev/null +++ b/internal-lab-setup-assets/.workshop15.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-15 + +mgmt: + network: automation-workshop-15 + ipv4_subnet: 172.16.15.0/24 + ipv6_subnet: 2001:db8:16:15::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.15.2 + mgmt_ipv6: 2001:db8:16:15::2 + ports: + - 2152:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.15.3 + mgmt_ipv6: 2001:db8:16:15::3 + ports: + - 2153:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.15.4 + mgmt_ipv6: 2001:db8:16:15::4 + ports: + - 2154:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.15.5 + mgmt_ipv6: 2001:db8:16:15::5 + ports: + - 2155:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-15 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop16.clab.yml.bak b/internal-lab-setup-assets/.workshop16.clab.yml.bak new file mode 100644 index 0000000..c1bc48d --- /dev/null +++ b/internal-lab-setup-assets/.workshop16.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-16 + +mgmt: + network: automation-workshop-16 + ipv4_subnet: 172.16.16.0/24 + ipv6_subnet: 2001:db8:16:16::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.16.2 + mgmt_ipv6: 2001:db8:16:16::2 + ports: + - 2162:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.16.3 + mgmt_ipv6: 2001:db8:16:16::3 + ports: + - 2163:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.16.4 + mgmt_ipv6: 2001:db8:16:16::4 + ports: + - 2164:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.16.5 + mgmt_ipv6: 2001:db8:16:16::5 + ports: + - 2165:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-16 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop17.clab.yml.bak b/internal-lab-setup-assets/.workshop17.clab.yml.bak new file mode 100644 index 0000000..08660a1 --- /dev/null +++ b/internal-lab-setup-assets/.workshop17.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-17 + +mgmt: + network: automation-workshop-17 + ipv4_subnet: 172.16.17.0/24 + ipv6_subnet: 2001:db8:16:17::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.17.2 + mgmt_ipv6: 2001:db8:16:17::2 + ports: + - 2172:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.17.3 + mgmt_ipv6: 2001:db8:16:17::3 + ports: + - 2173:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.17.4 + mgmt_ipv6: 2001:db8:16:17::4 + ports: + - 2174:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.17.5 + mgmt_ipv6: 2001:db8:16:17::5 + ports: + - 2175:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-17 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop18.clab.yml.bak b/internal-lab-setup-assets/.workshop18.clab.yml.bak new file mode 100644 index 0000000..5dc9072 --- /dev/null +++ b/internal-lab-setup-assets/.workshop18.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-18 + +mgmt: + network: automation-workshop-18 + ipv4_subnet: 172.16.18.0/24 + ipv6_subnet: 2001:db8:16:18::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.18.2 + mgmt_ipv6: 2001:db8:16:18::2 + ports: + - 2182:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.18.3 + mgmt_ipv6: 2001:db8:16:18::3 + ports: + - 2183:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.18.4 + mgmt_ipv6: 2001:db8:16:18::4 + ports: + - 2184:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.18.5 + mgmt_ipv6: 2001:db8:16:18::5 + ports: + - 2185:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-18 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop19.clab.yml.bak b/internal-lab-setup-assets/.workshop19.clab.yml.bak new file mode 100644 index 0000000..d498b30 --- /dev/null +++ b/internal-lab-setup-assets/.workshop19.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-19 + +mgmt: + network: automation-workshop-19 + ipv4_subnet: 172.16.19.0/24 + ipv6_subnet: 2001:db8:16:19::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.19.2 + mgmt_ipv6: 2001:db8:16:19::2 + ports: + - 2192:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.19.3 + mgmt_ipv6: 2001:db8:16:19::3 + ports: + - 2193:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.19.4 + mgmt_ipv6: 2001:db8:16:19::4 + ports: + - 2194:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.19.5 + mgmt_ipv6: 2001:db8:16:19::5 + ports: + - 2195:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-19 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop2.clab.yml.bak b/internal-lab-setup-assets/.workshop2.clab.yml.bak new file mode 100644 index 0000000..91d8fe4 --- /dev/null +++ b/internal-lab-setup-assets/.workshop2.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-02 + +mgmt: + network: automation-workshop-02 + ipv4_subnet: 172.16.2.0/24 + ipv6_subnet: 2001:db8:16:2::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.2.2 + mgmt_ipv6: 2001:db8:16:2::2 + ports: + - 2022:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.2.3 + mgmt_ipv6: 2001:db8:16:2::3 + ports: + - 2023:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.2.4 + mgmt_ipv6: 2001:db8:16:2::4 + ports: + - 2024:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.2.5 + mgmt_ipv6: 2001:db8:16:2::5 + ports: + - 2025:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-02 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop20.clab.yml.bak b/internal-lab-setup-assets/.workshop20.clab.yml.bak new file mode 100644 index 0000000..d595cae --- /dev/null +++ b/internal-lab-setup-assets/.workshop20.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-20 + +mgmt: + network: automation-workshop-20 + ipv4_subnet: 172.16.20.0/24 + ipv6_subnet: 2001:db8:16:20::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.20.2 + mgmt_ipv6: 2001:db8:16:20::2 + ports: + - 2202:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.20.3 + mgmt_ipv6: 2001:db8:16:20::3 + ports: + - 2203:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.20.4 + mgmt_ipv6: 2001:db8:16:20::4 + ports: + - 2204:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.20.5 + mgmt_ipv6: 2001:db8:16:20::5 + ports: + - 2205:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-20 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop21.clab.yml.bak b/internal-lab-setup-assets/.workshop21.clab.yml.bak new file mode 100644 index 0000000..19ecac7 --- /dev/null +++ b/internal-lab-setup-assets/.workshop21.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-21 + +mgmt: + network: automation-workshop-21 + ipv4_subnet: 172.16.21.0/24 + ipv6_subnet: 2001:db8:16:21::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.21.2 + mgmt_ipv6: 2001:db8:16:21::2 + ports: + - 2212:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.21.3 + mgmt_ipv6: 2001:db8:16:21::3 + ports: + - 2213:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.21.4 + mgmt_ipv6: 2001:db8:16:21::4 + ports: + - 2214:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.21.5 + mgmt_ipv6: 2001:db8:16:21::5 + ports: + - 2215:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-21 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop22.clab.yml.bak b/internal-lab-setup-assets/.workshop22.clab.yml.bak new file mode 100644 index 0000000..ef76036 --- /dev/null +++ b/internal-lab-setup-assets/.workshop22.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-22 + +mgmt: + network: automation-workshop-22 + ipv4_subnet: 172.16.22.0/24 + ipv6_subnet: 2001:db8:16:22::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.22.2 + mgmt_ipv6: 2001:db8:16:22::2 + ports: + - 2222:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.22.3 + mgmt_ipv6: 2001:db8:16:22::3 + ports: + - 2223:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.22.4 + mgmt_ipv6: 2001:db8:16:22::4 + ports: + - 2224:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.22.5 + mgmt_ipv6: 2001:db8:16:22::5 + ports: + - 2225:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-22 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop23.clab.yml.bak b/internal-lab-setup-assets/.workshop23.clab.yml.bak new file mode 100644 index 0000000..b22b5da --- /dev/null +++ b/internal-lab-setup-assets/.workshop23.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-23 + +mgmt: + network: automation-workshop-23 + ipv4_subnet: 172.16.23.0/24 + ipv6_subnet: 2001:db8:16:23::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.23.2 + mgmt_ipv6: 2001:db8:16:23::2 + ports: + - 2232:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.23.3 + mgmt_ipv6: 2001:db8:16:23::3 + ports: + - 2233:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.23.4 + mgmt_ipv6: 2001:db8:16:23::4 + ports: + - 2234:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.23.5 + mgmt_ipv6: 2001:db8:16:23::5 + ports: + - 2235:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-23 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop24.clab.yml.bak b/internal-lab-setup-assets/.workshop24.clab.yml.bak new file mode 100644 index 0000000..8bed3b2 --- /dev/null +++ b/internal-lab-setup-assets/.workshop24.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-24 + +mgmt: + network: automation-workshop-24 + ipv4_subnet: 172.16.24.0/24 + ipv6_subnet: 2001:db8:16:24::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.24.2 + mgmt_ipv6: 2001:db8:16:24::2 + ports: + - 2242:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.24.3 + mgmt_ipv6: 2001:db8:16:24::3 + ports: + - 2243:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.24.4 + mgmt_ipv6: 2001:db8:16:24::4 + ports: + - 2244:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.24.5 + mgmt_ipv6: 2001:db8:16:24::5 + ports: + - 2245:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-24 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop25.clab.yml.bak b/internal-lab-setup-assets/.workshop25.clab.yml.bak new file mode 100644 index 0000000..482696a --- /dev/null +++ b/internal-lab-setup-assets/.workshop25.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-25 + +mgmt: + network: automation-workshop-25 + ipv4_subnet: 172.16.25.0/24 + ipv6_subnet: 2001:db8:16:25::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.25.2 + mgmt_ipv6: 2001:db8:16:25::2 + ports: + - 2252:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.25.3 + mgmt_ipv6: 2001:db8:16:25::3 + ports: + - 2253:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.25.4 + mgmt_ipv6: 2001:db8:16:25::4 + ports: + - 2254:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.25.5 + mgmt_ipv6: 2001:db8:16:25::5 + ports: + - 2255:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-25 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop26.clab.yml.bak b/internal-lab-setup-assets/.workshop26.clab.yml.bak new file mode 100644 index 0000000..38c4bc9 --- /dev/null +++ b/internal-lab-setup-assets/.workshop26.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-26 + +mgmt: + network: automation-workshop-26 + ipv4_subnet: 172.16.26.0/24 + ipv6_subnet: 2001:db8:16:26::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.26.2 + mgmt_ipv6: 2001:db8:16:26::2 + ports: + - 2262:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.26.3 + mgmt_ipv6: 2001:db8:16:26::3 + ports: + - 2263:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.26.4 + mgmt_ipv6: 2001:db8:16:26::4 + ports: + - 2264:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.26.5 + mgmt_ipv6: 2001:db8:16:26::5 + ports: + - 2265:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-26 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop27.clab.yml.bak b/internal-lab-setup-assets/.workshop27.clab.yml.bak new file mode 100644 index 0000000..cc741cc --- /dev/null +++ b/internal-lab-setup-assets/.workshop27.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-27 + +mgmt: + network: automation-workshop-27 + ipv4_subnet: 172.16.27.0/24 + ipv6_subnet: 2001:db8:16:27::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.27.2 + mgmt_ipv6: 2001:db8:16:27::2 + ports: + - 2272:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.27.3 + mgmt_ipv6: 2001:db8:16:27::3 + ports: + - 2273:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.27.4 + mgmt_ipv6: 2001:db8:16:27::4 + ports: + - 2274:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.27.5 + mgmt_ipv6: 2001:db8:16:27::5 + ports: + - 2275:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-27 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop28.clab.yml.bak b/internal-lab-setup-assets/.workshop28.clab.yml.bak new file mode 100644 index 0000000..5e9aee5 --- /dev/null +++ b/internal-lab-setup-assets/.workshop28.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-28 + +mgmt: + network: automation-workshop-28 + ipv4_subnet: 172.16.28.0/24 + ipv6_subnet: 2001:db8:16:28::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.28.2 + mgmt_ipv6: 2001:db8:16:28::2 + ports: + - 2282:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.28.3 + mgmt_ipv6: 2001:db8:16:28::3 + ports: + - 2283:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.28.4 + mgmt_ipv6: 2001:db8:16:28::4 + ports: + - 2284:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.28.5 + mgmt_ipv6: 2001:db8:16:28::5 + ports: + - 2285:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-28 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop29.clab.yml.bak b/internal-lab-setup-assets/.workshop29.clab.yml.bak new file mode 100644 index 0000000..3d3540f --- /dev/null +++ b/internal-lab-setup-assets/.workshop29.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-29 + +mgmt: + network: automation-workshop-29 + ipv4_subnet: 172.16.29.0/24 + ipv6_subnet: 2001:db8:16:29::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.29.2 + mgmt_ipv6: 2001:db8:16:29::2 + ports: + - 2292:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.29.3 + mgmt_ipv6: 2001:db8:16:29::3 + ports: + - 2293:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.29.4 + mgmt_ipv6: 2001:db8:16:29::4 + ports: + - 2294:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.29.5 + mgmt_ipv6: 2001:db8:16:29::5 + ports: + - 2295:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-29 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop3.clab.yml.bak b/internal-lab-setup-assets/.workshop3.clab.yml.bak new file mode 100644 index 0000000..f43a795 --- /dev/null +++ b/internal-lab-setup-assets/.workshop3.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-03 + +mgmt: + network: automation-workshop-03 + ipv4_subnet: 172.16.3.0/24 + ipv6_subnet: 2001:db8:16:3::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.3.2 + mgmt_ipv6: 2001:db8:16:3::2 + ports: + - 2032:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.3.3 + mgmt_ipv6: 2001:db8:16:3::3 + ports: + - 2033:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.3.4 + mgmt_ipv6: 2001:db8:16:3::4 + ports: + - 2034:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.3.5 + mgmt_ipv6: 2001:db8:16:3::5 + ports: + - 2035:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-03 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop30.clab.yml.bak b/internal-lab-setup-assets/.workshop30.clab.yml.bak new file mode 100644 index 0000000..164a657 --- /dev/null +++ b/internal-lab-setup-assets/.workshop30.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-30 + +mgmt: + network: automation-workshop-30 + ipv4_subnet: 172.16.30.0/24 + ipv6_subnet: 2001:db8:16:30::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.30.2 + mgmt_ipv6: 2001:db8:16:30::2 + ports: + - 2302:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.30.3 + mgmt_ipv6: 2001:db8:16:30::3 + ports: + - 2303:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.30.4 + mgmt_ipv6: 2001:db8:16:30::4 + ports: + - 2304:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.30.5 + mgmt_ipv6: 2001:db8:16:30::5 + ports: + - 2305:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-30 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop4.clab.yml.bak b/internal-lab-setup-assets/.workshop4.clab.yml.bak new file mode 100644 index 0000000..b3ec3c4 --- /dev/null +++ b/internal-lab-setup-assets/.workshop4.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-04 + +mgmt: + network: automation-workshop-04 + ipv4_subnet: 172.16.4.0/24 + ipv6_subnet: 2001:db8:16:4::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.4.2 + mgmt_ipv6: 2001:db8:16:4::2 + ports: + - 2042:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.4.3 + mgmt_ipv6: 2001:db8:16:4::3 + ports: + - 2043:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.4.4 + mgmt_ipv6: 2001:db8:16:4::4 + ports: + - 2044:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.4.5 + mgmt_ipv6: 2001:db8:16:4::5 + ports: + - 2045:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-04 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop5.clab.yml.bak b/internal-lab-setup-assets/.workshop5.clab.yml.bak new file mode 100644 index 0000000..f789e02 --- /dev/null +++ b/internal-lab-setup-assets/.workshop5.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-05 + +mgmt: + network: automation-workshop-05 + ipv4_subnet: 172.16.5.0/24 + ipv6_subnet: 2001:db8:16:5::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.5.2 + mgmt_ipv6: 2001:db8:16:5::2 + ports: + - 2052:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.5.3 + mgmt_ipv6: 2001:db8:16:5::3 + ports: + - 2053:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.5.4 + mgmt_ipv6: 2001:db8:16:5::4 + ports: + - 2054:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.5.5 + mgmt_ipv6: 2001:db8:16:5::5 + ports: + - 2055:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-05 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop6.clab.yml.bak b/internal-lab-setup-assets/.workshop6.clab.yml.bak new file mode 100644 index 0000000..c6b0bde --- /dev/null +++ b/internal-lab-setup-assets/.workshop6.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-06 + +mgmt: + network: automation-workshop-06 + ipv4_subnet: 172.16.6.0/24 + ipv6_subnet: 2001:db8:16:6::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.6.2 + mgmt_ipv6: 2001:db8:16:6::2 + ports: + - 2062:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.6.3 + mgmt_ipv6: 2001:db8:16:6::3 + ports: + - 2063:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.6.4 + mgmt_ipv6: 2001:db8:16:6::4 + ports: + - 2064:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.6.5 + mgmt_ipv6: 2001:db8:16:6::5 + ports: + - 2065:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-06 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop7.clab.yml.bak b/internal-lab-setup-assets/.workshop7.clab.yml.bak new file mode 100644 index 0000000..a28ca52 --- /dev/null +++ b/internal-lab-setup-assets/.workshop7.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-07 + +mgmt: + network: automation-workshop-07 + ipv4_subnet: 172.16.7.0/24 + ipv6_subnet: 2001:db8:16:7::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.7.2 + mgmt_ipv6: 2001:db8:16:7::2 + ports: + - 2072:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.7.3 + mgmt_ipv6: 2001:db8:16:7::3 + ports: + - 2073:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.7.4 + mgmt_ipv6: 2001:db8:16:7::4 + ports: + - 2074:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.7.5 + mgmt_ipv6: 2001:db8:16:7::5 + ports: + - 2075:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-07 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop8.clab.yml.bak b/internal-lab-setup-assets/.workshop8.clab.yml.bak new file mode 100644 index 0000000..84ababb --- /dev/null +++ b/internal-lab-setup-assets/.workshop8.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-08 + +mgmt: + network: automation-workshop-08 + ipv4_subnet: 172.16.8.0/24 + ipv6_subnet: 2001:db8:16:8::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.8.2 + mgmt_ipv6: 2001:db8:16:8::2 + ports: + - 2082:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.8.3 + mgmt_ipv6: 2001:db8:16:8::3 + ports: + - 2083:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.8.4 + mgmt_ipv6: 2001:db8:16:8::4 + ports: + - 2084:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.8.5 + mgmt_ipv6: 2001:db8:16:8::5 + ports: + - 2085:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-08 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/.workshop9.clab.yml.bak b/internal-lab-setup-assets/.workshop9.clab.yml.bak new file mode 100644 index 0000000..bf6ca17 --- /dev/null +++ b/internal-lab-setup-assets/.workshop9.clab.yml.bak @@ -0,0 +1,55 @@ +name: automation-workshop-09 + +mgmt: + network: automation-workshop-09 + ipv4_subnet: 172.16.9.0/24 + ipv6_subnet: 2001:db8:16:9::/80 + +topology: + kinds: + cisco_xrd: + image: ios-xr/xrd-control-plane:7.9.1 + juniper_crpd: + image: crpd:23.1R1.8 + license: license.txt + startup-config: startup-config/juniper1.conf + exec: + - cli request system license add tmp/junos_sfnt_tmp.lic + + nodes: + cisco1: + kind: cisco_xrd + startup-config: startup-config/cisco1.conf + mgmt_ipv4: 172.16.9.2 + mgmt_ipv6: 2001:db8:16:9::2 + ports: + - 2092:22 + cisco2: + kind: cisco_xrd + startup-config: startup-config/cisco2.conf + mgmt_ipv4: 172.16.9.3 + mgmt_ipv6: 2001:db8:16:9::3 + ports: + - 2093:22 + juniper1: + kind: juniper_crpd + mgmt_ipv4: 172.16.9.4 + mgmt_ipv6: 2001:db8:16:9::4 + ports: + - 2094:22 + ubuntu: + kind: linux + image: internet2/getting_started + mgmt_ipv4: 172.16.9.5 + mgmt_ipv6: 2001:db8:16:9::5 + ports: + - 2095:22 + env: + CX23_LAB_PASSWORD: Self-Nose-Reasonable-Dust-09 + + links: + - endpoints: ["cisco1:Gi0-0-0-0", "cisco2:Gi0-0-0-0"] + - endpoints: ["cisco1:Gi0-0-0-1", "juniper1:eth1"] + - endpoints: ["cisco2:Gi0-0-0-1", "juniper1:eth2"] + - endpoints: ["ubuntu:eth1", "cisco1:Gi0-0-0-2"] + - endpoints: ["ubuntu:eth2", "cisco2:Gi0-0-0-2"] diff --git a/internal-lab-setup-assets/Makefile b/internal-lab-setup-assets/Makefile index ddeec01..1c8de0e 100644 --- a/internal-lab-setup-assets/Makefile +++ b/internal-lab-setup-assets/Makefile @@ -10,7 +10,7 @@ clab-install: dnf install containerlab -y --nogpgcheck gen: clean - /srv/clab/venv/bin/python gen-topo.py + python gen-topo.py deploy: gen for name in workshop[0-9]*.clab.yml; do\ diff --git a/internal-lab-setup-assets/workshop.clab.yml.j2 b/internal-lab-setup-assets/workshop.clab.yml.j2 index e05a1b6..918c1ef 100644 --- a/internal-lab-setup-assets/workshop.clab.yml.j2 +++ b/internal-lab-setup-assets/workshop.clab.yml.j2 @@ -1,7 +1,7 @@ {%- set id = id|default(1) %} {%- macro shared_node_settings(x) %} - mgmt_ipv4: 172.16.{{id}}.{{x}} - mgmt_ipv6: 2001:db8:16:{{id}}::{{x}} + mgmt-ipv4: 172.16.{{id}}.{{x}} + mgmt-ipv6: 2001:db8:16:{{id}}::{{x}} ports: - 2{{"%02d" % id}}{{x}}:22 {%- endmacro -%} @@ -9,8 +9,8 @@ name: automation-workshop-{{"%02d" % id}} mgmt: network: automation-workshop-{{"%02d" % id}} - ipv4_subnet: 172.16.{{id}}.0/24 - ipv6_subnet: 2001:db8:16:{{id}}::/80 + ipv4-subnet: 172.16.{{id}}.0/24 + ipv6-subnet: 2001:db8:16:{{id}}::/80 topology: kinds: