Optimization Method for Port Forwarding Instructions in Network Programming Environment Based on ONOS
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.
software defined networkSDN controllernetwork programmingprotocol-oblivious forwarding(POF)instructions