霜星

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

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

基本要求(一)

一是Mininet拓扑生成并连接控制器的结果

二是Mininet中ping测试截图

进阶要求(二)

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

ODL提供的文档链接(Rest API文档)127.0.0.1:8181/apidoc/explorer/index.html
获取拓扑的交换机
127.0.0.1:8181/apidoc/explorer/index.html#!/network-topology(2013-07-12)/GET_network_topology_get_1

获取流表状态数量
http://127.0.0.1:8181/apidoc/explorer/index.html#!/opendaylight-inventory(2013-08-19)/GET_flow_statistics_get_265

获取特定交换机端口的状态
http://127.0.0.1:8181/apidoc/explorer/index.html#!/opendaylight-port-statistics(2013-12-14)/get_node_connector_statistics_post_0

新增修改和删除流表
127.0.0.1:8181/apidoc/explorer/index.html#!/opendaylight-inventory(2013-08-19)/GET_flow_get_215

组表的查看
127.0.0.1:8181/apidoc/explorer/index.html#!/opendaylight-inventory(2013-08-19)/GET_group_get_141

链路

个人总结(三)

       这次难度适中,找postman界面跟opendaylight联系有点麻烦,下次再接再厉

posted on 2022-10-13 00:40  霜星  阅读(58)  评论(0)    收藏  举报