blob: dcb55006b704e5dd579990959d78f2a33abb5020 [file] [log] [blame]
package net.floodlightcontroller.bgproute;
import net.floodlightcontroller.util.IPv4;
import net.floodlightcontroller.util.MACAddress;
import net.floodlightcontroller.util.SwitchPort;
public class GatewayRouter {
private SwitchPort attachmentPoint;
private MACAddress routerMac;
private IPv4 routerIp;
public GatewayRouter(SwitchPort attachmentPoint, MACAddress routerMac, IPv4 routerIp) {
this.attachmentPoint = attachmentPoint;
this.routerMac = routerMac;
this.routerIp = routerIp;
}
public SwitchPort getAttachmentPoint() {
return attachmentPoint;
}
public MACAddress getRouterMac() {
return routerMac;
}
public IPv4 getRouterIp() {
return routerIp;
}
}