diff options
author | YAMAMOTO Takashi <yamamoto@valinux.co.jp> | 2014-10-14 12:28:42 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2014-10-14 13:34:25 +0900 |
commit | 0e2e3783591eb5800a719afbbfb76612fc653029 (patch) | |
tree | c81d589b5437e7196363933f9fb12e42c5fc5da7 | |
parent | 70c0e58492976912b7d93256586892a99a67b967 (diff) |
packet_data_generator: Add tun_ipv4_src and tun_ipv4_dst for OF1.3
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 | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ryu/tests/packet_data_generator/src/x4.erl b/ryu/tests/packet_data_generator/src/x4.erl index efd4deb7..0ba1939c 100644 --- a/ryu/tests/packet_data_generator/src/x4.erl +++ b/ryu/tests/packet_data_generator/src/x4.erl @@ -207,6 +207,16 @@ x() -> class = {experimenter, onf},name = pbb_uca, has_mask = false, value = <<1:1>>, + mask = undefined}, + #ofp_field{ + class = nxm_1,name = 31, % tun_ipv4_src + has_mask = false, + value = <<1,2,3,4>>, + mask = undefined}, + #ofp_field{ + class = nxm_1,name = 32, % tun_ipv4_dst + has_mask = false, + value = <<1,2,3,4>>, mask = undefined} ], List = [ |