Commit f3d6ba96 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

DataPlane-in-a-box:

- Corrected TFS descriptors
- Corrected scripts
- Corrected containerlab descriptor
- Corrected README.md
parent 578c898f
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@ source dataplane-in-a-box/deploy_specs.sh

## Download and install ContainerLab
```bash
sudo bash -c "$(curl -sL https://get.containerlab.dev)" -- -v 0.48.4
sudo bash -c "$(curl -sL https://get.containerlab.dev)" -- -v 0.48.6
```

## Download Arista cEOS image and create Docker image
@@ -46,13 +46,13 @@ sudo rm -rf clab-arista/ .arista.clab.yml.bak

## Access cEOS Bash
```bash
docker exec -it clab-arista-wan1 bash
docker exec -it clab-arista-r1 bash
```

## Access cEOS CLI
```bash
docker exec -it clab-arista-wan1 Cli
docker exec -it clab-arista-wan2 Cli
docker exec -it clab-arista-r1 Cli
docker exec -it clab-arista-r2 Cli
```

## Configure ContainerLab clients
+9 −15
Original line number Diff line number Diff line
@@ -31,37 +31,31 @@ topology:
      image: ghcr.io/hellt/network-multitool:latest

  nodes:
    wan1:
    r1:
      kind: arista_ceos
      mgmt-ipv4: 172.20.20.101
      ports: [6001:6030]

    wan2:
    r2:
      kind: arista_ceos
      mgmt-ipv4: 172.20.20.102
      ports: [6002:6030]

    dc1:
      kind: linux
      mgmt-ipv4: 172.20.20.201
      ports: [2201:22]
      mgmt-ipv4: 172.20.20.211
      exec:
        - ip link set address 00:c1:ab:00:00:01 dev eth1
        - ip link set address 00:c1:ab:00:01: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]
      mgmt-ipv4: 172.20.20.221
      exec:
        - ip link set address 00:c1:ab:00:00:02 dev eth1
        - ip link set address 00:c1:ab:00:02:01 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: ["wan1:eth2", "wan2:eth2"]
    - endpoints: ["wan1:eth3", "wan2:eth3"]
    - endpoints: ["wan1:eth10", "dc1:eth1"]
    - endpoints: ["wan2:eth10", "dc2:eth1"]
    - endpoints: ["r1:eth1", "r2:eth1"]
    - endpoints: ["r1:eth10", "dc1:eth1"]
    - endpoints: ["r2:eth10", "dc2:eth1"]
+3 −0
Original line number Diff line number Diff line
#!/bin/bash

docker exec -it clab-arista-r1 Cli
+3 −0
Original line number Diff line number Diff line
#!/bin/bash

docker exec -it clab-arista-r2 Cli
+0 −3
Original line number Diff line number Diff line
#!/bin/bash

docker exec -it clab-arista-wan1 Cli
Loading