实验4:开源控制器实践——OpenDaylight
一、基本要求
Mininet生成网络拓扑,并连接OpenDaylight控制器
2. 通过Postman工具调用OpenDaylight提供的API下发流表,实现拓扑内主机h1和h3网络中断10s。
二、进阶要求
1. 文档集合
url="http://127.0.0.1:8181/apidoc/explorer/index.html#!/network-topology(2013-07-12)"
2.获取拓扑中的交换机
url="http://127.0.0.1:8181/apidoc/explorer/index.html#!/network-topology(2013-07-12)/GET_network_topology_get_171"
3.获取特定交换机端口的状态
URL= "http://127.0.0.1:8181/apidoc/explorer/index.html#!/opendaylight-port-statistics(2013-12-14)/get_node_connector_statistics_post_0"
4. 获取拓扑中特定的交换机的信息
url="http://127.0.0.1:8181/apidoc/explorer/index.html#!/opendaylight-inventory(2013-08-19)/GET_node_get_5"
5.新增修改和删除流表
url="http://127.0.0.1:8181/apidoc/explorer/index.html#!/opendaylight-inventory(2013-08-19)/GET_flow_get_215"
个人总结
1.本次实验比较简单,按照ppt流程的话可以很快完成。
2.这次实验花费比较多的时间是在post测试api上,因为没有先看ppt的注意事项,在各个操作的先后顺序没有严格按照ppt,导致终端并没有停止10s,需要先h1 ping h3 再在POSTMAN上put才可以完成。
3.本次实验中初步了解了odl和postman的用法,对odl和postman的用法和用途有了初步的认识。