实验4:开源控制器实践——OpenDaylight

(一)基本要求
利用Mininet平台搭建下图所示网络拓扑,并连接OpenDaylight控制器;通过Postman工具调用OpenDaylight提供的API下发流表,实现拓扑内主机h1和h3网络中断10s。

(二)进阶要求
ODL提供的文档链接 http://127.0.0.1:8181/apidoc/explorer/index.html

获取拓扑的交换机信息 http://127.0.0.1:8181/apidoc/explorer/index.html#!/opendaylight-inventory(2013-08-19)

获取流表状态数量
http://127.0.0.1:8181/apidoc/explorer/index.html#!/opendaylight-flow-table-statistics(2013-12-15)

获取特定交换机端口的状态 http://127.0.0.1:8181/apidoc/explorer/index.html#!/opendaylight-port-statistics(2013-12-14)

新增修改和删除流表 http://127.0.0.1:8181/apidoc/explorer/index.html#!/opendaylight-inventory(2013-08-19)

(三)实验总结
这次实验总体不难,通过Postman工具调用OpenDaylight提供的API下发流表,实现拓扑内主机h1和h3网络中断10s中要注意的是,先让h1 ping h3,在ping的过程中send,才能间断网络。进阶要求主要是通过访问http://127.0.0.1:8181/apidoc/explorer/index.html,从其中的文档中查看自己想要的信息。

posted @   3178  阅读(17)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 使用C#创建一个MCP客户端
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列1:轻松3步本地部署deepseek,普通电脑可用
· 按钮权限的设计及实现
点击右上角即可分享
微信分享提示