Interface CentralizedSwitchScheduler
-
- All Known Implementing Classes:
WeightedCentralizedSwitchScheduler
public interface CentralizedSwitchScheduler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.opendaylight.yangtools.yang.common.Uint64
getCentralizedSwitch(java.lang.String routerName)
Retrieves the centralized switch scheduled for the router.boolean
releaseCentralizedSwitch(Routers router)
Releases the centralized switch scheduled for the router.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.
-
-
-
Method Detail
-
scheduleCentralizedSwitch
boolean scheduleCentralizedSwitch(Routers router)
Schedule the centralized switch for the router.- Parameters:
router
- the external router.- Returns:
- success/failure
-
updateCentralizedSwitch
boolean updateCentralizedSwitch(Routers oldRouter, Routers newRouter)
Update the centralized switch scheduled for the router.- Parameters:
oldRouter
- the existing external router.newRouter
- the new external router.- Returns:
- success/failure
-
releaseCentralizedSwitch
boolean releaseCentralizedSwitch(Routers router)
Releases the centralized switch scheduled for the router.- Parameters:
router
- the external router.- Returns:
- success/failure
-
getCentralizedSwitch
org.opendaylight.yangtools.yang.common.Uint64 getCentralizedSwitch(java.lang.String routerName)
Retrieves the centralized switch scheduled for the router.- Parameters:
routerName
- the router name.- Returns:
- success/failure
-
-