of14: Add experimenter property to port mod reply unit test
Signed-off-by: Simon Horman <horms@verge.net.au>
This commit is contained in:
parent
974e4030c3
commit
9719958863
Binary file not shown.
@ -497,7 +497,19 @@ x() ->
|
||||
freq_lmda = 1500,
|
||||
fl_offset = 2000,
|
||||
grid_span = 3000,
|
||||
tx_pwr = 300}]},
|
||||
tx_pwr = 300},
|
||||
#ofp_port_mod_prop_experimenter{
|
||||
experimenter = 101,
|
||||
exp_type = 0,
|
||||
data = <<>>},
|
||||
#ofp_port_mod_prop_experimenter{
|
||||
experimenter = 101,
|
||||
exp_type = 1,
|
||||
data = <<1:32>>},
|
||||
#ofp_port_mod_prop_experimenter{
|
||||
experimenter = 101,
|
||||
exp_type = 2,
|
||||
data = <<1:32,2:32>>}]},
|
||||
#ofp_table_mod{
|
||||
properties =
|
||||
[#ofp_table_mod_prop_eviction{flags = []},
|
||||
|
@ -21,6 +21,33 @@
|
||||
"grid_span": 3000,
|
||||
"tx_pwr": 300
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPPortModPropExperimenter": {
|
||||
"length": 12,
|
||||
"type": 65535,
|
||||
"exp_type": 0,
|
||||
"experimenter": 101,
|
||||
"data": []
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPPortModPropExperimenter": {
|
||||
"length": 16,
|
||||
"type": 65535,
|
||||
"exp_type": 1,
|
||||
"experimenter": 101,
|
||||
"data": [1]
|
||||
}
|
||||
},
|
||||
{
|
||||
"OFPPortModPropExperimenter": {
|
||||
"length": 20,
|
||||
"type": 65535,
|
||||
"exp_type": 2,
|
||||
"experimenter": 101,
|
||||
"data": [1, 2]
|
||||
}
|
||||
}
|
||||
],
|
||||
"port_no": 1
|
||||
|
Loading…
Reference in New Issue
Block a user