Implementation of Adjacency RIB
Change-Id: I80eedba4ccb53fa84028bb3e6e0c91a954413c03
diff --git a/bgp/api/src/main/java/org/onosproject/bgp/controller/BgpPeer.java b/bgp/api/src/main/java/org/onosproject/bgp/controller/BgpPeer.java
old mode 100755
new mode 100644
index df16346..9f4d47d
--- a/bgp/api/src/main/java/org/onosproject/bgp/controller/BgpPeer.java
+++ b/bgp/api/src/main/java/org/onosproject/bgp/controller/BgpPeer.java
@@ -16,8 +16,10 @@
package org.onosproject.bgp.controller;
import java.util.List;
import org.jboss.netty.channel.Channel;
+import org.onosproject.bgpio.exceptions.BgpParseException;
import org.onosproject.bgpio.protocol.BgpFactory;
import org.onosproject.bgpio.protocol.BgpMessage;
+import org.onosproject.bgpio.types.BgpValueType;
/**
* Represents the peer side of an BGP peer.
@@ -95,6 +97,14 @@
String channelId();
/**
+ * Maintaining Adj-RIB-In separately for each peer.
+ *
+ * @param pathAttr list of Bgp path attributes
+ * @throws BgpParseException while building Adj-Rib-In
+ */
+ void buildAdjRibIn(List<BgpValueType> pathAttr) throws BgpParseException;
+
+ /**
* Return the BGP session info.
*
* @return sessionInfo bgp session info