简体   繁体   English

如何通过 Opendaylight 控制器 (GUI) 更改交换机配置

[英]How to Change Switch Configuration through Opendaylight controller(GUI)

I am new to SDN,我是 SDN 的新手,

Environment- I have 2 VMs(VM Ware) running on my Windows 10(laptop).环境 - 我有 2 个 VM(VM Ware)在我的 Windows 10(笔记本电脑)上运行。 One is Mininet and another is Opendaylight(in Ubuntu).一个是 Mininet,另一个是 Opendaylight(在 Ubuntu 中)。 I made a simple topology through mininet and connected it to the controller and I can see the topology in Opendaylight Controller.我通过mininet做了一个简单的拓扑并将其连接到控制器,我可以在Opendaylight Controller中看到拓扑。

Topology: 3 switches, 4 hosts and 1 controller.拓扑:3 台交换机、4 台主机和 1 个控制器。 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?问题 - 我知道通过控制器我们可以管理交换机、更改配置等,所以我们可以通过控制器的 GUI 来做到这一点吗?

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. 1. 如何阻止来自主机的 ping 2. 如何制作 VLAN 之类的。

Thank you in advance.先感谢您。

You can use Yang UI to manage the switches in OpenDayLight.您可以使用Yang UI来管理 OpenDayLight 中的开关。

Or you can send PUT requests to ODL;或者你可以向ODL发送PUT请求; 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. 是一个 PUT 请求示例,该请求在表 0 中的交换机“openflow:3”上安装流,该流与源 IP 10.0.0.3、目标 IP 10.0.0.9 和 VLAN id 1 匹配。该操作将 VLAN 标记修改为 2并通过同一端口在输出中重新发送。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM