public interface IntentRequestListener
| Modifier and Type | Method and Description |
|---|---|
boolean |
mp2pIntentExists(org.onlab.packet.IpPrefix ipPrefix)
Checks whether there is a MultiPointToSinglePointIntent in memory for a
given IP prefix.
|
void |
setUpConnectivityHostToHost(org.onlab.packet.IpAddress dstIpAddress,
org.onlab.packet.IpAddress srcIpAddress,
org.onlab.packet.MacAddress srcMacAddress,
ConnectPoint srcConnectPoint)
Sets up the connectivity for two hosts in local SDN network.
|
void |
setUpConnectivityHostToInternet(org.onlab.packet.IpAddress hostIp,
org.onlab.packet.IpPrefix prefix,
org.onlab.packet.IpAddress nextHopIpAddress)
Sets up connectivity for packet from a local host to the Internet.
|
void |
setUpConnectivityInternetToHost(org.onlab.packet.IpAddress dstIpAddress)
Sets up connectivity for packet from Internet to a host in local
SDN network.
|
void |
updateExistingMp2pIntent(org.onlab.packet.IpPrefix ipPrefix,
ConnectPoint ingressConnectPoint)
Adds one new ingress connect point into ingress points of an existing
intent and resubmits the new intent.
|
void setUpConnectivityInternetToHost(org.onlab.packet.IpAddress dstIpAddress)
dstIpAddress - IP address of destination host in local SDN networkvoid setUpConnectivityHostToHost(org.onlab.packet.IpAddress dstIpAddress,
org.onlab.packet.IpAddress srcIpAddress,
org.onlab.packet.MacAddress srcMacAddress,
ConnectPoint srcConnectPoint)
dstIpAddress - the destination IP addresssrcIpAddress - the source IP addresssrcMacAddress - the source MAC addresssrcConnectPoint - the connectPoint of the source hostvoid setUpConnectivityHostToInternet(org.onlab.packet.IpAddress hostIp,
org.onlab.packet.IpPrefix prefix,
org.onlab.packet.IpAddress nextHopIpAddress)
hostIp - IP address of the local hostprefix - external IP prefix that the host is talking tonextHopIpAddress - IP address of the next hop router for the prefixvoid updateExistingMp2pIntent(org.onlab.packet.IpPrefix ipPrefix,
ConnectPoint ingressConnectPoint)
If there is already an intent for an IP prefix in the system, we do not need to create a new one, we only need to update this existing intent by adding more ingress points.
ipPrefix - the IP prefix used to search the existing
MultiPointToSinglePointIntentingressConnectPoint - the ingress connect point to be added into
the exiting intentboolean mp2pIntentExists(org.onlab.packet.IpPrefix ipPrefix)
ipPrefix - the IP prefix used to search the existing
MultiPointToSinglePointIntent