mirror of
https://github.com/faucetsdn/ryu.git
synced 2026-05-09 06:16:10 +02:00
of14: Add experimenter property to port status unit test
Signed-off-by: Simon Horman <horms@verge.net.au> -- v3 * Correct indentation v2 * First post
This commit is contained in:
parent
39b78cc2c7
commit
3634f3c652
Binary file not shown.
@ -625,7 +625,19 @@ x() ->
|
||||
rx_max_freq_lmda = 2000,
|
||||
rx_grid_freq_lmda = 1500,
|
||||
tx_pwr_min = 1000,
|
||||
tx_pwr_max = 2000}]}
|
||||
tx_pwr_max = 2000},
|
||||
#ofp_port_desc_prop_experimenter{
|
||||
experimenter = 101,
|
||||
exp_type = 0,
|
||||
data = <<>>},
|
||||
#ofp_port_desc_prop_experimenter{
|
||||
experimenter = 101,
|
||||
exp_type = 1,
|
||||
data = <<1:32>>},
|
||||
#ofp_port_desc_prop_experimenter{
|
||||
experimenter = 101,
|
||||
exp_type = 2,
|
||||
data = <<1:32,2:32>>}]}
|
||||
},
|
||||
#ofp_flow_removed{
|
||||
cookie = <<0,0,0,0,0,0,0,0>>,
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
"OFPPort": {
|
||||
"config": 0,
|
||||
"hw_addr": "f2:0b:a4:d0:3f:70",
|
||||
"length": 112,
|
||||
"length": 168,
|
||||
"name": "\u79c1\u306e\u30dd\u30fc\u30c8",
|
||||
"port_no": 7,
|
||||
"properties": [
|
||||
@ -34,6 +34,33 @@
|
||||
"tx_pwr_max": 2000,
|
||||
"tx_pwr_min": 1000
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPPortDescPropExperimenter": {
|
||||
"length": 12,
|
||||
"type": 65535,
|
||||
"exp_type": 0,
|
||||
"experimenter": 101,
|
||||
"data": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPPortDescPropExperimenter": {
|
||||
"length": 16,
|
||||
"type": 65535,
|
||||
"exp_type": 1,
|
||||
"experimenter": 101,
|
||||
"data": [1]
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPPortDescPropExperimenter": {
|
||||
"length": 20,
|
||||
"type": 65535,
|
||||
"exp_type": 2,
|
||||
"experimenter": 101,
|
||||
"data": [1, 2]
|
||||
}
|
||||
}
|
||||
],
|
||||
"state": 4
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user