Loading

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

基础要求

1.Mininet 拓扑生成并连接控制器的结果


2.Mininet中ping测试截图

进阶要求

查找资料,整理和记录ODL控制器主要的REST API文档,包括但不限于ODL提供的文档链接,获取拓扑的交换机、获取流表状态数量、获取特定交换机端口的状态、新增修改和删除流表等

1.获取拓扑交换机

URL:http://127.0.0.1:8181/apidoc/explorer/index.html#!/network-topology(2013-07-12)/GET_network_topology_get_1

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-inventory(2013-08-19)/GET_node_get_1

4.获取特定交换机端口的状态

http://127.0.0.1:8181/apidoc/explorer/index.html#!/opendaylight-port-statistics(2013-12-14)/get_node_connector_statistics_post_0

5.新增修改和删除流表

http://127.0.0.1:8181/apidoc/explorer/index.html#!/opendaylight-inventory(2013-08-19)/GET_table_get_194

个人总结

这次实验主要学习了postman、OpenDaylight的使用,过程比较简单,postman刚开始使用比较陌生,阅读了PDF,和接口文档同时熟悉了它的界面和一些操作逻辑后整体感觉比较简单。在这个过程中也有一些问题:
1)具体操作时,有时会报错,找了半天错,才找到错误原因。
2)postman 执行delete 指令出错,原因是没有流表,无法执行删除会报error。
实验中对mininet 和open daylight操作更加熟悉,对postman的API命令熟悉,结合ODL的API文档对其操作更加熟悉。同时希望在后续实验接触到更多的open daylight+postman操作。

posted @ 2022-10-04 13:51  GIPV  阅读(36)  评论(0)    收藏  举报