public interface CentralizedSwitchScheduler
| Modifier and Type | Method and Description |
|---|---|
boolean |
addSwitch(BigInteger dpnId)
Adds a switch to the scheduler pool.
|
BigInteger |
getCentralizedSwitch(String routerName)
Retrieves the centralized switch scheduled for the router.
|
boolean |
isSwitchConnectedToExternal(BigInteger dpnId,
String providerNet)
Check whether the switch has external bridge mappings.
|
boolean |
releaseCentralizedSwitch(Routers router)
Releases the centralized switch scheduled for the router.
|
boolean |
removeSwitch(BigInteger dpnId)
Removes a switch from the scheduler pool.
|
boolean |
scheduleCentralizedSwitch(Routers router)
Schedule the centralized switch for the router.
|
boolean |
updateCentralizedSwitch(Routers oldRouter,
Routers newRouter)
Update the centralized switch scheduled for the router.
|
boolean scheduleCentralizedSwitch(Routers router)
router - the external router.boolean updateCentralizedSwitch(Routers oldRouter, Routers newRouter)
oldRouter - the existing external router.newRouter - the new external router.boolean releaseCentralizedSwitch(Routers router)
router - the external router.BigInteger getCentralizedSwitch(String routerName)
routerName - the router name.boolean addSwitch(BigInteger dpnId)
dpnId - the switch id.boolean removeSwitch(BigInteger dpnId)
dpnId - the switch id.boolean isSwitchConnectedToExternal(BigInteger dpnId, String providerNet)
dpnId - the switch id.providerNet - the provider network.Copyright © 2019 OpenDaylight. All rights reserved.