2 * Copyright (c) 2017 Pantheon Technologies s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.openflowplugin.impl.protocol.serialization.multipart.tablefeatures.matchfield;
10 import org.opendaylight.openflowjava.protocol.api.util.OxmMatchConstants;
12 public class MplsLabelMatchFieldSerializer extends AbstractMatchFieldSerializer {
14 protected int getOxmClassCode() {
15 return OxmMatchConstants.OPENFLOW_BASIC_CLASS;
19 protected int getOxmFieldCode() {
20 return OxmMatchConstants.MPLS_LABEL;
24 protected int getValueLength() {