mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-14 01:06:13 +02:00
Temporary fix to route withdrawl problem in Atrium 16A release branch.
ONOS FPM manager ignores FPM messages with protocols other than ZEBRA. This change accepts all protocols. Change-Id: I8173d4ddf02a594f81e86c36c823be98b468455a
This commit is contained in:
parent
17d38f4c59
commit
6bb3bddc73
@ -41,7 +41,8 @@ import org.onosproject.routing.fpm.protocol.RouteAttribute;
|
||||
import org.onosproject.routing.fpm.protocol.RouteAttributeDst;
|
||||
import org.onosproject.routing.fpm.protocol.RouteAttributeGateway;
|
||||
import org.onosproject.routing.fpm.protocol.RtNetlink;
|
||||
import org.onosproject.routing.fpm.protocol.RtProtocol;
|
||||
//import org.onosproject.routing.fpm.protocol.RtProtocol;
|
||||
//import org.osgi.service.component.ComponentContext;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
@ -146,10 +147,10 @@ public class FpmManager implements RouteSourceService {
|
||||
log.trace("Received FPM message: {}", fpmMessage);
|
||||
}
|
||||
|
||||
if (rtNetlink.protocol() != RtProtocol.ZEBRA) {
|
||||
/*if (rtNetlink.protocol() != RtProtocol.ZEBRA) {
|
||||
log.trace("Ignoring non-zebra route");
|
||||
return;
|
||||
}
|
||||
}*/
|
||||
|
||||
IpAddress dstAddress = null;
|
||||
IpAddress gateway = null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user