Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto start the lab #41

Merged
merged 6 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/techlib-vxlan-domain-a/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"memory": "64gb",
"storage": "128gb"
},
"postCreateCommand": "postCreate.sh",
"postCreateCommand": "postCreate.sh; make start; make inspect",
"workspaceMount": "source=${localWorkspaceFolder}/labs/${containerWorkspaceFolder},target=/${containerWorkspaceFolder},type=bind",
"workspaceFolder": "/techlib-vxlan-domain-a"
}
2 changes: 1 addition & 1 deletion .devcontainer/techlib-vxlan-domain-b/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"memory": "64gb",
"storage": "128gb"
},
"postCreateCommand": "postCreate.sh",
"postCreateCommand": "postCreate.sh; make start; make inspect",
"workspaceMount": "source=${localWorkspaceFolder}/labs/${containerWorkspaceFolder},target=/${containerWorkspaceFolder},type=bind",
"workspaceFolder": "/techlib-vxlan-domain-b"
}
2 changes: 1 addition & 1 deletion .devcontainer/techlib-vxlan-domain-c/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"memory": "64gb",
"storage": "128gb"
},
"postCreateCommand": "postCreate.sh",
"postCreateCommand": "postCreate.sh; make start; make inspect",
"workspaceMount": "source=${localWorkspaceFolder}/labs/${containerWorkspaceFolder},target=/${containerWorkspaceFolder},type=bind",
"workspaceFolder": "/techlib-vxlan-domain-c"
}
2 changes: 1 addition & 1 deletion .devcontainer/techlib-vxlan-domain-d/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"memory": "64gb",
"storage": "128gb"
},
"postCreateCommand": "postCreate.sh",
"postCreateCommand": "postCreate.sh; make start; make inspect",
"workspaceMount": "source=${localWorkspaceFolder}/labs/${containerWorkspaceFolder},target=/${containerWorkspaceFolder},type=bind",
"workspaceFolder": "/techlib-vxlan-domain-d"
}
1 change: 1 addition & 0 deletions .github/workflows/publish-pages-on-forks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ jobs:
pip install mkdocs-material
pip install mkdocs-macros-plugin
pip install mdx_truly_sane_lists
pip install mkdocs-glightbox
mkdocs build

- name: Setup Pages 📖
Expand Down
7 changes: 7 additions & 0 deletions labs/techlib-vxlan-domain-a/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ start: ## Deploy ceos lab
.PHONY: stop
stop: ## Destroy ceos lab
sudo containerlab destroy --debug --topo $(CURRENT_DIR)/clab/topology.clab.yml --cleanup

.PHONY: inspect
inspect: ## Inspect ceos lab
@sudo containerlab inspect --topo $(CURRENT_DIR)/clab/topology.clab.yml
@echo ""
@echo "You can check the lab status, hostnames and management addresses above."
@echo "To connect to a lab device use \`ssh admin@<hostname>\` and password \`admin\`."
21 changes: 21 additions & 0 deletions labs/techlib-vxlan-domain-a/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# TechLibrary EVPN Domain-A Lab

This lab is tested for:

cEOS-lab version: 4.32.1F
Codespace Container Size
CPUs: 16
memory: 64 GB
storage: 128 GB

Last reviewed: 25/09/2024

To inspect the lab details use `make inspect` shortcut. This will list the host names and management addresses for all lab devices.
To connect to any device use:

```bash
# the password is `admin`
ssh admin@<a-lab-device-hostname>
```

Enjoy the lab!
7 changes: 7 additions & 0 deletions labs/techlib-vxlan-domain-b/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ start: ## Deploy ceos lab
.PHONY: stop
stop: ## Destroy ceos lab
sudo containerlab destroy --debug --topo $(CURRENT_DIR)/clab/topology.clab.yml --cleanup

.PHONY: inspect
inspect: ## Inspect ceos lab
@sudo containerlab inspect --topo $(CURRENT_DIR)/clab/topology.clab.yml
@echo ""
@echo "You can check the lab status, hostnames and management addresses above."
@echo "To connect to a lab device use \`ssh admin@<hostname>\` and password \`admin\`."
21 changes: 21 additions & 0 deletions labs/techlib-vxlan-domain-b/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# TechLibrary EVPN Domain-B Lab

This lab is tested for:

cEOS-lab version: 4.32.1F
Codespace Container Size
CPUs: 16
memory: 64 GB
storage: 128 GB

Last reviewed: 25/09/2024

To inspect the lab details use `make inspect` shortcut. This will list the host names and management addresses for all lab devices.
To connect to any device use:

```bash
# the password is `admin`
ssh admin@<a-lab-device-hostname>
```

Enjoy the lab!
7 changes: 7 additions & 0 deletions labs/techlib-vxlan-domain-c/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ start: ## Deploy ceos lab
.PHONY: stop
stop: ## Destroy ceos lab
sudo containerlab destroy --debug --topo $(CURRENT_DIR)/clab/topology.clab.yml --cleanup

.PHONY: inspect
inspect: ## Inspect ceos lab
@sudo containerlab inspect --topo $(CURRENT_DIR)/clab/topology.clab.yml
@echo ""
@echo "You can check the lab status, hostnames and management addresses above."
@echo "To connect to a lab device use \`ssh admin@<hostname>\` and password \`admin\`."
21 changes: 21 additions & 0 deletions labs/techlib-vxlan-domain-c/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# TechLibrary EVPN Domain-C Lab

This lab is tested for:

cEOS-lab version: 4.32.1F
Codespace Container Size
CPUs: 16
memory: 64 GB
storage: 128 GB

Last reviewed: 25/09/2024

To inspect the lab details use `make inspect` shortcut. This will list the host names and management addresses for all lab devices.
To connect to any device use:

```bash
# the password is `admin`
ssh admin@<a-lab-device-hostname>
```

Enjoy the lab!
7 changes: 7 additions & 0 deletions labs/techlib-vxlan-domain-d/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ start: ## Deploy ceos lab
.PHONY: stop
stop: ## Destroy ceos lab
sudo containerlab destroy --debug --topo $(CURRENT_DIR)/clab/topology.clab.yml --cleanup

.PHONY: inspect
inspect: ## Inspect ceos lab
@sudo containerlab inspect --topo $(CURRENT_DIR)/clab/topology.clab.yml
@echo ""
@echo "You can check the lab status, hostnames and management addresses above."
@echo "To connect to a lab device use \`ssh admin@<hostname>\` and password \`admin\`."
21 changes: 21 additions & 0 deletions labs/techlib-vxlan-domain-d/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# TechLibrary EVPN Domain-D Lab

This lab is tested for:

cEOS-lab version: 4.32.1F
Codespace Container Size
CPUs: 16
memory: 64 GB
storage: 128 GB

Last reviewed: 25/09/2024

To inspect the lab details use `make inspect` shortcut. This will list the host names and management addresses for all lab devices.
To connect to any device use:

```bash
# the password is `admin`
ssh admin@<a-lab-device-hostname>
```

Enjoy the lab!
Loading