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

一、基本要求

1.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.获取拓扑中的交换机

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

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

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_204"

三、个人总结

本次实验难度一般,按照ppt流程可以完成本次实验,一开始因为没有按照实验顺序导致花费较多时间。通过本次实验中初步了解了odl和postman的用法。

posted @ 2022-10-03 16:17  xcua  阅读(33)  评论(0编辑  收藏  举报