of12: packet_data_generator: use set_field action
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
parent
af8aca25e9
commit
a10c43d844
@ -54,7 +54,10 @@ x() ->
|
||||
instructions =
|
||||
[#ofp_instruction_write_actions{
|
||||
actions =
|
||||
[#ofp_action_output{port = 6,max_len = 65535}]}]},
|
||||
[#ofp_action_set_field{
|
||||
field = #ofp_field{name = vlan_vid,
|
||||
value = <<1,2>> }},
|
||||
#ofp_action_output{port = 6,max_len = 65535}]}]},
|
||||
#ofp_flow_mod{
|
||||
cookie = <<0,0,0,0,0,0,0,0>>,
|
||||
cookie_mask = <<0,0,0,0,0,0,0,0>>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user