From 9061e3f1c2d01da79fa71e339ac95ad22095c0e6 Mon Sep 17 00:00:00 2001 From: pa Date: Tue, 27 Aug 2024 14:18:35 +0200 Subject: [PATCH 1/4] add scripts --- .../clab/scripts/dualstack_list_vrf_dev | 24 +++++++++++++++++ .../clab/scripts/dualstack_list_vrf_prod | 26 +++++++++++++++++++ .../clab/scripts/ipv4_list_vrf_dev | 12 +++++++++ .../clab/scripts/ipv4_list_vrf_prod | 13 ++++++++++ .../clab/scripts/ipv6_list_vrf_dev | 7 +++++ .../clab/scripts/ipv6_list_vrf_prod | 6 +++++ .../scripts/pingcheck_dualstack_vrf_dev.sh | 7 +++++ .../scripts/pingcheck_dualstack_vrf_prod.sh | 7 +++++ .../clab/scripts/pingcheckv4_vrf_dev.sh | 7 +++++ .../clab/scripts/pingcheckv4_vrf_prod.sh | 7 +++++ .../clab/scripts/pingcheckv6_vrf_dev.sh | 7 +++++ .../clab/scripts/pingcheckv6_vrf_prod.sh | 7 +++++ .../clab/topology.clab.yml | 2 ++ 13 files changed, 132 insertions(+) create mode 100644 labs/techlib-vxlan-domain-a/clab/scripts/dualstack_list_vrf_dev create mode 100644 labs/techlib-vxlan-domain-a/clab/scripts/dualstack_list_vrf_prod create mode 100644 labs/techlib-vxlan-domain-a/clab/scripts/ipv4_list_vrf_dev create mode 100644 labs/techlib-vxlan-domain-a/clab/scripts/ipv4_list_vrf_prod create mode 100644 labs/techlib-vxlan-domain-a/clab/scripts/ipv6_list_vrf_dev create mode 100644 labs/techlib-vxlan-domain-a/clab/scripts/ipv6_list_vrf_prod create mode 100755 labs/techlib-vxlan-domain-a/clab/scripts/pingcheck_dualstack_vrf_dev.sh create mode 100755 labs/techlib-vxlan-domain-a/clab/scripts/pingcheck_dualstack_vrf_prod.sh create mode 100755 labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv4_vrf_dev.sh create mode 100755 labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv4_vrf_prod.sh create mode 100755 labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv6_vrf_dev.sh create mode 100755 labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv6_vrf_prod.sh diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/dualstack_list_vrf_dev b/labs/techlib-vxlan-domain-a/clab/scripts/dualstack_list_vrf_dev new file mode 100644 index 00000000..6d523308 --- /dev/null +++ b/labs/techlib-vxlan-domain-a/clab/scripts/dualstack_list_vrf_dev @@ -0,0 +1,24 @@ +10.50.50.101 +10.50.50.102 +10.50.50.103 +10.60.60.101 +10.60.60.102 +10.60.60.103 +10.70.70.101 +10.70.70.102 +10.70.70.103 +10.80.80.101 +10.90.90.101 +10.90.90.102 +2001:db8:50:50::101 +2001:db8:50:50::102 +2001:db8:50:50::103 +2001:db8:60:60::101 +2001:db8:60:60::102 +2001:db8:60:60::103 +2001:db8:70:70::101 +2001:db8:70:70::102 +2001:db8:70:70::103 +2001:db8:80:80::101 +2001:db8:90:90::101 +2001:db8:90:90::102 diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/dualstack_list_vrf_prod b/labs/techlib-vxlan-domain-a/clab/scripts/dualstack_list_vrf_prod new file mode 100644 index 00000000..d65217ef --- /dev/null +++ b/labs/techlib-vxlan-domain-a/clab/scripts/dualstack_list_vrf_prod @@ -0,0 +1,26 @@ +10.10.10.101 +10.10.10.102 +10.10.10.103 +10.10.10.104 +10.10.10.105 +10.10.10.106 +10.20.20.101 +10.20.20.102 +10.20.20.103 +10.30.30.101 +10.30.30.102 +10.40.40.101 +10.40.40.102 +2001:db8:10:10::101 +2001:db8:10:10::102 +2001:db8:10:10::103 +2001:db8:10:10::104 +2001:db8:10:10::105 +2001:db8:10:10::106 +2001:db8:20:20::101 +2001:db8:20:20::102 +2001:db8:20:20::103 +2001:db8:30:30::101 +2001:db8:30:30::102 +2001:db8:40:40::101 +2001:db8:40:40::102 diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/ipv4_list_vrf_dev b/labs/techlib-vxlan-domain-a/clab/scripts/ipv4_list_vrf_dev new file mode 100644 index 00000000..97a4fd00 --- /dev/null +++ b/labs/techlib-vxlan-domain-a/clab/scripts/ipv4_list_vrf_dev @@ -0,0 +1,12 @@ +10.50.50.101 +10.50.50.102 +10.50.50.103 +10.60.60.101 +10.60.60.102 +10.60.60.103 +10.70.70.101 +10.70.70.102 +10.70.70.103 +10.80.80.101 +10.90.90.101 +10.90.90.102 diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/ipv4_list_vrf_prod b/labs/techlib-vxlan-domain-a/clab/scripts/ipv4_list_vrf_prod new file mode 100644 index 00000000..aebc63b0 --- /dev/null +++ b/labs/techlib-vxlan-domain-a/clab/scripts/ipv4_list_vrf_prod @@ -0,0 +1,13 @@ +10.10.10.101 +10.10.10.102 +10.10.10.103 +10.10.10.104 +10.10.10.105 +10.10.10.106 +10.20.20.101 +10.20.20.102 +10.20.20.103 +10.30.30.101 +10.30.30.102 +10.40.40.101 +10.40.40.102 diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/ipv6_list_vrf_dev b/labs/techlib-vxlan-domain-a/clab/scripts/ipv6_list_vrf_dev new file mode 100644 index 00000000..57e7c0d3 --- /dev/null +++ b/labs/techlib-vxlan-domain-a/clab/scripts/ipv6_list_vrf_dev @@ -0,0 +1,7 @@ +2001:db8:50:50::103 +2001:db8:60:60::101 +2001:db8:70:70::102 +2001:db8:70:70::103 +2001:db8:80:80::101 +2001:db8:90:90::101 +2001:db8:90:90::102 diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/ipv6_list_vrf_prod b/labs/techlib-vxlan-domain-a/clab/scripts/ipv6_list_vrf_prod new file mode 100644 index 00000000..bf5d84e5 --- /dev/null +++ b/labs/techlib-vxlan-domain-a/clab/scripts/ipv6_list_vrf_prod @@ -0,0 +1,6 @@ +2001:db8:10:10::103 +2001:db8:10:10::105 +2001:db8:10:10::106 +2001:db8:20:20::101 +2001:db8:40:40::101 +2001:db8:40:40::102 diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheck_dualstack_vrf_dev.sh b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheck_dualstack_vrf_dev.sh new file mode 100755 index 00000000..6a354d27 --- /dev/null +++ b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheck_dualstack_vrf_dev.sh @@ -0,0 +1,7 @@ +while true +do + echo Ping Check VRF DEV Hosts... + fping -f /usr/local/bin/dualstack_list_vrf_dev + sleep 2 + clear +done diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheck_dualstack_vrf_prod.sh b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheck_dualstack_vrf_prod.sh new file mode 100755 index 00000000..2aa623a2 --- /dev/null +++ b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheck_dualstack_vrf_prod.sh @@ -0,0 +1,7 @@ +while true +do + echo Ping Check VRF DEV Hosts... + fping -f /usr/local/bin/dualstack_list_vrf_prod + sleep 2 + clear +done diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv4_vrf_dev.sh b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv4_vrf_dev.sh new file mode 100755 index 00000000..5c91005b --- /dev/null +++ b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv4_vrf_dev.sh @@ -0,0 +1,7 @@ +while true +do + echo Ping Check VRF DEV Hosts... + fping -f /usr/local/bin/ipv4_list_vrf_dev + sleep 2 + clear +done diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv4_vrf_prod.sh b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv4_vrf_prod.sh new file mode 100755 index 00000000..3165a808 --- /dev/null +++ b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv4_vrf_prod.sh @@ -0,0 +1,7 @@ +while true +do + echo Ping Check VRF PROD Hosts... + fping -f /usr/local/bin/ipv4_list_vrf_prod + sleep 2 + clear +done diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv6_vrf_dev.sh b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv6_vrf_dev.sh new file mode 100755 index 00000000..dbe19d00 --- /dev/null +++ b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv6_vrf_dev.sh @@ -0,0 +1,7 @@ +while true +do + echo Ping Check VRF PROD Hosts... + fping -f /usr/local/bin/ipv6_list_vrf_dev + sleep 2 + clear +done diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv6_vrf_prod.sh b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv6_vrf_prod.sh new file mode 100755 index 00000000..b20eafd6 --- /dev/null +++ b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv6_vrf_prod.sh @@ -0,0 +1,7 @@ +while true +do + echo Ping Check VRF PROD Hosts... + fping -f /usr/local/bin/ipv6_list_vrf_prod + sleep 2 + clear +done diff --git a/labs/techlib-vxlan-domain-a/clab/topology.clab.yml b/labs/techlib-vxlan-domain-a/clab/topology.clab.yml index 0c3cb01a..3a8bc71e 100644 --- a/labs/techlib-vxlan-domain-a/clab/topology.clab.yml +++ b/labs/techlib-vxlan-domain-a/clab/topology.clab.yml @@ -22,6 +22,8 @@ topology: image: arista/ceos:4.32.1F linux: image: ghcr.io/aristanetworks/aclabs/host-ubuntu:latest + binds: + - scripts:/users/admin/home:ro nodes: ############################################################### From b8627f876619435b37d99854981cf2d41fae1ed0 Mon Sep 17 00:00:00 2001 From: pa Date: Wed, 28 Aug 2024 13:27:11 +0200 Subject: [PATCH 2/4] fix script and move IP list, enable LLDP --- .../host-ubuntu/.devcontainer/Dockerfile | 2 ++ .../host-ubuntu/.devcontainer/entrypoint.sh | 4 ++-- .../host-ubuntu/.devcontainer/pingcheck | 19 +++++++++++++++++++ .../clab/{scripts => }/dualstack_list_vrf_dev | 0 .../{scripts => }/dualstack_list_vrf_prod | 0 .../clab/{scripts => }/ipv4_list_vrf_dev | 0 .../clab/{scripts => }/ipv4_list_vrf_prod | 0 .../clab/{scripts => }/ipv6_list_vrf_dev | 0 .../clab/{scripts => }/ipv6_list_vrf_prod | 0 .../scripts/pingcheck_dualstack_vrf_dev.sh | 7 ------- .../scripts/pingcheck_dualstack_vrf_prod.sh | 7 ------- .../clab/scripts/pingcheckv4_vrf_dev.sh | 7 ------- .../clab/scripts/pingcheckv4_vrf_prod.sh | 7 ------- .../clab/scripts/pingcheckv6_vrf_dev.sh | 7 ------- .../clab/scripts/pingcheckv6_vrf_prod.sh | 7 ------- .../clab/topology.clab.yml | 2 +- 16 files changed, 24 insertions(+), 45 deletions(-) create mode 100644 containers/host-ubuntu/.devcontainer/pingcheck rename labs/techlib-vxlan-domain-a/clab/{scripts => }/dualstack_list_vrf_dev (100%) rename labs/techlib-vxlan-domain-a/clab/{scripts => }/dualstack_list_vrf_prod (100%) rename labs/techlib-vxlan-domain-a/clab/{scripts => }/ipv4_list_vrf_dev (100%) rename labs/techlib-vxlan-domain-a/clab/{scripts => }/ipv4_list_vrf_prod (100%) rename labs/techlib-vxlan-domain-a/clab/{scripts => }/ipv6_list_vrf_dev (100%) rename labs/techlib-vxlan-domain-a/clab/{scripts => }/ipv6_list_vrf_prod (100%) delete mode 100755 labs/techlib-vxlan-domain-a/clab/scripts/pingcheck_dualstack_vrf_dev.sh delete mode 100755 labs/techlib-vxlan-domain-a/clab/scripts/pingcheck_dualstack_vrf_prod.sh delete mode 100755 labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv4_vrf_dev.sh delete mode 100755 labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv4_vrf_prod.sh delete mode 100755 labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv6_vrf_dev.sh delete mode 100755 labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv6_vrf_prod.sh diff --git a/containers/host-ubuntu/.devcontainer/Dockerfile b/containers/host-ubuntu/.devcontainer/Dockerfile index 56af1b03..28f09308 100644 --- a/containers/host-ubuntu/.devcontainer/Dockerfile +++ b/containers/host-ubuntu/.devcontainer/Dockerfile @@ -48,6 +48,8 @@ RUN apt-get update \ COPY ./entrypoint.sh /bin/entrypoint.sh RUN chmod +x /bin/entrypoint.sh +COPY ./pingcheck /bin/pingcheck +RUN chmod +x /bin/pingcheck USER ${USERNAME} diff --git a/containers/host-ubuntu/.devcontainer/entrypoint.sh b/containers/host-ubuntu/.devcontainer/entrypoint.sh index 1e46b0ca..05d29e82 100644 --- a/containers/host-ubuntu/.devcontainer/entrypoint.sh +++ b/containers/host-ubuntu/.devcontainer/entrypoint.sh @@ -12,8 +12,8 @@ fi echo "admin:${SSH_PASSWORD}" | sudo chpasswd -# start SSH server -sudo service ssh start +# start SSH server and LLDP +sudo service ssh start && sudo lldpd UPLINK='eth1' diff --git a/containers/host-ubuntu/.devcontainer/pingcheck b/containers/host-ubuntu/.devcontainer/pingcheck new file mode 100644 index 00000000..953b7637 --- /dev/null +++ b/containers/host-ubuntu/.devcontainer/pingcheck @@ -0,0 +1,19 @@ +#!/usr/bin/env bash + +set +e + +if [ -f "$1" ]; then + + while true + do + echo "fpinging the targets..." + fping -f $1 + sleep 2 + clear + done + +else + + echo "You must provide a valid filename with target IP address list." + +fi diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/dualstack_list_vrf_dev b/labs/techlib-vxlan-domain-a/clab/dualstack_list_vrf_dev similarity index 100% rename from labs/techlib-vxlan-domain-a/clab/scripts/dualstack_list_vrf_dev rename to labs/techlib-vxlan-domain-a/clab/dualstack_list_vrf_dev diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/dualstack_list_vrf_prod b/labs/techlib-vxlan-domain-a/clab/dualstack_list_vrf_prod similarity index 100% rename from labs/techlib-vxlan-domain-a/clab/scripts/dualstack_list_vrf_prod rename to labs/techlib-vxlan-domain-a/clab/dualstack_list_vrf_prod diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/ipv4_list_vrf_dev b/labs/techlib-vxlan-domain-a/clab/ipv4_list_vrf_dev similarity index 100% rename from labs/techlib-vxlan-domain-a/clab/scripts/ipv4_list_vrf_dev rename to labs/techlib-vxlan-domain-a/clab/ipv4_list_vrf_dev diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/ipv4_list_vrf_prod b/labs/techlib-vxlan-domain-a/clab/ipv4_list_vrf_prod similarity index 100% rename from labs/techlib-vxlan-domain-a/clab/scripts/ipv4_list_vrf_prod rename to labs/techlib-vxlan-domain-a/clab/ipv4_list_vrf_prod diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/ipv6_list_vrf_dev b/labs/techlib-vxlan-domain-a/clab/ipv6_list_vrf_dev similarity index 100% rename from labs/techlib-vxlan-domain-a/clab/scripts/ipv6_list_vrf_dev rename to labs/techlib-vxlan-domain-a/clab/ipv6_list_vrf_dev diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/ipv6_list_vrf_prod b/labs/techlib-vxlan-domain-a/clab/ipv6_list_vrf_prod similarity index 100% rename from labs/techlib-vxlan-domain-a/clab/scripts/ipv6_list_vrf_prod rename to labs/techlib-vxlan-domain-a/clab/ipv6_list_vrf_prod diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheck_dualstack_vrf_dev.sh b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheck_dualstack_vrf_dev.sh deleted file mode 100755 index 6a354d27..00000000 --- a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheck_dualstack_vrf_dev.sh +++ /dev/null @@ -1,7 +0,0 @@ -while true -do - echo Ping Check VRF DEV Hosts... - fping -f /usr/local/bin/dualstack_list_vrf_dev - sleep 2 - clear -done diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheck_dualstack_vrf_prod.sh b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheck_dualstack_vrf_prod.sh deleted file mode 100755 index 2aa623a2..00000000 --- a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheck_dualstack_vrf_prod.sh +++ /dev/null @@ -1,7 +0,0 @@ -while true -do - echo Ping Check VRF DEV Hosts... - fping -f /usr/local/bin/dualstack_list_vrf_prod - sleep 2 - clear -done diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv4_vrf_dev.sh b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv4_vrf_dev.sh deleted file mode 100755 index 5c91005b..00000000 --- a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv4_vrf_dev.sh +++ /dev/null @@ -1,7 +0,0 @@ -while true -do - echo Ping Check VRF DEV Hosts... - fping -f /usr/local/bin/ipv4_list_vrf_dev - sleep 2 - clear -done diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv4_vrf_prod.sh b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv4_vrf_prod.sh deleted file mode 100755 index 3165a808..00000000 --- a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv4_vrf_prod.sh +++ /dev/null @@ -1,7 +0,0 @@ -while true -do - echo Ping Check VRF PROD Hosts... - fping -f /usr/local/bin/ipv4_list_vrf_prod - sleep 2 - clear -done diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv6_vrf_dev.sh b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv6_vrf_dev.sh deleted file mode 100755 index dbe19d00..00000000 --- a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv6_vrf_dev.sh +++ /dev/null @@ -1,7 +0,0 @@ -while true -do - echo Ping Check VRF PROD Hosts... - fping -f /usr/local/bin/ipv6_list_vrf_dev - sleep 2 - clear -done diff --git a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv6_vrf_prod.sh b/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv6_vrf_prod.sh deleted file mode 100755 index b20eafd6..00000000 --- a/labs/techlib-vxlan-domain-a/clab/scripts/pingcheckv6_vrf_prod.sh +++ /dev/null @@ -1,7 +0,0 @@ -while true -do - echo Ping Check VRF PROD Hosts... - fping -f /usr/local/bin/ipv6_list_vrf_prod - sleep 2 - clear -done diff --git a/labs/techlib-vxlan-domain-a/clab/topology.clab.yml b/labs/techlib-vxlan-domain-a/clab/topology.clab.yml index 3a8bc71e..c94b379f 100644 --- a/labs/techlib-vxlan-domain-a/clab/topology.clab.yml +++ b/labs/techlib-vxlan-domain-a/clab/topology.clab.yml @@ -23,7 +23,7 @@ topology: linux: image: ghcr.io/aristanetworks/aclabs/host-ubuntu:latest binds: - - scripts:/users/admin/home:ro + - /techlib-vxlan-domain-a:/workspace:ro nodes: ############################################################### From 2bef6ab186787f5e27596fa5e8d27014520774bb Mon Sep 17 00:00:00 2001 From: pa Date: Wed, 28 Aug 2024 13:45:27 +0200 Subject: [PATCH 3/4] move pingcheck files --- .../{clab => pingcheck}/dualstack_list_vrf_dev | 0 .../{clab => pingcheck}/dualstack_list_vrf_prod | 0 labs/techlib-vxlan-domain-a/{clab => pingcheck}/ipv4_list_vrf_dev | 0 .../techlib-vxlan-domain-a/{clab => pingcheck}/ipv4_list_vrf_prod | 0 labs/techlib-vxlan-domain-a/{clab => pingcheck}/ipv6_list_vrf_dev | 0 .../techlib-vxlan-domain-a/{clab => pingcheck}/ipv6_list_vrf_prod | 0 6 files changed, 0 insertions(+), 0 deletions(-) rename labs/techlib-vxlan-domain-a/{clab => pingcheck}/dualstack_list_vrf_dev (100%) rename labs/techlib-vxlan-domain-a/{clab => pingcheck}/dualstack_list_vrf_prod (100%) rename labs/techlib-vxlan-domain-a/{clab => pingcheck}/ipv4_list_vrf_dev (100%) rename labs/techlib-vxlan-domain-a/{clab => pingcheck}/ipv4_list_vrf_prod (100%) rename labs/techlib-vxlan-domain-a/{clab => pingcheck}/ipv6_list_vrf_dev (100%) rename labs/techlib-vxlan-domain-a/{clab => pingcheck}/ipv6_list_vrf_prod (100%) diff --git a/labs/techlib-vxlan-domain-a/clab/dualstack_list_vrf_dev b/labs/techlib-vxlan-domain-a/pingcheck/dualstack_list_vrf_dev similarity index 100% rename from labs/techlib-vxlan-domain-a/clab/dualstack_list_vrf_dev rename to labs/techlib-vxlan-domain-a/pingcheck/dualstack_list_vrf_dev diff --git a/labs/techlib-vxlan-domain-a/clab/dualstack_list_vrf_prod b/labs/techlib-vxlan-domain-a/pingcheck/dualstack_list_vrf_prod similarity index 100% rename from labs/techlib-vxlan-domain-a/clab/dualstack_list_vrf_prod rename to labs/techlib-vxlan-domain-a/pingcheck/dualstack_list_vrf_prod diff --git a/labs/techlib-vxlan-domain-a/clab/ipv4_list_vrf_dev b/labs/techlib-vxlan-domain-a/pingcheck/ipv4_list_vrf_dev similarity index 100% rename from labs/techlib-vxlan-domain-a/clab/ipv4_list_vrf_dev rename to labs/techlib-vxlan-domain-a/pingcheck/ipv4_list_vrf_dev diff --git a/labs/techlib-vxlan-domain-a/clab/ipv4_list_vrf_prod b/labs/techlib-vxlan-domain-a/pingcheck/ipv4_list_vrf_prod similarity index 100% rename from labs/techlib-vxlan-domain-a/clab/ipv4_list_vrf_prod rename to labs/techlib-vxlan-domain-a/pingcheck/ipv4_list_vrf_prod diff --git a/labs/techlib-vxlan-domain-a/clab/ipv6_list_vrf_dev b/labs/techlib-vxlan-domain-a/pingcheck/ipv6_list_vrf_dev similarity index 100% rename from labs/techlib-vxlan-domain-a/clab/ipv6_list_vrf_dev rename to labs/techlib-vxlan-domain-a/pingcheck/ipv6_list_vrf_dev diff --git a/labs/techlib-vxlan-domain-a/clab/ipv6_list_vrf_prod b/labs/techlib-vxlan-domain-a/pingcheck/ipv6_list_vrf_prod similarity index 100% rename from labs/techlib-vxlan-domain-a/clab/ipv6_list_vrf_prod rename to labs/techlib-vxlan-domain-a/pingcheck/ipv6_list_vrf_prod From 1b64e9d19d5323b78f94599202fd6340db841b83 Mon Sep 17 00:00:00 2001 From: pa Date: Wed, 28 Aug 2024 13:47:35 +0200 Subject: [PATCH 4/4] add gitignore to the demo --- labs/techlib-vxlan-domain-a/.gitignore | 120 +++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 labs/techlib-vxlan-domain-a/.gitignore diff --git a/labs/techlib-vxlan-domain-a/.gitignore b/labs/techlib-vxlan-domain-a/.gitignore new file mode 100644 index 00000000..0cd6d280 --- /dev/null +++ b/labs/techlib-vxlan-domain-a/.gitignore @@ -0,0 +1,120 @@ +# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig +# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,macos,ansible,linux,windows +# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,macos,ansible,linux,windows + +### Ansible ### +*.retry + +### Linux ### +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + +### macOS ### +# General +.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### macOS Patch ### +# iCloud generated files +*.icloud + +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Local History for Visual Studio Code +.history/ + +# Built Visual Studio Code Extensions +*.vsix + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide + +### Windows ### +# Windows thumbnail cache files +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk + +# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,macos,ansible,linux,windows + +# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option) + +# ignore clab files +clab-* +*.bak + +# ignore cv onboarding token +clab/cv-onboarding-token + +# discard all config backups as we don't need them +avd_inventory/config_backup/ + +# gitignore downloaded cEOS-lab images +cEOS-lab-* + +# ingnore images and other files not to be uploaded to GitHub +.gitignored/* +!.gitignored/.gitkeep