diff options
author | YAMAMOTO Takashi <yamamoto@valinux.co.jp> | 2013-11-28 10:52:04 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-11-29 09:23:09 +0900 |
commit | a72cd9df8d5fc76e0c8ab267417bacff241562ce (patch) | |
tree | 8cdd1e10a1ee754e57ae7d813c5cde3e4857ba7e | |
parent | b5a4dec71357bdd8ea4a8d39aef33a4b0d79dbd0 (diff) |
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>
-rw-r--r-- | ryu/tests/packet_data_generator/src/x4.erl | 19 |
1 files changed, 19 insertions, 0 deletions
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). |