blob: dcb55006b704e5dd579990959d78f2a33abb5020 [file] [log] [blame]
Jonathan Harte7e1c6e2013-06-04 20:50:23 -07001package net.floodlightcontroller.bgproute;
2
3import net.floodlightcontroller.util.IPv4;
4import net.floodlightcontroller.util.MACAddress;
5import net.floodlightcontroller.util.SwitchPort;
6
7public class GatewayRouter {
8 private SwitchPort attachmentPoint;
9 private MACAddress routerMac;
10 private IPv4 routerIp;
11
12 public GatewayRouter(SwitchPort attachmentPoint, MACAddress routerMac, IPv4 routerIp) {
13 this.attachmentPoint = attachmentPoint;
14 this.routerMac = routerMac;
15 this.routerIp = routerIp;
16 }
17
18 public SwitchPort getAttachmentPoint() {
19 return attachmentPoint;
20 }
21
22 public MACAddress getRouterMac() {
23 return routerMac;
24 }
25
26 public IPv4 getRouterIp() {
27 return routerIp;
28 }
29}