实验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,从其中的文档中查看自己想要的信息。
浙公网安备 33010602011771号