How to Change Switch Configuration through Opendaylight controller(GUI)

三世轮回 提交于 2021-02-10 14:48:21

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!