summaryrefslogtreecommitdiffstats
path: root/vbd/api/src
diff options
context:
space:
mode:
Diffstat (limited to 'vbd/api/src')
-rw-r--r--vbd/api/src/main/java/io.fd.honeycomb.vbd.api/VxlanTunnelIdAllocator.java (renamed from vbd/api/src/main/java/io.fd.honeycomb.vbd.api/VxlanTunnelIdAlocator.java)8
1 files changed, 5 insertions, 3 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/VxlanTunnelIdAllocator.java
index 58c7e38f3..c458e5754 100644
--- a/vbd/api/src/main/java/io.fd.honeycomb.vbd.api/VxlanTunnelIdAlocator.java
+++ b/vbd/api/src/main/java/io.fd.honeycomb.vbd.api/VxlanTunnelIdAllocator.java
@@ -8,10 +8,12 @@
package io.fd.honeycomb.vbd.api;
-import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId;
+import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node;
+import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.NodeKey;
+import org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier;
-public interface VxlanTunnelIdAlocator {
+public interface VxlanTunnelIdAllocator {
/**
* Allocate next available vxlan tunnel ID
@@ -19,5 +21,5 @@ public interface VxlanTunnelIdAlocator {
* @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);
+ Integer nextIdFor(final KeyedInstanceIdentifier<Node, NodeKey> vpp);
}