Start Model Driven Telemetry Lab.
Login into the devbox VM inside this lab and clone the gnmic-bin repo to have the gnmic binary available inside the lab:
git clone https://github.com/hellt/gnmic-bin.git
mv gnmic-bin/gnmic ~/gnmic
| FROM ubuntu:20.04 | |
| RUN apt update && apt -y install \ | |
| apt-transport-https \ | |
| ca-certificates \ | |
| curl \ | |
| gnupg \ | |
| lsb-release && \ | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg && \ | |
| echo \ | |
| "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \ |
| -----BEGIN OPENSSH PRIVATE KEY----- | |
| b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAABlwAAAAdzc2gtcn | |
| NhAAAAAwEAAQAAAYEA1BQO2Mi1gavtp+ghIyN+vm7yh/2mFt0aNiuwDP3ThB1IN6LLPVxV | |
| nwGDQMw8+8UVYxZZlmdDibk85ECh8uEFQLT7gvw4ZkOxlTuHN0ET7Td2NBi+1HhihOPN3+ | |
| M/T1IxZs4gJ9Nh8CeCz/5XgUkao4Kg4LCn+yV51Yie7B1xFg9PCm1gsbNa/9+vtXOyoCpk | |
| kzhnT8nLYRucIF36pOb80iEyBhQJfPFjpat4EkhssQy1U77xXcHui+9uN1DTTcAs056Yb/ | |
| GpQNhdvy/AwBRxvaZPR1fjXkRwEZZgE0DNUWriBM26yBCs0UGhBr2VrBCVtDPOEOfAmavF | |
| b4grfMRRvaigPMWXtnFUc8M8fn8fUFiYxZwvNi7/0tbjeGZpx2FDPcLzGHCSf0mj5vApwk | |
| HASsf3cxazjXlG8pB+AN5JbjhwWBa/kFKuZO2w2DmvCrv8Um4UOQ2M48c+PnIFvyOJRw87 | |
| 9GhJL1WFgPXHccCBDbZpfKaPT8uF5uZz4R31nvlhAAAFiOqV2sDqldrAAAAAB3NzaC1yc2 |
| #!/bin/bash | |
| set -e | |
| sudo yum -y remove docker \ | |
| docker-client \ | |
| docker-client-latest \ | |
| docker-common \ | |
| docker-latest \ | |
| docker-latest-logrotate \ |
| project_name: containerlab | |
| release: | |
| github: | |
| owner: srl-wim | |
| name: container-lab | |
| name_template: '{{.Tag}}' | |
| milestones: | |
| - repo: | |
| owner: srl-wim | |
| name: container-lab |
| ❯ make | |
| ../makefile-install.include:32: warning: overriding recipe for target `docker-pre-build' | |
| ../makefile.include:18: warning: ignoring old recipe for target `docker-pre-build' | |
| Makefile:22: warning: overriding recipe for target `docker-build-image-copy' | |
| ../makefile.include:21: warning: ignoring old recipe for target `docker-build-image-copy' | |
| for IMAGE in vmx-bundle-20.2R1.10.tgz; do \ | |
| echo "Making $IMAGE"; \ | |
| make IMAGE=$IMAGE docker-build; \ | |
| done | |
| Making vmx-bundle-20.2R1.10.tgz |
| [edit] | |
| root@crpd# show | |
| ## Last changed: 2021-01-13 10:28:09 UTC | |
| version 20200609.165031.6_builder.r1115480; | |
| system { | |
| root-authentication { | |
| encrypted-password "$6$lB5c6$Zeud8c6IhCTE6hnZxXBl3ZMZTC2hOx9pxxYUWTHKW1oC32SATWLMH2EXarxWS5k685qMggUfFur1lq.o4p4cg1"; ## SECRET-DATA | |
| } | |
| } | |
| interfaces { |
| curl -L -I -s -o /dev/null -w %{url_effective} https://github.com/openfaas/faas/releases/latest | cut -d "/" -f 8 | |
| 0.20.4 |
| Jan 11 16:41:18.932376 Received OSPF packet of type and wire_length 1, 60 | |
| Jan 11 16:41:18.932378 OSPF rcvd Hello 192.168.0.2 -> 224.0.0.5 (eth1 IFL 5770 area 0.0.0.0) | |
| Jan 11 16:41:18.932382 Version 2, length 48, ID 2.2.2.2, area 0.0.0.0 | |
| Jan 11 16:41:18.932392 checksum 0x0, authtype 0 | |
| Jan 11 16:41:18.932394 mask 255.255.255.0, hello_ivl 10, opts 0x12, prio 128 | |
| Jan 11 16:41:18.932400 dead_ivl 40, DR 0.0.0.0, BDR 0.0.0.0 | |
| Jan 11 16:41:18.932401 neighbor 1.1.1.1 | |
| Jan 11 16:41:18.932405 OSPF restart signaling: Received hello with LLS data from nbr ip=192.168.0.2 id=2.2.2.2. | |
| Jan 11 16:41:18.932408 OSPF packet ignored: our router ID received from 192.168.0.2 on intf eth1 area 0.0.0.0 | |
| Jan 11 16:41:27.641822 task_process_events_internal: recv ready for OSPF I/O./var/run/ppmd_control |
| #!/bin/bash | |
| ##### | |
| # | |
| # This bash script installs latest docker-ce, kubectl and helm software on Ubuntu 20.4 Linux AMD64 | |
| # | |
| ##### | |
| TMP_DIR="$(mktemp -d)" | |
| ######################## |
Start Model Driven Telemetry Lab.
Login into the devbox VM inside this lab and clone the gnmic-bin repo to have the gnmic binary available inside the lab:
git clone https://github.com/hellt/gnmic-bin.git
mv gnmic-bin/gnmic ~/gnmic