网络新媒体技术2024,Vol.13Issue(6) :38-47,56.DOI:10.20064/j.cnki.2095-347X.2024.06.005

基于ONOS的网络编程环境端口转发指令优化方法

Optimization Method for Port Forwarding Instructions in Network Programming Environment Based on ONOS

柳羽佳 王雨薇 朱晓东 曾学文
网络新媒体技术2024,Vol.13Issue(6) :38-47,56.DOI:10.20064/j.cnki.2095-347X.2024.06.005

基于ONOS的网络编程环境端口转发指令优化方法

Optimization Method for Port Forwarding Instructions in Network Programming Environment Based on ONOS

柳羽佳 1王雨薇 2朱晓东 2曾学文1
扫码查看

作者信息

  • 1. 中国科学院声学研究所 国家网络新媒体工程技术研究中心 北京 100190;中国科学院大学 北京 100049
  • 2. 中国科学院声学研究所 国家网络新媒体工程技术研究中心 北京 100190
  • 折叠

摘要

软件定义网络SDN开放了网络的可编程能力,SDN编程环境在控制面的基础上提供进一步的编程抽象,简化用户编程过程,屏蔽底层通信协议的复杂性.但现有编程环境在协议支持、编程抽象和指令处理效率方面仍有不足.本文在通用开源控制器平台ONOS上实现了一种以POF协议为南向协议的编程环境,在编译器中,将中间结构转换为POF消息时进行优化,采用预先加载指令同时将转发动作写入流元数据的方式,减少对交换机空间的无效占用,提高交换机资源的利用效率.实验表明,本文实现的编程环境可正确地将用户策略的逻辑转换为POF消息,有效地控制交换机的转发行为,显著节省指令所占用的交换机内存资源.

Abstract

SDN has opened up the programmable capabilities of networks.SDN programming environments provide further programming abstractions based on the control plane,simplifying the user's programming process and shielding the complexity of underlying commu-nication protocols.However,existing programming environments still have shortcomings in terms of protocol support,programming ab-straction,and instruction processing efficiency.In this paper,we have implemented a programming environment with the POF protocol as the southbound protocol on the universal open-source controller platform ONOS.We have optimized the process by preloading in-structions and writing forwarding actions into flow metadata when the compiler converts intermediate structures into POF messages.This reduces the unnecessary occupation of switch space and improves the utilization efficiency of switch resources.Experiments show that the programming environment implemented in this paper can correctly convert the logic of user policies into POF messages,effectively control the forwarding behavior of the switch,and significantly save the memory resources occupied by instructions on the switch.

关键词

软件定义网络/SDN控制器/网络编程/协议无关转发/指令

Key words

software defined network/SDN controller/network programming/protocol-oblivious forwarding(POF)/instructions

引用本文复制引用

出版年

2024
网络新媒体技术
中国科学院声学研究所

网络新媒体技术

CSTPCD
影响因子:0.208
ISSN:2095-347X
段落导航相关论文