public interface ScalableGatewayService
| Modifier and Type | Method and Description |
|---|---|
boolean |
addGatewayNode(GatewayNode gatewayNode)
Adds gateway node in scalableGW application.
|
boolean |
deleteGatewayNode(GatewayNode gatewayNode)
Removes gateway node in scalableGW application.
|
List<org.onosproject.net.DeviceId> |
getGatewayDeviceIds()
Returns the list of gateway`s device identifiers.
|
org.onosproject.core.GroupId |
getGatewayGroupId(org.onosproject.net.DeviceId srcDeviceId)
Returns group id for gateway load balance.
|
GatewayNode |
getGatewayNode(org.onosproject.net.DeviceId deviceId)
Returns gateway node with the given device identifier.
|
List<GatewayNode> |
getGatewayNodes()
Returns the list of gateway node information with the given device identifier.
|
org.onosproject.net.PortNumber |
getUplinkPort(org.onosproject.net.DeviceId deviceId)
Returns the uplink port number of the gateway with the supplied device ID.
|
GatewayNode getGatewayNode(org.onosproject.net.DeviceId deviceId)
deviceId - The gateway node deviceIdorg.onosproject.net.PortNumber getUplinkPort(org.onosproject.net.DeviceId deviceId)
deviceId - the gateway node device idorg.onosproject.core.GroupId getGatewayGroupId(org.onosproject.net.DeviceId srcDeviceId)
srcDeviceId - source device idList<GatewayNode> getGatewayNodes()
List<org.onosproject.net.DeviceId> getGatewayDeviceIds()
boolean addGatewayNode(GatewayNode gatewayNode)
gatewayNode - Target gateway nodeboolean deleteGatewayNode(GatewayNode gatewayNode)
gatewayNode - Target gateway node