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

一、实验目的

  • 能够独立完成OpenDaylight控制器的安装配置;
  • 能够使用Postman工具调用OpenDaylight API接口下发流表。

二、实验环境

  • Ubuntu 20.04 Desktop amd64

三、实验要求

(1)基础要求

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

2.Mininet中ping测试截图

(2)进阶要求

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

1.获取拓扑的交换机

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-port-statistics(2013-12-14)/get_node_connector_statistics_post_0

4.新增修改和删除流表

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


posted @ 2022-10-03 20:40  刘宇旗  阅读(26)  评论(0编辑  收藏  举报