Loading dataplane-in-a-box/README.md +6 Changes for dataplane-in-a-box/README.md: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -19,6 +19,12 @@ source dataplane-in-a-box/deploy_specs.sh sudo bash -c "$(curl -sL https://get.containerlab.dev)" -- -v 0.48.4 ``` ## Download Arista cEOS image and create Docker image ```bash cd ~/tfs-ctrl/dataplane-in-a-box docker import arista/cEOS64-lab-4.31.2F.tar ceos:4.31.2F ``` ## Deploy scenario ```bash cd ~/tfs-ctrl/dataplane-in-a-box Loading dataplane-in-a-box/arista.clab.yml +21 −5 Changes for dataplane-in-a-box/arista.clab.yml: 21 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -35,21 +35,37 @@ topology: kind: arista_ceos mgmt-ipv4: 172.20.20.101 ports: [6001:6030] wan2: kind: arista_ceos mgmt-ipv4: 172.20.20.102 ports: [6002:6030] client1: wan3: kind: arista_ceos mgmt-ipv4: 172.20.20.103 ports: [6003:6030] dc1: kind: linux mgmt-ipv4: 172.20.20.201 ports: [2201:22] client2: exec: - ip link set address 00:c1:ab:00:00:01 dev eth1 - ip address add 192.168.1.10/24 dev eth1 - ip route add 192.168.2.0/24 via 192.168.1.1 dc2: kind: linux mgmt-ipv4: 172.20.20.202 ports: [2202:22] exec: - ip link set address 00:c1:ab:00:00:02 dev eth1 - ip address add 192.168.2.10/24 dev eth1 - ip route add 192.168.1.0/24 via 192.168.2.1 links: - endpoints: ["wan1:eth1", "wan2:eth1"] - endpoints: ["client1:eth1", "wan1:eth10"] - endpoints: ["client2:eth1", "wan2:eth10"] - endpoints: ["wan1:eth2", "wan2:eth1"] - endpoints: ["wan2:eth3", "wan3:eth2"] - endpoints: ["wan1:eth10", "dc1:eth1"] - endpoints: ["wan3:eth10", "dc2:eth1"] dataplane-in-a-box/clab-cli-dc1.sh +x+3 Changes for dataplane-in-a-box/clab-cli-dc1.sh: 3 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash docker exec -it clab-arista-dc1 bash dataplane-in-a-box/clab-cli-dc2.sh +x+3 Changes for dataplane-in-a-box/clab-cli-dc2.sh: 3 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash docker exec -it clab-arista-dc2 bash dataplane-in-a-box/ceos-cli-wan1.sh→dataplane-in-a-box/clab-cli-wan1.sh File moved. View file Loading
dataplane-in-a-box/README.md +6 Changes for dataplane-in-a-box/README.md: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -19,6 +19,12 @@ source dataplane-in-a-box/deploy_specs.sh sudo bash -c "$(curl -sL https://get.containerlab.dev)" -- -v 0.48.4 ``` ## Download Arista cEOS image and create Docker image ```bash cd ~/tfs-ctrl/dataplane-in-a-box docker import arista/cEOS64-lab-4.31.2F.tar ceos:4.31.2F ``` ## Deploy scenario ```bash cd ~/tfs-ctrl/dataplane-in-a-box Loading
dataplane-in-a-box/arista.clab.yml +21 −5 Changes for dataplane-in-a-box/arista.clab.yml: 21 added lines, 5 removed lines. Original line number Diff line number Diff line Loading @@ -35,21 +35,37 @@ topology: kind: arista_ceos mgmt-ipv4: 172.20.20.101 ports: [6001:6030] wan2: kind: arista_ceos mgmt-ipv4: 172.20.20.102 ports: [6002:6030] client1: wan3: kind: arista_ceos mgmt-ipv4: 172.20.20.103 ports: [6003:6030] dc1: kind: linux mgmt-ipv4: 172.20.20.201 ports: [2201:22] client2: exec: - ip link set address 00:c1:ab:00:00:01 dev eth1 - ip address add 192.168.1.10/24 dev eth1 - ip route add 192.168.2.0/24 via 192.168.1.1 dc2: kind: linux mgmt-ipv4: 172.20.20.202 ports: [2202:22] exec: - ip link set address 00:c1:ab:00:00:02 dev eth1 - ip address add 192.168.2.10/24 dev eth1 - ip route add 192.168.1.0/24 via 192.168.2.1 links: - endpoints: ["wan1:eth1", "wan2:eth1"] - endpoints: ["client1:eth1", "wan1:eth10"] - endpoints: ["client2:eth1", "wan2:eth10"] - endpoints: ["wan1:eth2", "wan2:eth1"] - endpoints: ["wan2:eth3", "wan3:eth2"] - endpoints: ["wan1:eth10", "dc1:eth1"] - endpoints: ["wan3:eth10", "dc2:eth1"]
dataplane-in-a-box/clab-cli-dc1.sh +x+3 Changes for dataplane-in-a-box/clab-cli-dc1.sh: 3 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash docker exec -it clab-arista-dc1 bash
dataplane-in-a-box/clab-cli-dc2.sh +x+3 Changes for dataplane-in-a-box/clab-cli-dc2.sh: 3 added lines, 0 removed lines. Original line number Diff line number Diff line #!/bin/bash docker exec -it clab-arista-dc2 bash