You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 16
Next »
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.
Basic requirements
- Attribute name similar to config attribute
- Configuration change listener on section level (Example Database)
Configuration for devicemanager
Configuraton Class like this
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;
}
Overview
eyJleHRTcnZJbnRlZ1R5cGUiOiIiLCJnQ2xpZW50SWQiOiIiLCJjcmVhdG9yTmFtZSI6IkhlcmJlcnQgRWlzZWx0Iiwib3V0cHV0VHlwZSI6ImJsb2NrIiwibGFzdE1vZGlmaWVyTmFtZSI6IkhlcmJlcnQgRWlzZWx0IiwibGFuZ3VhZ2UiOiJlbiIsImRpYWdyYW1EaXNwbGF5TmFtZSI6IiIsInNGaWxlSWQiOiIiLCJhdHRJZCI6IjY4NTQ4NzU3IiwiZGlhZ3JhbU5hbWUiOiJDb25maWd1cmF0aW9uQ2xhc3NlcyIsImFzcGVjdCI6IiIsImxpbmtzIjoiYXV0byIsImNlb05hbWUiOiJDb25maWd1cmF0aW9uIiwidGJzdHlsZSI6InRvcCIsImNhbkNvbW1lbnQiOmZhbHNlLCJkaWFncmFtVXJsIjoiIiwiY3N2RmlsZVVybCI6IiIsImJvcmRlciI6dHJ1ZSwibWF4U2NhbGUiOiIxIiwib3duaW5nUGFnZUlkIjo2ODU0ODM3NywiZWRpdGFibGUiOmZhbHNlLCJjZW9JZCI6Njg1NDg4MDMsInBhZ2VJZCI6IiIsImxib3giOnRydWUsInNlcnZlckNvbmZpZyI6eyJlbWFpbHByZXZpZXciOiIxIn0sIm9kcml2ZUlkIjoiIiwicmV2aXNpb24iOjEsIm1hY3JvSWQiOiJiNTY5NDc0MC05Nzg3LTRjNDEtYjg3My1mNzBlN2Q4NTA2M2YiLCJwcmV2aWV3TmFtZSI6IkNvbmZpZ3VyYXRpb25DbGFzc2VzLnBuZyIsImxpY2Vuc2VTdGF0dXMiOiJPSyIsInNlcnZpY2UiOiIiLCJpc1RlbXBsYXRlIjoiIiwid2lkdGgiOiI2NDEiLCJzaW1wbGVWaWV3ZXIiOmZhbHNlLCJsYXN0TW9kaWZpZWQiOjE1Njg2NDg0MTkwMDAsImV4Y2VlZFBhZ2VXaWR0aCI6ZmFsc2UsIm9DbGllbnRJZCI6IiJ9
Configurations till El Alto
Configuration parameters till ElAlto from etc/devicemanager.propertiesClick here to expand...
[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
Configuration ApiGateway
Configuration ApiGateway
aai=off
aaiHeaders=["X-FromAppId:SDNR","Authorization:Basic QUFJOkFBSQ=="]
database=http://sdnrdb:9200
insecure=0
cors=0