import io.netty.buffer.ByteBuf;\r
\r
import org.opendaylight.openflowjava.protocol.impl.serialization.OFSerializer;\r
+import org.opendaylight.openflowjava.protocol.impl.util.ActionsSerializer;\r
import org.opendaylight.openflowjava.protocol.impl.util.ByteBufUtils;\r
import org.opendaylight.yang.gen.v1.urn.opendaylight.openflow.protocol.rev130731.PacketOutInput;\r
\r
out.writeInt(message.getBufferId().intValue());\r
out.writeInt(message.getInPort().getValue().intValue());\r
ByteBufUtils.padBuffer(PADDING_IN_PACKET_OUT_MESSAGE, out);\r
+ ActionsSerializer.encodeActions(message.getActionsList(), out);\r
// TODO - finish implementation after Action serialization is done\r
//out.writeShort(message.getActions().size());\r
- // TODO - data field is not clearly defined\r
- \r
- \r
+ //out.writeBytes(message.getData());\r
}\r
\r
@Override\r