packet_data_generator: add a case for onf_flow_monitor_request

Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
YAMAMOTO Takashi 2013-11-28 10:52:04 +09:00 committed by FUJITA Tomonori
parent b5a4dec713
commit a72cd9df8d

View File

@ -2579,6 +2579,25 @@ x() ->
experimenter = 16#deadbeaf,
exp_type = 16#cafe7777,
data = <<"testdata99999999">>
},
#onf_flow_monitor_request{
flags = [],
body = [
#onf_flow_monitor{
id = 100000000,
flags = [initial, add, delete, modify],
out_port = 22,
table_id = 33,
fields = []
},
#onf_flow_monitor{
id = 999,
flags = [initial, actions, own],
out_port = any,
table_id = all,
fields = AllFields
}
]
}
],
lists:foldl(fun x:do/2, {4, 0}, List).