实验4:开源控制器实践——OpenDaylight
一、实验目的
能够独立完成OpenDaylight控制器的安装配置;
能够使用Postman工具调用OpenDaylight API接口下发流表。
二、实验环境
Ubuntu 20.04 Desktop amd64
(一)基本要求
1 拓扑
2 生成
3 控制器
4 流表控制
(二)进阶
2 获取交换机信息 http://127.0.0.1:8181/apidoc/explorer/index.html#!/opendaylight-inventory(2013-08-19)/GET_node_get_5
3 获取特定交换机端口的状态 http://127.0.0.1:8181/apidoc/explorer/index.html#!/opendaylight-port-statistics(2013-12-14)/get_node_connector_statistics_post_0
实验总结
在这次实验中一开始没有联通依赖,导致无法在浏览器中打开odl,然后查看第一次ppt后,产生了依赖成功打开odl。在postman中,一开始没有注意到get要改成put,导致产生了error,后来在群
里同学的帮助下找到了原因成功改过来。总体来说还算简单,照着PDF做一般做得出来。