commit | ea8c472f36be65f3a8f2d9a3f76c231e12524780 | [log] [tgz] |
---|---|---|
author | Rich Lane <rlane@bigswitch.com> | Thu Apr 04 15:30:20 2013 -0700 |
committer | Rich Lane <rlane@bigswitch.com> | Thu Apr 04 15:30:20 2013 -0700 |
tree | d5086d9c905b3d20e047c482eed3f571756e3730 | |
parent | ff637c9fc8949913789b930a70ad7ec8bcc4bbff [diff] [blame] |
explictly set buffer_id for packet-out messages The old pylibopenflow library did this by default, but PyLoxi initializes that field to zero.
diff --git a/src/python/oftest/testutils.py b/src/python/oftest/testutils.py index 980099f..5c3f6f3 100644 --- a/src/python/oftest/testutils.py +++ b/src/python/oftest/testutils.py
@@ -673,6 +673,7 @@ msg = ofp.message.packet_out() msg.in_port = ing_port + msg.buffer_id = 0xffffffff msg.data = str(pkt) if action_list is not None: for act in action_list: