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.bgpmanager.api;
11 import java.util.Collection;
13 public interface IBgpManager {
21 public void addVrf(String rd, Collection<String> importRts, Collection<String> exportRts) throws Exception;
27 public void deleteVrf(String rd) throws Exception;
36 public void addPrefix(String rd, String prefix, String nextHop, int vpnLabel) throws Exception;
43 public void deletePrefix(String rd, String prefix) throws Exception;
50 public void setQbgpLog(String fileName, String logLevel) throws Exception;
58 public void advertisePrefix(String rd, String prefix, String nextHop, int vpnLabel) throws Exception;
65 public void withdrawPrefix(String rd, String prefix) throws Exception;
68 public String getDCGwIP();