Task 1: Preparation
You can find the starter files in the directory: switchyard/examples/exercises/applayer. Let's start with it.
- Create a directory named
lab_6inswitchyard. - Copy
examples/exercises/applayer/start_mininet.pytolab_6/start_mininet.py. - Copy
examples/exercises/applayer/middlebox.pytolab_6/middlebox.py. - Copy
examples/exercises/applayer/blastee.pytolab_6/blastee.py. - Copy
examples/exercises/applayer/blaster.pytolab_6/blaster.py.
The example parameter files are available to make sure that we are on the same page on their format.
Finally, your project will look like
switchyard
├─docs/
├─.../
+ ├─lab_6/
+ │ ├─123456789拾佰仟_lab_6.pdf
+ │ ├─middlebox.py
+ │ ├─middlebox_params.txt
+ │ ├─blastee.py
+ │ ├─blastee_params.txt
+ │ ├─blaster.py
+ │ ├─blaster_params.txt
│ ├─...
+ │ └─start_mininet.py
├─.gitignore
└─...
[!WARNING] All of your modifications should be done on the files under your directory
lab_6. We will check and compare the git commits to judge the originality of your work. So remember to commit every time you complete one small task.