摘要: JSON脚本 hardtimeout.json cd lancl sudo nano hardtimeout.json // ctrl+o // Enter // ctrl+x { "flow": [ { "id": "1", "match": { "in-port": "1", "ethernet 阅读全文
posted @ 2020-10-14 21:33 兰小路 阅读(96) 评论(0) 推荐(0) 编辑
摘要: Python脚本 odlnorth.py cd lancl sudo nano odlnorth.py // ctrl+o // Enter // ctrl+x #!/usr/bin/python import requests from requests.auth import HTTPBasic 阅读全文
posted @ 2020-10-14 21:19 兰小路 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 一、实验准备 1.实验环境 安装了 Ubuntu 18.04.5 Desktop amd64 的虚拟机 2.实验目的 对 Python 调用 OpenDaylight 的 REST API 方法有初步了解。 通过 Python 程序调用 OpenDaylight 的北向接口下发关于硬超时的流表,实现 阅读全文
posted @ 2020-10-14 20:47 兰小路 阅读(276) 评论(0) 推荐(0) 编辑