public final class RoutingConfiguration
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.util.Set<RoutersConfig.Router> |
getRouterConfigurations(org.onosproject.net.config.NetworkConfigService configService,
org.onosproject.core.ApplicationId routingAppId)
Retrieves the router configurations.
|
static void |
register(org.onosproject.net.config.NetworkConfigRegistry registry)
Registers the routing configuration factories.
|
static void |
unregister(org.onosproject.net.config.NetworkConfigRegistry registry)
Unregisters the routing configuration factories.
|
public static void register(org.onosproject.net.config.NetworkConfigRegistry registry)
registry - network config registry servicepublic static void unregister(org.onosproject.net.config.NetworkConfigRegistry registry)
The factories will only be unregistered from the network config registry if no other routing applications are using them. Any components that call NetworkConfigHelper#registerConfigFactories need to also call this method when they are no longer using the config
registry - network config registry servicepublic static java.util.Set<RoutersConfig.Router> getRouterConfigurations(org.onosproject.net.config.NetworkConfigService configService, org.onosproject.core.ApplicationId routingAppId)
configService - network config serviceroutingAppId - routing app ID