mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-08 13:56:09 +02:00
test_parser: update expected json representations for EXT-256
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
fbada6cc0c
commit
23f5ff3bd1
@ -128,6 +128,161 @@
|
||||
"hard_timeout": 0,
|
||||
"idle_timeout": 0,
|
||||
"instructions": [
|
||||
{
|
||||
"OFPInstructionActions": {
|
||||
"actions": [
|
||||
{
|
||||
"OFPActionSetField": {
|
||||
"field": {
|
||||
"OXMTlv": {
|
||||
"field": "vlan_vid",
|
||||
"mask": null,
|
||||
"value": 258
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionCopyTtlOut": {
|
||||
"len": 8,
|
||||
"type": 11
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionCopyTtlIn": {
|
||||
"len": 8,
|
||||
"type": 12
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionCopyTtlIn": {
|
||||
"len": 8,
|
||||
"type": 12
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionPopPbb": {
|
||||
"len": 8,
|
||||
"type": 27
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionPushPbb": {
|
||||
"ethertype": 4660,
|
||||
"len": 8,
|
||||
"type": 26
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionPopMpls": {
|
||||
"ethertype": 39030,
|
||||
"len": 8,
|
||||
"type": 20
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionPushMpls": {
|
||||
"ethertype": 34887,
|
||||
"len": 8,
|
||||
"type": 19
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionPopVlan": {
|
||||
"len": 8,
|
||||
"type": 18
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionPushVlan": {
|
||||
"ethertype": 33024,
|
||||
"len": 8,
|
||||
"type": 17
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionDecMplsTtl": {
|
||||
"len": 8,
|
||||
"type": 16
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionSetMplsTtl": {
|
||||
"len": 8,
|
||||
"mpls_ttl": 10,
|
||||
"type": 15
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionDecNwTtl": {
|
||||
"len": 8,
|
||||
"type": 24
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionSetNwTtl": {
|
||||
"len": 8,
|
||||
"nw_ttl": 10,
|
||||
"type": 23
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionSetQueue": {
|
||||
"len": 8,
|
||||
"queue_id": 3,
|
||||
"type": 21
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionGroup": {
|
||||
"group_id": 99,
|
||||
"len": 8,
|
||||
"type": 22
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionOutput": {
|
||||
"len": 16,
|
||||
"max_len": 65535,
|
||||
"port": 6,
|
||||
"type": 0
|
||||
}
|
||||
}
|
||||
],
|
||||
"len": 160,
|
||||
"type": 3
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPInstructionActions": {
|
||||
"actions": [
|
||||
{
|
||||
"OFPActionSetField": {
|
||||
"field": {
|
||||
"OXMTlv": {
|
||||
"field": "eth_src",
|
||||
"mask": null,
|
||||
"value": "01:02:03:04:05:06"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionSetField": {
|
||||
"field": {
|
||||
"OXMTlv": {
|
||||
"field": "pbb_uca",
|
||||
"mask": null,
|
||||
"value": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"len": 40,
|
||||
"type": 4
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPInstructionActions": {
|
||||
"actions": [
|
||||
@ -145,7 +300,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"length": 80,
|
||||
"length": 280,
|
||||
"match": {
|
||||
"OFPMatch": {
|
||||
"length": 4,
|
||||
|
||||
@ -146,9 +146,20 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPActionSetField": {
|
||||
"field": {
|
||||
"OXMTlv": {
|
||||
"field": "pbb_uca",
|
||||
"mask": null,
|
||||
"value": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"len": 24,
|
||||
"len": 40,
|
||||
"type": 4
|
||||
}
|
||||
}
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
"data": "",
|
||||
"match": {
|
||||
"OFPMatch": {
|
||||
"length": 324,
|
||||
"length": 335,
|
||||
"oxm_fields": [
|
||||
{
|
||||
"OXMTlv": {
|
||||
@ -279,6 +279,13 @@
|
||||
"mask": null,
|
||||
"value": 500
|
||||
}
|
||||
},
|
||||
{
|
||||
"OXMTlv": {
|
||||
"field": "pbb_uca",
|
||||
"mask": null,
|
||||
"value": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": 1
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
"instructions": [],
|
||||
"match": {
|
||||
"OFPMatch": {
|
||||
"length": 324,
|
||||
"length": 335,
|
||||
"oxm_fields": [
|
||||
{
|
||||
"OXMTlv": {
|
||||
@ -284,6 +284,13 @@
|
||||
"mask": null,
|
||||
"value": 500
|
||||
}
|
||||
},
|
||||
{
|
||||
"OXMTlv": {
|
||||
"field": "pbb_uca",
|
||||
"mask": null,
|
||||
"value": 1
|
||||
}
|
||||
}
|
||||
],
|
||||
"type": 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user