blob: 1d2a47bf7dcec49b9f80e3bed5fae113889dd7fe [file] [log] [blame]
package net.onrc.onos.ofcontroller.bgproute;
import java.net.InetAddress;
/*
* A path is always assumed to be from all other interfaces (external-facing
* switchports) to the destination interface.
*/
public class PathUpdate {
private Interface dstInterface;
private InetAddress dstIpAddress;
public PathUpdate(Interface dstInterface, InetAddress dstIpAddress) {
this.dstInterface = dstInterface;
this.dstIpAddress = dstIpAddress;
}
public Interface getDstInterface() {
return dstInterface;
}
public InetAddress getDstIpAddress() {
return dstIpAddress;
}
}