mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-09 06:16:10 +02:00
test_parser: add conntrack tests
Signed-off-by: IWAMOTO Toshihiro <iwamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
877ed2804a
commit
7a9b1be5d6
BIN
ryu/tests/packet_data/of13/ovs-ofctl-of13-action_ct.packet
Normal file
BIN
ryu/tests/packet_data/of13/ovs-ofctl-of13-action_ct.packet
Normal file
Binary file not shown.
BIN
ryu/tests/packet_data/of13/ovs-ofctl-of13-action_ct_exec.packet
Normal file
BIN
ryu/tests/packet_data/of13/ovs-ofctl-of13-action_ct_exec.packet
Normal file
Binary file not shown.
@ -0,0 +1,62 @@
|
||||
{
|
||||
"OFPFlowMod": {
|
||||
"buffer_id": 4294967295,
|
||||
"command": 0,
|
||||
"cookie": 0,
|
||||
"cookie_mask": 0,
|
||||
"flags": 0,
|
||||
"hard_timeout": 0,
|
||||
"idle_timeout": 0,
|
||||
"instructions": [
|
||||
{
|
||||
"OFPInstructionActions": {
|
||||
"actions": [
|
||||
{
|
||||
"NXActionCT": {
|
||||
"actions": [],
|
||||
"alg": 0,
|
||||
"experimenter": 8992,
|
||||
"flags": 0,
|
||||
"len": 24,
|
||||
"recirc_table": 4,
|
||||
"subtype": 35,
|
||||
"type": 65535,
|
||||
"zone_ofs_nbits": 0,
|
||||
"zone_src": 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"len": 32,
|
||||
"type": 4
|
||||
}
|
||||
}
|
||||
],
|
||||
"match": {
|
||||
"OFPMatch": {
|
||||
"length": 22,
|
||||
"oxm_fields": [
|
||||
{
|
||||
"OXMTlv": {
|
||||
"field": "eth_type",
|
||||
"mask": null,
|
||||
"value": 2048
|
||||
}
|
||||
},
|
||||
{
|
||||
"OXMTlv": {
|
||||
"field": "ct_state",
|
||||
"mask": 128,
|
||||
"value": 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": 1
|
||||
}
|
||||
},
|
||||
"out_group": 4294967295,
|
||||
"out_port": 4294967295,
|
||||
"priority": 32768,
|
||||
"table_id": 3,
|
||||
"xid": 2
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,74 @@
|
||||
{
|
||||
"OFPFlowMod": {
|
||||
"buffer_id": 4294967295,
|
||||
"command": 0,
|
||||
"cookie": 0,
|
||||
"cookie_mask": 0,
|
||||
"flags": 0,
|
||||
"hard_timeout": 0,
|
||||
"idle_timeout": 0,
|
||||
"instructions": [
|
||||
{
|
||||
"OFPInstructionActions": {
|
||||
"actions": [
|
||||
{
|
||||
"NXActionCT": {
|
||||
"actions": [
|
||||
{
|
||||
"OFPActionSetField": {
|
||||
"field": {
|
||||
"OXMTlv": {
|
||||
"field": "ct_mark",
|
||||
"mask": null,
|
||||
"value": 6636321
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"alg": 0,
|
||||
"experimenter": 8992,
|
||||
"flags": 1,
|
||||
"len": 40,
|
||||
"recirc_table": 255,
|
||||
"subtype": 35,
|
||||
"type": 65535,
|
||||
"zone_ofs_nbits": 0,
|
||||
"zone_src": 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"len": 48,
|
||||
"type": 4
|
||||
}
|
||||
}
|
||||
],
|
||||
"match": {
|
||||
"OFPMatch": {
|
||||
"length": 22,
|
||||
"oxm_fields": [
|
||||
{
|
||||
"OXMTlv": {
|
||||
"field": "eth_type",
|
||||
"mask": null,
|
||||
"value": 2048
|
||||
}
|
||||
},
|
||||
{
|
||||
"OXMTlv": {
|
||||
"field": "ct_state",
|
||||
"mask": 130,
|
||||
"value": 130
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": 1
|
||||
}
|
||||
},
|
||||
"out_group": 4294967295,
|
||||
"out_port": 4294967295,
|
||||
"priority": 32768,
|
||||
"table_id": 3,
|
||||
"xid": 2
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user