| Package | Description |
|---|---|
| org.onosproject.net.config |
Subsystem for tracking network environment configuration.
|
| org.onosproject.net.config.basics |
Various basic builtin network configurations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConfigFactory<S,C extends Config<S>>
Base abstract factory for creating configurations for the specified subject type.
|
| Modifier and Type | Method and Description |
|---|---|
<S,C extends Config<S>> |
NetworkConfigService.addConfig(S subject,
Class<C> configClass)
Creates a new configuration for the specified subject and configuration
class.
|
<S,C extends Config<S>> |
NetworkConfigStore.applyConfig(S subject,
Class<C> configClass,
com.fasterxml.jackson.databind.JsonNode json)
Applies configuration for the specified subject and configuration
class using the raw JSON object.
|
<S,C extends Config<S>> |
NetworkConfigService.applyConfig(S subject,
Class<C> configClass,
com.fasterxml.jackson.databind.JsonNode json)
Applies configuration for the specified subject and configuration
class using the raw JSON object.
|
<S,C extends Config<S>> |
NetworkConfigStore.clearConfig(S subject,
Class<C> configClass)
Clears the configuration of the given class for the specified subject.
|
<S,C extends Config<S>> |
NetworkConfigStore.createConfig(S subject,
Class<C> configClass)
Creates a new configuration of the given class for the specified subject.
|
<S,C extends Config<S>> |
NetworkConfigStore.getConfig(S subject,
Class<C> configClass)
Get the configuration of the given class and for the specified subject.
|
<S,C extends Config<S>> |
NetworkConfigService.getConfig(S subject,
Class<C> configClass)
Returns the configuration for the specified subject and configuration
class if one is available; null otherwise.
|
<S,C extends Config<S>> |
NetworkConfigRegistry.getConfigFactories(Class<S> subjectClass)
Returns set of all configuration factories registered for the specified
class of subject.
|
<S,C extends Config<S>> |
NetworkConfigStore.getConfigFactory(Class<C> configClass)
Returns the configuration factory for the specified configuration class.
|
<S,C extends Config<S>> |
NetworkConfigRegistry.getConfigFactory(Class<C> configClass)
Returns the configuration factory that produces the specified class of
configurations.
|
<S,C extends Config<S>> |
NetworkConfigStore.getSubjects(Class<S> subjectClass,
Class<C> configClass)
Returns set of subjects of the specified class, which have the
specified class of network configuration associated with them.
|
<S,C extends Config<S>> |
NetworkConfigService.getSubjects(Class<S> subjectClass,
Class<C> configClass)
Returns the set of subjects for which the specified configuration is
available.
|
<S,C extends Config<S>> |
NetworkConfigService.removeConfig(S subject,
Class<C> configClass)
Clears any configuration for the specified subject and configuration
class.
|
| Modifier and Type | Method and Description |
|---|---|
protected Config<S> |
Config.setOrClear(String name,
Boolean value)
Sets the specified property as a boolean or clears it if null value given.
|
protected <T> Config<S> |
Config.setOrClear(String name,
Collection<T> collection)
Sets the specified property as an array of items in a given collection or
clears it if null is given.
|
protected Config<S> |
Config.setOrClear(String name,
Double value)
Sets the specified property as a double or clears it if null value given.
|
protected <E extends Enum> |
Config.setOrClear(String name,
E value)
Sets the specified property as a double or clears it if null value given.
|
protected Config<S> |
Config.setOrClear(String name,
Integer value)
Sets the specified property as an integer or clears it if null value given.
|
protected Config<S> |
Config.setOrClear(String name,
Long value)
Sets the specified property as a long or clears it if null value given.
|
protected Config<S> |
Config.setOrClear(String name,
String value)
Sets the specified property as a string or clears it if null value given.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Config> |
NetworkConfigService.getConfigClass(String subjectKey,
String configKey)
Returns the configuration class with the specified key.
|
<S> Set<Class<? extends Config<S>>> |
NetworkConfigStore.getConfigClasses(S subject)
Returns set of configuration classes available for the specified subject.
|
<S> Set<? extends Config<S>> |
NetworkConfigService.getConfigs(S subject)
Returns all configurations for the specified subject.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConfigApplyDelegate.onApply(Config config)
Processes changes applied to the specified configuration.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AllowedEntityConfig<S>
Base abstraction for network entities for which admission into control
domain can be selectively configured, e.g.
|
class |
BasicDeviceConfig
Basic configuration for network infrastructure devices.
|
class |
BasicElementConfig<S>
Basic configuration for network elements, e.g.
|
class |
BasicHostConfig
Basic configuration for network end-station hosts.
|
class |
BasicLinkConfig
Basic configuration for network infrastructure link.
|
class |
OpticalPortConfig
Configurations for an optical port on a device.
|
Copyright © 2015. All rights reserved.