If the OpenFlow packet has invalid version,
it is doubtful whether the packet itself is valid or not.
So this commit removes the test for the packet.

Signed-off-by: Satoshi Fujimoto <satoshi.fujimo...@gmail.com>
---
 ryu/tests/packet_data/pcap/openflow_invalid_version.pcap | Bin 186 -> 0 bytes
 ryu/tests/unit/packet/test_openflow.py                   |   1 -
 2 files changed, 1 deletion(-)
 delete mode 100644 ryu/tests/packet_data/pcap/openflow_invalid_version.pcap

diff --git a/ryu/tests/packet_data/pcap/openflow_invalid_version.pcap 
b/ryu/tests/packet_data/pcap/openflow_invalid_version.pcap
deleted file mode 100644
index 
2c22675b3a3fa61cb82b08dfcbdc6cb86994ace9..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001

literal 186
zcmca|c+)~A1{MYcU}0bca-8#`BMyCFW|#zIgD^7SU~pw%X!+0Rz~I1UTTsuyzzD*U
zFP}XrTf0le+LuYUL4qOdUj<N*k%NoD-{mI=|L0=}sJKwH9@!*h_J1Hi<^!DpaTW`M
N1XNrAsN^q96#xl(BsKs5

diff --git a/ryu/tests/unit/packet/test_openflow.py 
b/ryu/tests/unit/packet/test_openflow.py
index b0dca25..e394eef 100644
--- a/ryu/tests/unit/packet/test_openflow.py
+++ b/ryu/tests/unit/packet/test_openflow.py
@@ -45,7 +45,6 @@ class Test_openflow(unittest.TestCase):
         files = [
             'openflow_flowmod',
             'openflow_flowstats_req',
-            'openflow_invalid_version',
         ]
 
         for f in files:
-- 
2.7.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to