commit | 2a65575cf89829aca8dc4684dcf3669d630366a0 | [log] [tgz] |
---|---|---|
author | Jonathan Hart <jono@onlab.us> | Tue Apr 07 16:46:33 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Mon Jun 29 16:31:11 2015 +0000 |
tree | ec89e0607a078d1a5e02b645dbae4d77bd2e3076 | |
parent | 08e457ab8ba31e4f91f936d28ce0fa8b91ce94ef [diff] |
Improve the resiliency of the packet deserialization code. Packet deserializers now check for malformed input while reading the byte stream. Deserializers are re-implemented as functions that take a byte array and return a packet object. The old IPacket.deserialize(...) methods have been deprecated with the goal of eventually moving to immutable packet objects. Unit tests have been implemented for all Deserializer functions. ONOS-1589 Change-Id: I9073d5e6e7991e15d43830cfd810989256b71c56
ONOS is a new SDN network operating system designed for high availability, performance, scale-out.