python-openflow
python-openflow copied to clipboard
GenericMessage.unpack should unpack the whole struct, not only its body
All the GenericStruct unpacks the whole struct. Making GenericMessage only unpack the body makes one structure 'protocol' different from the other, for no reason...
PacketIn.unpack() method should be able to unpack the whole message for ex.
I have this ready, and I can make a PR as soon as the changes I've introduced in recent PRs are accepted.