+public class OF10StripVlanActionSerializer extends AbstractActionSerializer {
+
+ @Override
+ public void serialize(Action action, ByteBuf outBuffer) {
+ super.serialize(action, outBuffer);
+ outBuffer.writeZero(ActionConstants.PADDING_IN_ACTION_HEADER);
+ }
+
+ @Override
+ protected int getLength() {
+ return ActionConstants.GENERAL_ACTION_LENGTH;
+ }