flowModRef.addField("priority", "32000");
flowModRef.addMatchInPort(swRef.getDpid().toString().substring(0, 3));
OFStructureInstructionRef instruction = provider.buildInstructionApplyActions();
instruction.addActionOutput("2");
flowModRef.addInstruction("apply_actions", instruction);
instruction = provider.buildInstructionGotoTable();
flowModRef.addInstruction("goto_table", instruction);
tcpChannel.tell(TcpMessage.write(ByteString.fromArray(provider.encodeFlowMod(flowModRef))), getSelf());