摘要: 一、实验目的 1.能够编写程序调用OpenDaylight REST API实现特定网络功能; 2.能够编写程序调用Ryu REST API实现特定网络功能。 二、实验环境 1.下载虚拟机软件Oracle VisualBox或VMware; 2.在虚拟机中安装Ubuntu 20.04 Desktop 阅读全文
posted @ 2021-10-27 16:57 synthesis 阅读(25) 评论(0) 推荐(0) 编辑
摘要: `import requests from requests.auth import HTTPBasicAuth if name == "main": url = 'http://127.0.0.1:8181/restconf/config/opendaylight-inventory:nodes/ 阅读全文
posted @ 2021-10-27 16:40 synthesis 阅读(47) 评论(0) 推荐(0) 编辑