public abstract class AbstractInstanceHandler extends Object implements InstanceHandler
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.core.ApplicationId |
appId |
protected org.onosproject.core.CoreService |
coreService |
protected org.onosproject.net.device.DeviceService |
deviceService |
protected static String |
ERR_VTN_NETWORK |
protected static String |
ERR_VTN_PORT |
protected ExecutorService |
eventExecutor |
protected org.onosproject.net.host.HostListener |
hostListener |
protected org.onosproject.net.host.HostService |
hostService |
protected org.slf4j.Logger |
log |
protected org.onosproject.mastership.MastershipService |
mastershipService |
protected Set<ServiceNetwork.NetworkType> |
netTypes |
protected CordVtnNodeService |
nodeService |
protected static String |
PROPERTY_TUNNEL_DST |
protected ServiceNetworkService |
snetService |
| Constructor and Description |
|---|
AbstractInstanceHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate() |
protected org.onlab.packet.IpAddress |
dataIp(org.onosproject.net.DeviceId deviceId) |
protected org.onosproject.net.PortNumber |
dataPort(org.onosproject.net.DeviceId deviceId) |
protected void |
deactivate() |
protected Set<Instance> |
getInstances(NetworkId netId) |
protected ServiceNetwork |
getServiceNetwork(Instance instance) |
protected ServicePort |
getServicePort(Instance instance) |
protected org.onosproject.net.PortNumber |
hostManagementPort(org.onosproject.net.DeviceId deviceId) |
void |
instanceUpdated(Instance instance)
Handles updated instance.
|
protected org.onosproject.net.flow.instructions.ExtensionTreatment |
tunnelDstTreatment(org.onosproject.net.DeviceId deviceId,
org.onlab.packet.Ip4Address remoteIp) |
protected org.onosproject.net.PortNumber |
tunnelPort(org.onosproject.net.DeviceId deviceId) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinstanceDetected, instanceRemovedprotected final org.slf4j.Logger log
protected static final String ERR_VTN_NETWORK
protected static final String ERR_VTN_PORT
protected static final String PROPERTY_TUNNEL_DST
protected org.onosproject.core.CoreService coreService
protected org.onosproject.mastership.MastershipService mastershipService
protected org.onosproject.net.host.HostService hostService
protected org.onosproject.net.device.DeviceService deviceService
protected ServiceNetworkService snetService
protected CordVtnNodeService nodeService
protected org.onosproject.core.ApplicationId appId
protected Set<ServiceNetwork.NetworkType> netTypes
protected org.onosproject.net.host.HostListener hostListener
protected final ExecutorService eventExecutor
protected void activate()
protected void deactivate()
public void instanceUpdated(Instance instance)
InstanceHandlerinstanceUpdated in interface InstanceHandlerinstance - instanceprotected ServiceNetwork getServiceNetwork(Instance instance)
protected ServicePort getServicePort(Instance instance)
protected org.onosproject.net.PortNumber dataPort(org.onosproject.net.DeviceId deviceId)
protected org.onosproject.net.PortNumber tunnelPort(org.onosproject.net.DeviceId deviceId)
protected org.onosproject.net.PortNumber hostManagementPort(org.onosproject.net.DeviceId deviceId)
protected org.onosproject.net.flow.instructions.ExtensionTreatment tunnelDstTreatment(org.onosproject.net.DeviceId deviceId,
org.onlab.packet.Ip4Address remoteIp)
protected org.onlab.packet.IpAddress dataIp(org.onosproject.net.DeviceId deviceId)
Copyright © 2018. All rights reserved.