Copied from LINC:
10:51:05.112 [debug] Received message from the controller: {ofp_message,4,flow_mod,0,{ofp_flow_mod,<<0,0,0,0,0,0,0,0>>,<<0,0,0,0,0,0,0,0>>,0,add,0,0,1,0,0,0,[],{ofp_match,[{ofp_field,openflow_basic,in_port,false,<<0,0,0,1>>,undefined},{ofp_field,openflow_basic,eth_type,false,<<8,0>>,undefined},{ofp_field,openflow_basic,ipv4_dst,false,<<"ˬK ">>,undefined},{ofp_field,openflow_basic,ip_proto,false,<<1>>,undefined}]},[{ofp_instruction_apply_actions,2,[{ofp_action_output,16,2,no_buffer}]}]}}
10:51:37.072 [debug] Received message from the controller: {ofp_message,4,flow_mod,0,{ofp_flow_mod,<<0,0,0,0,0,0,0,0>>,<<0,0,0,0,0,0,0,0>>,0,add,0,0,1,0,0,0,[],{ofp_match,[{ofp_field,openflow_basic,ipv4_dst,false,<<"ˬK!">>,undefined},{ofp_field,openflow_basic,in_port,false,<<0,0,0,1>>,undefined},{ofp_field,openflow_basic,eth_type,false,<<8,0>>,undefined},{ofp_field,openflow_basic,ipv4_dst,false,<<"ˬK ">>,undefined},{ofp_field,openflow_basic,ip_proto,false,<<1>>,undefined}]},[{ofp_instruction_apply_actions,2,[{ofp_action_output,16,3,no_buffer}]}]}}
When the following flow-mods are sent to LINC switch, flow-mod-5 message to LINC has an extra match.
1) curl -d '{"switch":"00:60:DD:44:96:E7:00:00", "name":"flow-mod-4", "priority":"1", "ingress-port":"1", "dst-mac":"00:60:dd:44:ad:27", "active":"true", "apply-actions":"output=2"}' http://localhost:8080/ff/of/controller/restapi
2) curl -d '{"switch":"00:60:DD:44:96:E7:00:00", "name":"flow-mod-5", "priority":"1", "ingress-port":"1", "dst-mac":"00:60:dd:44:ac:d8", "active":"true", "apply-actions":"output=3"}' http://localhost:8080/ff/of/controller/restapi
Copied from LINC: 10:51:05.112 [debug] Received message from the controller: {ofp_message,4,flow_mod,0,{ofp_flow_mod,<<0,0,0,0,0,0,0,0>>,<<0,0,0,0,0,0,0,0>>,0,add,0,0,1,0,0,0,[],{ofp_match,[{ofp_field,openflow_basic,in_port,false,<<0,0,0,1>>,undefined},{ofp_field,openflow_basic,eth_type,false,<<8,0>>,undefined},{ofp_field,openflow_basic,ipv4_dst,false,<<"ˬK ">>,undefined},{ofp_field,openflow_basic,ip_proto,false,<<1>>,undefined}]},[{ofp_instruction_apply_actions,2,[{ofp_action_output,16,2,no_buffer}]}]}}
10:51:37.072 [debug] Received message from the controller: {ofp_message,4,flow_mod,0,{ofp_flow_mod,<<0,0,0,0,0,0,0,0>>,<<0,0,0,0,0,0,0,0>>,0,add,0,0,1,0,0,0,[],{ofp_match,[{ofp_field,openflow_basic,ipv4_dst,false,<<"ˬK!">>,undefined},{ofp_field,openflow_basic,in_port,false,<<0,0,0,1>>,undefined},{ofp_field,openflow_basic,eth_type,false,<<8,0>>,undefined},{ofp_field,openflow_basic,ipv4_dst,false,<<"ˬK ">>,undefined},{ofp_field,openflow_basic,ip_proto,false,<<1>>,undefined}]},[{ofp_instruction_apply_actions,2,[{ofp_action_output,16,3,no_buffer}]}]}}