SUSTech-HPCLab / CS305-2023Spring-Project

GNU General Public License v3.0
10 stars 5 forks source link

What means port_modify? #6

Open ZackyYoung opened 1 year ago

ZackyYoung commented 1 year ago

What means switch ports change states? How many states are there, and what changes they correspond to the graph?

EricLee543 commented 1 year ago

Currently, our test cases do not cover scenarios related to port modification. However, the project documentation encourages you to implement a complex test case to validate robustness. You can write a function to handle port modification. The port can have states of "up" and "down." If you want to trigger this event, you can enter the following command in the Mininet CLI: sh ovs-ofctl mod-port s1 1 down. This command will disable port 1 of the s1 switch.