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 IntentSynchronizationService |
intentSynchronizer |
protected InterfaceService |
interfaceService |
protected static String |
VPLS_APP |
| 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,org.apache.commons.lang3.tuple.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 presents
and in case it associates them together.
|
protected void |
setupConnectivity() |
protected static final String VPLS_APP
@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 InterfaceService interfaceService
@Reference(cardinality=MANDATORY_UNARY) protected IntentSynchronizationService intentSynchronizer
@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,org.apache.commons.lang3.tuple.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 Id