From a72cd9df8d5fc76e0c8ab267417bacff241562ce Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Thu, 28 Nov 2013 10:52:04 +0900 Subject: [PATCH] packet_data_generator: add a case for onf_flow_monitor_request Signed-off-by: YAMAMOTO Takashi Signed-off-by: FUJITA Tomonori --- ryu/tests/packet_data_generator/src/x4.erl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/ryu/tests/packet_data_generator/src/x4.erl b/ryu/tests/packet_data_generator/src/x4.erl index ba61c9c5..17852a2b 100644 --- a/ryu/tests/packet_data_generator/src/x4.erl +++ b/ryu/tests/packet_data_generator/src/x4.erl @@ -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).