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
8 package io.fd.honeycomb.vbd.api;
11 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
14 public interface VxlanTunnelIdAlocator {
17 * Allocate next available vxlan tunnel ID
19 * @param vpp specify contret vpp for which is next available vxlan id looked for
20 * @return next available (in order) vxlan id.
22 Integer nextIdFor(final NodeId vpp);