os-ken/ryu/tests/unit/ofproto/json/of15/libofproto-OFP15-port_mod.packet.json
Minoru TAKAHASHI 62a53a548d test_parser: Add expected json outputs for OF1.5
Signed-off-by: Minoru TAKAHASHI <takahashi.minoru7@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
2015-09-10 11:06:43 +09:00

61 lines
1.4 KiB
JSON

{
"OFPPortMod": {
"config": 0,
"hw_addr": "00:11:00:00:11:11",
"mask": 0,
"port_no": 1,
"properties": [
{
"OFPPortModPropEthernet": {
"advertise": 4096,
"length": 8,
"type": 0
}
},
{
"OFPPortModPropOptical": {
"configure": 3,
"fl_offset": 2000,
"freq_lmda": 1500,
"grid_span": 3000,
"length": 24,
"tx_pwr": 300,
"type": 1
}
},
{
"OFPPortModPropExperimenter": {
"data": [],
"exp_type": 0,
"experimenter": 101,
"length": 12,
"type": 65535
}
},
{
"OFPPortModPropExperimenter": {
"data": [
1
],
"exp_type": 1,
"experimenter": 101,
"length": 16,
"type": 65535
}
},
{
"OFPPortModPropExperimenter": {
"data": [
1,
2
],
"exp_type": 2,
"experimenter": 101,
"length": 20,
"type": 65535
}
}
]
}
}