2 * Copyright (c) 2018 Ericsson India Global Services Pvt Ltd. 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 org.opendaylight.netvirt.dhcpservice.api;
11 import java.util.concurrent.ConcurrentMap;
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;
18 public interface IDhcpExternalTunnelManager {
20 ConcurrentMap<Uint64, Set<Pair<IpAddress, String>>> getDesignatedDpnsToTunnelIpElanNameCache();
22 ConcurrentMap<Pair<IpAddress, String>, Set<String>> getTunnelIpElanNameToVmMacCache();
24 ConcurrentMap<Pair<IpAddress, String>, Set<String>> getAvailableVMCache();
26 ConcurrentMap<Pair<Uint64, String>, Port> getVniMacAddressToPortCache();