SubnetRoute enhancements to VPN Service models
[vpnservice.git] / bgpmanager / bgpmanager-api / src / main / java / org.opendaylight.bgpmanager.api / IBgpManager.java
index 3ffa33f2f29dfce9b467c20ed9876282a35e1e3c..d0fabf4add71da83dae40d2e9837abd448264e6c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
+ * Copyright (c) 2015 - 2016 Ericsson India Global Services Pvt Ltd. and others.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -49,6 +49,22 @@ public interface IBgpManager {
      */
     public void setQbgpLog(String fileName, String logLevel) throws Exception;
 
+    /**
+     * @param rd
+     * @param prefix
+     * @param nextHop
+     * @param vpnLabel
+     */
+    public void advertisePrefix(String rd, String prefix, String nextHop, int vpnLabel) throws Exception;
+
+    /**
+     *
+     * @param rd
+     * @param prefix
+     */
+    public void withdrawPrefix(String rd, String prefix) throws Exception;
+
+
     public String getDCGwIP();
 
 }