mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-12 08:06:49 +02:00
test_parser: Add test case for OFP15 packet_out
TODO: Because Open vSwitch (lib/ofp-util) does not support OF1.5 packet_out structure [EXT-427] yet, re-generate the packet data by using packet_data_generator2 when Open vSwitch supports it. Reference: OpenFlow 1.1+ support status of Open vSwitch https://github.com/openvswitch/ovs/blob/master/OPENFLOW-1.1%2B.md Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
3be0ac4b35
commit
3af4f650f8
BIN
ryu/tests/packet_data/of15/libofproto-OFP15-packet_out.packet
Normal file
BIN
ryu/tests/packet_data/of15/libofproto-OFP15-packet_out.packet
Normal file
Binary file not shown.
@ -0,0 +1,32 @@
|
||||
{
|
||||
"OFPPacketOut": {
|
||||
"actions": [
|
||||
{
|
||||
"OFPActionOutput": {
|
||||
"len": 16,
|
||||
"max_len": 65535,
|
||||
"port": 4294967291,
|
||||
"type": 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"actions_len": 16,
|
||||
"buffer_id": 4294967295,
|
||||
"data": "dGVzdA==",
|
||||
"match": {
|
||||
"OFPMatch": {
|
||||
"length": 12,
|
||||
"oxm_fields": [
|
||||
{
|
||||
"OXMTlv": {
|
||||
"field": "in_port",
|
||||
"mask": null,
|
||||
"value": 4294967040
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user