public final class OpenflowConfigUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Set<org.opendaylight.yangtools.yang.binding.YangModuleInfo> |
OFP_MODELS |
| Constructor and Description |
|---|
OpenflowConfigUtils() |
| Modifier and Type | Method and Description |
|---|---|
static OpenflowpluginConfiguration |
getDefaultOfpConfiguration()
Create new default configuration for OFP
|
static OpenflowpluginConfiguration |
getOfpConfiguration(InputStream jsonConfigInputStream)
Read configuration from InputStream representing JSON configuration data.
|
public static final Set<org.opendaylight.yangtools.yang.binding.YangModuleInfo> OFP_MODELS
public static OpenflowpluginConfiguration getDefaultOfpConfiguration()
public static OpenflowpluginConfiguration getOfpConfiguration(InputStream jsonConfigInputStream) throws ConfigurationException
jsonConfigInputStream - InputStream representing JSON configuration.ConfigurationException - Thrown if JSON configuration cannot be deserializable to JSON
tree nodes or cannot bind JSON tree node to type.Copyright © 2019. All rights reserved.