Skip to content
Open
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
1 change: 1 addition & 0 deletions deploy/containerlab/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,7 @@ task deploy
| `verify:traffic-policy` | Every binding installed; each path forwards what it grants and drops, and counts, what it does not |
| `verify:masque-service` | Run the shipped MASQUE service and grant authority against dfw's gVPC workloads (about 20 min; restarts dfw-worker2; not in `verify`) |
| `verify:masque-listener` | Reach the shipped MASQUE service through dfw's public listener from remote-host (needs gateway local delivery; not in `verify`) |
| `verify:listener-failover` | Prove the public listener's failover with two MASQUE instances on dfw (takes a dfw edge node off the fabric; not in `verify`) |
| `deploy:looking-glass` | Enable the Looking Glass service on dfw in the documented order (restarts dfw's FRR twice); issue its test certificates |
| `verify:looking-glass` | Qualify the Looking Glass service on dfw with the independent client, with faults (about 45 min; not in `verify`) |
| `undeploy:looking-glass` | Switch the Looking Glass service off on dfw and roll its enabling steps back (restarts dfw's FRR twice) |
Expand Down
18 changes: 18 additions & 0 deletions deploy/containerlab/Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1374,6 +1374,24 @@ tasks:
cmds:
- EDGE_CONFORMANCE_KUBECONFIG={{.ROOT_DIR}}/dfw.kubeconfig LAB={{.LAB}} go test -count=1 -v -timeout 40m -run '^TestMASQUEPublicListener$' ./tests/edgeconformance/

# Not part of verify: Phase 4's failover proof of
# docs/designs/edge-public-listener.md (#1511). It serves the MASQUE
# service through dfw's public listener as verify:masque-listener does, but
# from two instances, one on each dfw edge node, and checks from remote-host
# that new connections leave an instance that goes unready, that a draining
# one serves until its deadline, that one cut off from the API leaves
# within 15.5 s of its last lease renewal, that every gateway withdraws the
# listener with no instance left, and that the client keeps its instance
# when the gateway it entered through loses its links. It takes one dfw
# edge node off the fabric and restores it, as verify:gateway-node-loss
# does. Same prerequisites as verify:masque-listener. Results land in
# bin/edge-conformance/.
"verify:listener-failover":
desc: Prove the public listener's failover with two MASQUE instances on dfw
dir: ../..
cmds:
- EDGE_CONFORMANCE_KUBECONFIG={{.ROOT_DIR}}/dfw.kubeconfig LAB={{.LAB}} go test -count=1 -v -timeout 60m -run '^TestListenerFailover$' ./tests/edgeconformance/

"verify:ns10":
desc: Verify ns10 ping (IPv6-only, 3-site mesh)
cmds:
Expand Down
3 changes: 3 additions & 0 deletions deploy/containerlab/scripts/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,11 @@ copy_to() {
# (see deploy-cni.sh and deploy-galactic-router.sh): they're copied into a base/
# subdirectory nested under the consuming kustomization's own root, since
# kubectl apply -k refuses to load resource files from outside that root.
#
# rm -rf first: docker cp nests SRC inside an existing DEST.
copy_config() {
local node="$1"
docker exec "${node}" rm -rf /galactic/config
docker cp "${CONFIG_DIR}" "${node}:/galactic/config"
}

Expand Down
Loading
Loading