Change in Frankfurt
- 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
Expand |
---|
title | Configuration parameters till ElAlto from etc/devicemanager.propertiesClick here to expand... |
---|
|
Code Block |
---|
[es]
esCluster=sdnr
esArchiveCheckIntervalSeconds=0
esArchiveLifetimeSeconds=2592000
esHosts=http://sdnrdb:9200
[toggleAlarmFilter]
taEnabled=true
taDelay=3000
[dcae]
dcaeUrl=off
dcaeUserCredentials=admin:admin
dcaeHeartbeatPeriodSeconds=120
[aai]
aaiUrl=off
aaiUserCredentials=
aaiHeaders=["X-TransactionId: 9999"]
aaiDeleteOnMountpointRemove=false
aaiTrustAllCerts=false
aaiPropertiesFile=
aaiApiVersion=aai/v13
aaiApplicationId=SDNR
aaiClientConnectionTimeout=30000
aaiPcks12ClientCertFile=
aaiPcks12ClientCertPassphrase=
[pm]
pmEnabled=true
pmCluster=sdnr
[devicemonitor]
SeverityconnectionLossOAM=Major
SeverityconnectionLossMediator=Major
SeverityconnectionLossNeOAM=Major |
|
Expand |
---|
title | Configuration ApiGateway |
---|
|
Configuration ApiGateway Code Block |
---|
aai=off
aaiHeaders=["X-FromAppId:SDNR","Authorization:Basic QUFJOkFBSQ=="]
database=http://sdnrdb:9200
insecure=0
cors=0 |
|