Skip to content
Permalink
a9b0cfd2b7
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
38 lines (30 sloc) 881 Bytes
# .phony: gen
FILES=$(wildcard workshop[0-9]*.clab.yml)
SLEEP=40
clab-install:
dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
dnf config-manager --add-repo https://yum.fury.io/netdevops/
dnf update
dnf install docker-ce docker-ce-cli containerd.io -y
dnf install containerlab -y --nogpgcheck
containerlab version upgrade
gen: clean
python gen-topo.py
deploy: gen
for name in workshop[0-9]*.clab.yml; do\
containerlab deploy --reconfigure -t $${name};\
sleep $(SLEEP);\
done
destroy:
for name in workshop[0-9]*.clab.yml; do\
containerlab destroy --cleanup -t $${name};\
done
rm -rf $(wildcard clab-automation-workshop-[0-9]*)
inspect:
for name in workshop[0-9]*.clab.yml; do\
containerlab inspect -t $${name};\
done
container:
docker build -t internet2/getting_started -f Containerfile .
clean:
rm -rf $(FILES)