packet_data_generator: of14: Add role status message
Signed-off-by: Simon Horman <horms@verge.net.au> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
55a909b13e
commit
d27be429bc
@ -2655,6 +2655,23 @@ x() ->
|
||||
experimenter = 101,
|
||||
exp_type = 2,
|
||||
data = <<1:32,2:32>>}],
|
||||
queue_id = 1}]}
|
||||
queue_id = 1}]},
|
||||
#ofp_role_status{
|
||||
role = master,
|
||||
reason = master_request,
|
||||
generation_id=7,
|
||||
properties =
|
||||
[#ofp_role_prop_experimenter{
|
||||
experimenter = 101,
|
||||
exp_type = 0,
|
||||
data = <<>>},
|
||||
#ofp_role_prop_experimenter{
|
||||
experimenter = 101,
|
||||
exp_type = 1,
|
||||
data = <<1:32>>},
|
||||
#ofp_role_prop_experimenter{
|
||||
experimenter = 101,
|
||||
exp_type = 2,
|
||||
data = <<1:32,2:32>>}]}
|
||||
],
|
||||
lists:foldl(fun x:do/2, {5, 0}, List).
|
||||
|
Loading…
Reference in New Issue
Block a user