public class ReactiveRoutingFib extends Object implements org.onosproject.routing.IntentRequestListener
| Modifier and Type | Field and Description |
|---|---|
protected static com.google.common.collect.ImmutableList<org.onosproject.net.intent.Constraint> |
CONSTRAINTS |
| Constructor and Description |
|---|
ReactiveRoutingFib(org.onosproject.core.ApplicationId appId,
org.onosproject.net.host.HostService hostService,
org.onosproject.routing.config.RoutingConfigurationService configService,
org.onosproject.incubator.net.intf.InterfaceService interfaceService,
org.onosproject.routing.IntentSynchronizationService intentSynchronizer)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
mp2pIntentExists(org.onlab.packet.IpPrefix ipPrefix) |
void |
setUpConnectivityHostToHost(org.onlab.packet.IpAddress dstIpAddress,
org.onlab.packet.IpAddress srcIpAddress,
org.onlab.packet.MacAddress srcMacAddress,
org.onosproject.net.ConnectPoint srcConnectPoint) |
void |
setUpConnectivityHostToInternet(org.onlab.packet.IpAddress hostIp,
org.onlab.packet.IpPrefix prefix,
org.onlab.packet.IpAddress nextHopIpAddress) |
void |
setUpConnectivityInternetToHost(org.onlab.packet.IpAddress hostIpAddress) |
void |
updateExistingMp2pIntent(org.onlab.packet.IpPrefix ipPrefix,
org.onosproject.net.ConnectPoint ingressConnectPoint) |
protected static final com.google.common.collect.ImmutableList<org.onosproject.net.intent.Constraint> CONSTRAINTS
public ReactiveRoutingFib(org.onosproject.core.ApplicationId appId,
org.onosproject.net.host.HostService hostService,
org.onosproject.routing.config.RoutingConfigurationService configService,
org.onosproject.incubator.net.intf.InterfaceService interfaceService,
org.onosproject.routing.IntentSynchronizationService intentSynchronizer)
appId - application ID to use to generate intentshostService - host serviceconfigService - routing configuration serviceinterfaceService - interface serviceintentSynchronizer - intent synchronization servicepublic void setUpConnectivityInternetToHost(org.onlab.packet.IpAddress hostIpAddress)
setUpConnectivityInternetToHost in interface org.onosproject.routing.IntentRequestListenerpublic void setUpConnectivityHostToInternet(org.onlab.packet.IpAddress hostIp,
org.onlab.packet.IpPrefix prefix,
org.onlab.packet.IpAddress nextHopIpAddress)
setUpConnectivityHostToInternet in interface org.onosproject.routing.IntentRequestListenerpublic void setUpConnectivityHostToHost(org.onlab.packet.IpAddress dstIpAddress,
org.onlab.packet.IpAddress srcIpAddress,
org.onlab.packet.MacAddress srcMacAddress,
org.onosproject.net.ConnectPoint srcConnectPoint)
setUpConnectivityHostToHost in interface org.onosproject.routing.IntentRequestListenerpublic void updateExistingMp2pIntent(org.onlab.packet.IpPrefix ipPrefix,
org.onosproject.net.ConnectPoint ingressConnectPoint)
updateExistingMp2pIntent in interface org.onosproject.routing.IntentRequestListenerpublic boolean mp2pIntentExists(org.onlab.packet.IpPrefix ipPrefix)
mp2pIntentExists in interface org.onosproject.routing.IntentRequestListenerCopyright © 2015. All rights reserved.