commit | bee92f62f702bc9e00e9d4c19d5439af6bb6bc27 | [log] [tgz] |
---|---|---|
author | Harold Huang <baymaxhuang@gmail.com> | Wed Jun 07 22:39:37 2017 +0800 |
committer | Yoonseon Han <yoonseon@onlab.us> | Thu Jun 15 15:17:40 2017 +0000 |
tree | e737057baa072724732cd365c63108a3edf403db | |
parent | 10b69e8d673c34ce5f339cf62c7df582d74aeb90 [diff] |
[ONOS-6616] Revise VirtualPacketContext and DefaultVirtualPacketProvider The constructor of VirtualPacketContext needs a parameter of DefaultVirtualPacketProvider type. It is not flexible for us to use another packet provider to replace the default virtual packet provider. To improve the code flexibility, I think it is better for us to use an interface type parameter in a method. It alse seems redundant to use emit() method of DefaultVirtualPacketProvider in devirtualizeContext(). Thus, I think it will be more efficient to use core PacketService in VirtualPacketContext when triger send() method. Some other bugs are fixed. Change-Id: I161a8929dc4e5a1d2ad716bc5da8b0b6f84340a9
ONOS is a new SDN network operating system designed for high availability, performance, scale-out.