diff options
author | Jozef Gloncak <jgloncak@cisco.com> | 2016-02-09 15:03:53 +0100 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2016-02-09 16:22:39 +0000 |
commit | 5aa62ee7d2be070b2ffef0443b59c8891ed06845 (patch) | |
tree | 8a6d57d66fe2dea72dcdc4dd259cd9eba36561ac /vbd/api/src/main/java/io.fd.honeycomb.vbd.api/VxlanTunnelIdAlocator.java | |
parent | ed1bb590d38c1581d35fd822564510ff22288510 (diff) |
Adding vxlan tunnel id allocator.
Change-Id: Id638bc0262481921cd42d830e9fc788e76bc3907
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
Diffstat (limited to 'vbd/api/src/main/java/io.fd.honeycomb.vbd.api/VxlanTunnelIdAlocator.java')
-rw-r--r-- | vbd/api/src/main/java/io.fd.honeycomb.vbd.api/VxlanTunnelIdAlocator.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/vbd/api/src/main/java/io.fd.honeycomb.vbd.api/VxlanTunnelIdAlocator.java b/vbd/api/src/main/java/io.fd.honeycomb.vbd.api/VxlanTunnelIdAlocator.java deleted file mode 100644 index 58c7e38f3..000000000 --- a/vbd/api/src/main/java/io.fd.honeycomb.vbd.api/VxlanTunnelIdAlocator.java +++ /dev/null @@ -1,23 +0,0 @@ -/** - * Copyright (c) 2016 Cisco Systems, Inc. and others. All rights reserved. - * <p> - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package io.fd.honeycomb.vbd.api; - - -import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId; - - -public interface VxlanTunnelIdAlocator { - - /** - * Allocate next available vxlan tunnel ID - * - * @param vpp specify contret vpp for which is next available vxlan id looked for - * @return next available (in order) vxlan id. - */ - Integer nextIdFor(final NodeId vpp); -} |