问题
I am new to SDN,
Environment- I have 2 VMs(VM Ware) running on my Windows 10(laptop). One is Mininet and another is Opendaylight(in Ubuntu). I made a simple topology through mininet and connected it to the controller and I can see the topology in Opendaylight Controller.
Topology: 3 switches, 4 hosts and 1 controller.Please click here to see topology
Question- I know that through controller we can manage the switches, change the configuration, etc. so exactly we can do that through GUI of the controller?
If anyone can guide me through how to do the following step by step. 1. how to block ping from host 2. how to make VLANs or something.
Thank you in advance.
回答1:
You can use Yang UI to manage the switches in OpenDayLight.
Or you can send PUT requests to ODL; This is an example of a PUT request that install a flow on switch "openflow:3" in table 0 that matches flows with source IP 10.0.0.3, destination IP 10.0.0.9 and VLAN id 1. The action modifies the VLAN tag to 2 and resends it in output trough the same port.
来源:https://stackoverflow.com/questions/60963167/how-to-change-switch-configuration-through-opendaylight-controllergui