summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2014-10-14 12:28:42 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2014-10-14 13:34:25 +0900
commit0e2e3783591eb5800a719afbbfb76612fc653029 (patch)
treec81d589b5437e7196363933f9fb12e42c5fc5da7
parent70c0e58492976912b7d93256586892a99a67b967 (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.erl10
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 = [