2 * Copyright (c) 2015 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.ovsdb.openstack.netvirt.providers.openflow13.services.arp;
11 import javax.annotation.Nullable;
13 public enum ArpOperation {
17 private final int intOperation;
19 private ArpOperation(int operationNumber) {
20 this.intOperation = operationNumber;
23 public int intValue() {
27 public static @Nullable ArpOperation loadFromInt(int intOperation) {
28 for (ArpOperation operation : ArpOperation.values()) {
29 if (operation.intOperation == intOperation) {