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

Dataplane-in-a-box:

- Updated ContainerLab scenario
- Updated TFS descriptors
- Updated scripts
- Updated README.md
parent 0b89701b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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
+21 −5
Original line number Diff line number Diff line
@@ -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"]
+3 −0
Original line number Diff line number Diff line
#!/bin/bash

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

docker exec -it clab-arista-dc2 bash
Loading