python-openflow icon indicating copy to clipboard operation
python-openflow copied to clipboard

GenericMessage.unpack should unpack the whole struct, not only its body

Open erickvermot opened this issue 7 years ago • 1 comments

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.

erickvermot avatar Jul 13 '17 21:07 erickvermot