Configuration class

Change in Frankfurt

  • Configuration in Text format

  • Sections with Attribute names

  • Root section (For general Comments)

  • Attribute Types

    • Basic: String, Long, Boolean

    • Comments apply to a section

  • One config file per bundle in $ODL_HOME/etc

  • Each parameter has a commet, that is handled as attribute.

  • After initial read .. the specified parameters are extended by all remaining parameters with defalt value.

  • A change of the configuration file with editor forces a notification to allow parameter replacement.

Basic requirements

  • Attribute name similar to config attribute

  • Configuration change listener on section level (Example Database)

Overview

Configurations till El Alto



[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

aai=off aaiHeaders=["X-FromAppId:SDNR","Authorization:Basic QUFJOkFBSQ=="] database=http://sdnrdb:9200 insecure=0 cors=0