Bump odlparent->6.0.0,mdsal->5.0.3
[netvirt.git] / dhcpservice / api / src / main / java / org / opendaylight / netvirt / dhcpservice / api / IDhcpExternalTunnelManager.java
1 /*
2  * Copyright (c) 2018 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.netvirt.dhcpservice.api;
9
10 import java.util.Set;
11 import java.util.concurrent.ConcurrentMap;
12
13 import org.apache.commons.lang3.tuple.Pair;
14 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress;
15 import org.opendaylight.yang.gen.v1.urn.opendaylight.neutron.ports.rev150712.ports.attributes.ports.Port;
16 import org.opendaylight.yangtools.yang.common.Uint64;
17
18 public interface IDhcpExternalTunnelManager {
19
20     ConcurrentMap<Uint64, Set<Pair<IpAddress, String>>> getDesignatedDpnsToTunnelIpElanNameCache();
21
22     ConcurrentMap<Pair<IpAddress, String>, Set<String>> getTunnelIpElanNameToVmMacCache();
23
24     ConcurrentMap<Pair<IpAddress, String>, Set<String>> getAvailableVMCache();
25
26     ConcurrentMap<Pair<Uint64, String>, Port> getVniMacAddressToPortCache();
27 }