mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-01-25 02:21:45 +01:00
test_parser: Add expected json representations of OF1.5 GroupMod
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
4dc9a034aa
commit
148cd09792
@ -0,0 +1,61 @@
|
||||
{
|
||||
"OFPGroupMod": {
|
||||
"bucket_array_len": 56,
|
||||
"buckets": [
|
||||
{
|
||||
"OFPBucket": {
|
||||
"action_array_len": 24,
|
||||
"actions": [
|
||||
{
|
||||
"OFPActionPopVlan": {
|
||||
"len": 8,
|
||||
"type": 18
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionSetField": {
|
||||
"field": {
|
||||
"OXMTlv": {
|
||||
"field": "ipv4_dst",
|
||||
"mask": null,
|
||||
"value": "192.168.2.9"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"bucket_id": 305419896,
|
||||
"len": 56,
|
||||
"properties": [
|
||||
{
|
||||
"OFPGroupBucketPropWeight": {
|
||||
"length": 8,
|
||||
"type": 0,
|
||||
"weight": 52428
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPGroupBucketPropWatch": {
|
||||
"length": 8,
|
||||
"type": 1,
|
||||
"watch": 56797
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPGroupBucketPropWatch": {
|
||||
"length": 8,
|
||||
"type": 2,
|
||||
"watch": 4008636142
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"command": 3,
|
||||
"command_bucket_id": 3149642683,
|
||||
"group_id": 2863311530,
|
||||
"properties": [],
|
||||
"type": 1
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user