When a packet_in message results from a packet_out message
there is no particular relationship between the buffer_ids of
the two messages.

I noticed this when using Open vSwitch's "make ryu-check".

YAMAMOTO Takashi <[email protected]>
Signed-off-by: Simon Horman <[email protected]>

---

Thanks to Yamamoto-san to suggesting a simple solution to this problem.

With this patch in place all test_request_reply_v12.py tests now
pass when run against Open vSwitch's master branch.

The current head of Open vSwitch's master branch is:
bbbca389c002f740 ("ofproto-dpif-xlate: Identify STP BPDUs more specifically.")
---
 ryu/tests/integrated/test_request_reply_v12.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/ryu/tests/integrated/test_request_reply_v12.py 
b/ryu/tests/integrated/test_request_reply_v12.py
index b60a2ba..ab99929 100644
--- a/ryu/tests/integrated/test_request_reply_v12.py
+++ b/ryu/tests/integrated/test_request_reply_v12.py
@@ -924,7 +924,6 @@ class RunTest(tester.TestFlowBase):
         if output is None:
             output = dp.ofproto.OFPP_CONTROLLER
 
-        self._verify['buffer_id'] = buffer_id
         self._verify['in_port'] = in_port
         self._verify['data'] = data
 
-- 
1.8.5.2


------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to