public final class VbngConfiguration extends Object
| Constructor and Description |
|---|
VbngConfiguration(List<org.onlab.packet.IpPrefix> prefixes,
org.onlab.packet.IpAddress nextHopIpAddress,
org.onlab.packet.MacAddress publicFacingMac,
org.onlab.packet.IpAddress xosIpAddress,
int xosRestPort,
Map<String,ConnectPointConfiguration> hosts)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,org.onosproject.net.ConnectPoint> |
getHosts() |
List<org.onlab.packet.IpPrefix> |
getLocalPublicIpPrefixes()
Gets a list of public IP prefixes configured for local SDN network.
|
org.onlab.packet.IpAddress |
getNextHopIpAddress()
Gets the IP address configured for the next hop (upstream gateway).
|
org.onlab.packet.MacAddress |
getPublicFacingMac()
Gets the MAC address configured for all the public IP addresses.
|
org.onlab.packet.IpAddress |
getXosIpAddress()
Gets the IP address configured for XOS server.
|
int |
getXosRestPort()
Gets the REST communication port configured for XOS server.
|
public VbngConfiguration(List<org.onlab.packet.IpPrefix> prefixes, org.onlab.packet.IpAddress nextHopIpAddress, org.onlab.packet.MacAddress publicFacingMac, org.onlab.packet.IpAddress xosIpAddress, int xosRestPort, Map<String,ConnectPointConfiguration> hosts)
nextHopIpAddress - the IP address of the next hopprefixes - the public IP prefix list for local SDN networkpublicFacingMac - the MAC address configured for all local
public IP addressesxosIpAddress - the XOS server IP addressxosRestPort - the port of the XOS server for RESThosts - map of hostspublic List<org.onlab.packet.IpPrefix> getLocalPublicIpPrefixes()
public org.onlab.packet.IpAddress getNextHopIpAddress()
public org.onlab.packet.MacAddress getPublicFacingMac()
public org.onlab.packet.IpAddress getXosIpAddress()
public int getXosRestPort()