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:
Simon Horman 2014-02-24 13:07:12 +09:00 committed by FUJITA Tomonori
parent 55a909b13e
commit d27be429bc

View File

@ -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).