public class Vpls extends Object
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.app.ApplicationService |
applicationService |
protected org.onosproject.core.CoreService |
coreService |
protected org.onosproject.net.host.HostService |
hostService |
protected org.onosproject.net.intent.IntentService |
intentService |
protected org.onosproject.routing.IntentSynchronizationService |
intentSynchronizer |
protected org.onosproject.routing.IntentSynchronizationAdminService |
intentSynchronizerAdmin |
protected org.onosproject.incubator.net.intf.InterfaceService |
interfaceService |
| Constructor and Description |
|---|
Vpls() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
deactivate() |
protected com.google.common.collect.SetMultimap<org.onlab.packet.VlanId,org.onosproject.net.ConnectPoint> |
getConfigCPoints()
Computes the list of configured interfaces with a VLAN Id.
|
protected com.google.common.collect.SetMultimap<org.onlab.packet.VlanId,javafx.util.Pair<org.onosproject.net.ConnectPoint,org.onlab.packet.MacAddress>> |
pairAvailableHosts(com.google.common.collect.SetMultimap<org.onlab.packet.VlanId,org.onosproject.net.ConnectPoint> confCPointsByVlan)
Checks if for any ConnectPoint configured there's an host present
and in case it associate them together.
|
protected void |
setupConnectivity() |
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.app.ApplicationService applicationService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.core.CoreService coreService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.host.HostService hostService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.net.intent.IntentService intentService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.incubator.net.intf.InterfaceService interfaceService
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.routing.IntentSynchronizationService intentSynchronizer
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.routing.IntentSynchronizationAdminService intentSynchronizerAdmin
@Activate public void activate()
@Deactivate public void deactivate()
protected void setupConnectivity()
protected com.google.common.collect.SetMultimap<org.onlab.packet.VlanId,org.onosproject.net.ConnectPoint> getConfigCPoints()
protected com.google.common.collect.SetMultimap<org.onlab.packet.VlanId,javafx.util.Pair<org.onosproject.net.ConnectPoint,org.onlab.packet.MacAddress>> pairAvailableHosts(com.google.common.collect.SetMultimap<org.onlab.packet.VlanId,org.onosproject.net.ConnectPoint> confCPointsByVlan)
confCPointsByVlan - the configured ConnectPoints grouped by vlan idCopyright © 2016. All rights reserved.