...
- Config in JSON-Format
- One config file per bundle in $ODL_HOME/etc
- Each parameter has a commt, that is handled as attribute.
Basi requirements
- Attribute name similar to config attribute
JSON Configuration for devicemanager
Configuraton Class like this
Code Block |
---|
class devicemanagerConfiguration {
Database database;
}
class Database {
String cluster;
String node;
String index;
long archiveCheckIntervalSeconds;
long archiveLifetimeSeconds;
HostInfo[] hosts;
}
class HostInfo {
String hostname;
int port;
String protocol;
} |
filename: devicemanager.properties
Code Block |
---|
"devicemanager": {
"Database":{
"cluster":"sdnrdb",
"node" "mynode",
"index":"index",
"archiveCheckIntervalSeconds":9,
"archiveLifetimeSeconds":120,
"hosts": [
{
"hostname":"xyz",
"port":9200,
"protocol":"tcp"
}
]
}
} |
Configurations till El Alto
...