Update Lab01 authored by Katharina Renk's avatar Katharina Renk
......@@ -11,10 +11,9 @@ Go to the directory of gosdn and use following command:
make containerlab-slim-start
```
## Download the folder below and place it into the artifacts folder of your gosdn folder
[Lab01.zip](uploads/fec39fba70b95b84b938681770e741ed/Lab01.zip) or get it with wget if you are using Linux:
## Download the folder below and place it into the artifacts folder of your gosdn folder [Lab01.zip](uploads/7cd972bedd7c3d29f83707907f8c42ae/Lab01.zip) or get it with wget if you are using Linux:
```bash
wget https://code.fbi.h-da.de/danet/gosdn/-/wikis/uploads/683532ccf41516acd10269af672c2cf3/Lab01.zip
wget https://code.fbi.h-da.de/danet/gosdn/-/wikis/uploads/7cd972bedd7c3d29f83707907f8c42ae/Lab01.zip
```
## Open a new terminal and start the CLI to talk to the controller (Do not close the previous terminal)
......@@ -77,30 +76,30 @@ In here, the UUID is also visible which we need for the next step:![Lab00_mne_li
#### Modify interface eth1
```bash
mne path set <UUID of Switch0> interfaces/interface[name=eth1] --file <path to Lab01>/switch0/s0-eth1.json --force-push
mne path set <UUID of Switch0> interfaces/interface[name=eth1] --file <path to Lab01>/s0-eth1.json --force-push
```
#### Modify interface eth2
```bash
mne path set <UUID of Switch0> interfaces/interface[name=eth2] --file <path to Lab01>/switch0/s0-eth2.json --force-push
mne path set <UUID of Switch0> interfaces/interface[name=eth2] --file <path to Lab01>/s0-eth2.json --force-push
```
#### Insert the routes
```bash
mne path set <UUID of Switch0> network-instances/network-instance[name=default]/protocols --file <path to Lab01>/switch0/s0-route.json --force-push
mne path set <UUID of Switch0> network-instances/network-instance[name=default]/protocols --file <path to Lab01>/s0-route.json --force-push
```
### Switch 1
### Modify interface eth1
```bash
mne path set <UUID of Switch1> interfaces/interface[name=eth1] --file <path to Lab01>/switch1/s1-eth1.json --force-push
mne path set <UUID of Switch1> interfaces/interface[name=eth1] --file <path to Lab01>/s1-eth1.json --force-push
```
### Modify interface eth2
```bash
mne path set <UUID of Switch1> interfaces/interface[name=eth2] --file <path to Lab01>/switch1/s1-eth2.json --force-push
mne path set <UUID of Switch1> interfaces/interface[name=eth2] --file <path to Lab01>/s1-eth2.json --force-push
```
### Insert the routes
```bash
mne path set <UUID of Switch1> network-instances/network-instance[name=default]/protocols --file <path to Lab01>/switch1/s1-route.json --force-push
mne path set <UUID of Switch1> network-instances/network-instance[name=default]/protocols --file <path to Lab01>/s1-route.json --force-push
```
## CLI and the controller
......
......