@Singleton public class InterVpnLinkLocator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
NBR_OF_DPNS_PROPERTY_NAME |
| Constructor and Description |
|---|
InterVpnLinkLocator(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
InterVpnLinkCache interVpnLinkCache) |
| Modifier and Type | Method and Description |
|---|---|
List<InterVpnLinkDataComposite> |
findInterVpnLinksSameGroup(InterVpnLink ivpnLinkToMatch,
List<InterVpnLinkDataComposite> interVpnLinks) |
List<BigInteger> |
selectSuitableDpns(InterVpnLink interVpnLink)
Retrieves a list of randomly selected DPNs avoiding to select DPNs
where there is already an InterVpnLink of the same group (i.e., an
InterVpnLink that links similar L3VPNs).
|
protected static final String NBR_OF_DPNS_PROPERTY_NAME
@Inject
public InterVpnLinkLocator(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
InterVpnLinkCache interVpnLinkCache)
public List<BigInteger> selectSuitableDpns(InterVpnLink interVpnLink)
interVpnLink - InterVpnLink to find suitable DPNs for.public List<InterVpnLinkDataComposite> findInterVpnLinksSameGroup(InterVpnLink ivpnLinkToMatch, List<InterVpnLinkDataComposite> interVpnLinks)
Copyright © 2019 OpenDaylight. All rights reserved.