summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2013-10-24 16:48:53 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-10-24 23:56:19 +0900
commitd6e13da6b3a4c0c3a237194fa173ed612d949e8b (patch)
tree8f7264c335a0dc46211f2990f1ea42288dc53208
parent57318041aa67b5340cbba8441a34af8f63b0f6c7 (diff)
packet_data_generator: use more actions
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.erl15
1 files changed, 15 insertions, 0 deletions
diff --git a/ryu/tests/packet_data_generator/src/x4.erl b/ryu/tests/packet_data_generator/src/x4.erl
index 3cd48ba4..a3ef58e2 100644
--- a/ryu/tests/packet_data_generator/src/x4.erl
+++ b/ryu/tests/packet_data_generator/src/x4.erl
@@ -57,6 +57,21 @@ x() ->
[#ofp_action_set_field{
field = #ofp_field{name = vlan_vid,
value = <<258:13>> }},
+ #ofp_action_copy_ttl_out{},
+ #ofp_action_copy_ttl_in{},
+ #ofp_action_copy_ttl_in{},
+ #ofp_action_pop_pbb{},
+ #ofp_action_push_pbb{ethertype = 16#1234},
+ #ofp_action_pop_mpls{ethertype= 16#9876},
+ #ofp_action_push_mpls{ethertype = 16#8847},
+ #ofp_action_pop_vlan{},
+ #ofp_action_push_vlan{ethertype = 16#8100},
+ #ofp_action_dec_mpls_ttl{},
+ #ofp_action_set_mpls_ttl{mpls_ttl = 10},
+ #ofp_action_dec_nw_ttl{},
+ #ofp_action_set_nw_ttl{nw_ttl = 10},
+ #ofp_action_set_queue{queue_id = 3},
+ #ofp_action_group{group_id = 99},
#ofp_action_output{port = 6,max_len = no_buffer}]},
#ofp_instruction_apply_actions{
actions =