2 * Copyright (c) 2016 Cisco Systems, Inc. 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
9 package org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.action.data;
11 import org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.data.VersionDatapathIdConvertorData;
14 * Convertor data used in {@link org.opendaylight.openflowplugin.openflow.md.core.sal.convertor.action.ActionConvertor}
15 * containing Openflow version, datapath ID and IP protocol from flow
17 public class ActionConvertorData extends VersionDatapathIdConvertorData {
18 private Short ipProtocol;
21 * Instantiates a new Action convertor data.
23 * @param version the version
25 public ActionConvertorData(short version) {
32 * @return the ip protocol
34 public Short getIpProtocol() {
41 * @param ipProtocol the ip protocol
43 public void setIpProtocol(Short ipProtocol) {
44 this.ipProtocol = ipProtocol;