public interface NatSwitchCache
Modifier and Type | Method and Description |
---|---|
void |
addSwitch(BigInteger dpnId)
Adds a switch to the scheduler pool.
|
void |
deregister(NatSwitchCacheListener centralizedSwitchCacheListener)
Register for switch removed notification.
|
Map<BigInteger,SwitchInfo> |
getSwitches()
Return the switches map with weight.
|
Set<BigInteger> |
getSwitchesConnectedToExternal(String providerNet)
Return the switches which has external bridge mappings.
|
boolean |
isSwitchConnectedToExternal(BigInteger dpnId,
String providerNet)
Check whether the switch has external bridge mappings.
|
void |
register(NatSwitchCacheListener centralizedSwitchCacheListener)
Register for switch added notification.
|
void |
removeSwitch(BigInteger dpnId)
Removes a switch from the scheduler pool.
|
void addSwitch(BigInteger dpnId)
dpnId
- the switch id.void removeSwitch(BigInteger dpnId)
dpnId
- the switch id.boolean isSwitchConnectedToExternal(BigInteger dpnId, String providerNet)
dpnId
- the switch id.providerNet
- the provider network.Set<BigInteger> getSwitchesConnectedToExternal(String providerNet)
providerNet
- the provider network.Map<BigInteger,SwitchInfo> getSwitches()
void register(NatSwitchCacheListener centralizedSwitchCacheListener)
centralizedSwitchCacheListener
- the instance of a listenervoid deregister(NatSwitchCacheListener centralizedSwitchCacheListener)
centralizedSwitchCacheListener
- the instance of a listenerCopyright © 2019 OpenDaylight. All rights reserved.