@Singleton public class CentralizedSwitchProvider extends Object implements ICentralizedSwitchProvider
| Constructor and Description |
|---|
CentralizedSwitchProvider(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker) |
| Modifier and Type | Method and Description |
|---|---|
BigInteger |
getPrimarySwitchForRouter(String routerName)
Get the primary switch selected for the router if it has previously been
allocated.
|
@Inject public CentralizedSwitchProvider(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker)
public BigInteger getPrimarySwitchForRouter(String routerName)
ICentralizedSwitchProvidergetPrimarySwitchForRouter in interface ICentralizedSwitchProviderrouterName - The router's name.Copyright © 2019 OpenDaylight. All rights reserved.