2 * Copyright (c) 2015 - 2016 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
9 package org.opendaylight.netvirt.vpnmanager.api;
11 import org.opendaylight.netvirt.fibmanager.api.IFibManager;
13 public interface IVpnManager {
14 void setFibManager(IFibManager fibManager);
15 void addExtraRoute(String destination, String nextHop, String rd, String routerID, int label);
16 void delExtraRoute(String destination, String nextHop, String rd, String routerID);
19 * Returns true if the specified VPN exists
21 * @param vpnName it must match against the vpn-instance-name attrib in one of the VpnInstances
25 boolean existsVpn(String vpnName);
26 boolean isVPNConfigured();
28 long getArpCacheTimeoutMillis();