Switch initial config files format to xml and add autodetect adapter for config persi...
[controller.git] / opendaylight / distribution / opendaylight / src / main / resources / configuration / config.ini
1 osgi.bundles=\
2     reference\:file\:../lib/org.apache.felix.fileinstall-3.1.6.jar@1:start,\
3     reference\:file\:../lib/org.eclipse.jdt.core.compiler.batch-3.8.0.I20120518-2145.jar@1:start,\
4     reference\:file\:../lib/org.eclipse.equinox.ds-1.4.0.v20120522-1841.jar@2:start,\
5     reference\:file\:../lib/org.eclipse.equinox.util-1.0.400.v20120522-2049.jar@2:start,\
6     reference\:file\:../lib/org.eclipse.osgi.services-3.3.100.v20120522-1822@2:start,\
7     reference\:file\:../lib/org.eclipse.equinox.console-1.0.0.v20120522-1841.jar@start,\
8     reference\:file\:../lib/slf4j-api-1.7.2.jar@1:start,\
9     reference\:file\:../lib/logback-classic-1.0.9.jar@1:start,\
10     reference\:file\:../lib/logback-core-1.0.9.jar@1:start,\
11     reference\:file\:../lib/logging.bridge-0.4.1-SNAPSHOT@1:start,\
12     reference\:file\:../lib/jersey-core-1.17.jar@2:start,\
13     reference\:file\:../lib/jersey-server-1.17.jar@2:start
14
15 # Netconf startup configuration
16 netconf.tcp.address=0.0.0.0
17 netconf.tcp.port=8383
18
19 netconf.tcp.client.address=127.0.0.1
20 netconf.tcp.client.port=8383
21
22 netconf.ssh.address=0.0.0.0
23 netconf.ssh.port=1830
24 netconf.ssh.pk.path = ./configuration/RSA.pk
25
26
27 netconf.config.persister.active=1,2
28 # read startup configuration
29 #netconf.config.persister.1.storageAdapterClass=org.opendaylight.controller.config.persist.storage.directory.DirectoryStorageAdapter
30 #netconf.config.persister.1.properties.directoryStorage=configuration/initial/
31 #netconf.config.persister.1.readonly=true
32
33 netconf.config.persister.1.storageAdapterClass=org.opendaylight.controller.config.persist.storage.directory.autodetect.AutodetectDirectoryStorageAdapter
34 netconf.config.persister.1.properties.directoryStorage=configuration/initial/
35 netconf.config.persister.1.readonly=true
36
37 #netconf.config.persister.3.storageAdapterClass=org.opendaylight.controller.config.persist.storage.directory.xml.XmlDirectoryStorageAdapter
38 #netconf.config.persister.3.properties.directoryStorage=configuration/initialXml/
39 #netconf.config.persister.3.readonly=true
40
41 #netconf.config.persister.4.storageAdapterClass=org.opendaylight.controller.config.persist.storage.file.FileStorageAdapter
42 #netconf.config.persister.4.properties.fileStorage=configuration/current/controller.currentconfig.txt
43 #netconf.config.persister.4.properties.numberOfBackups=1
44
45 netconf.config.persister.2.storageAdapterClass=org.opendaylight.controller.config.persist.storage.file.xml.XmlFileStorageAdapter
46 netconf.config.persister.2.properties.fileStorage=configuration/current/controller.currentconfig.xml
47 netconf.config.persister.2.properties.numberOfBackups=1
48
49
50 yangstore.blacklist=.*controller.model.*
51
52 # Set Default start level for framework
53 osgi.bundles.defaultStartLevel=4
54 # Extra packages to import from the boot class loader
55 org.osgi.framework.system.packages.extra=sun.reflect,sun.reflect.misc,sun.misc
56 # This is not Eclipse App
57 eclipse.ignoreApp=true
58 # Don't shutdown equinox if the eclipse App has ended,
59 # which is our case because we are not running any eclipse application
60 osgi.noShutdown=true
61 # Clean any cached data on restart of the framework
62 osgi.clean=true
63 # Extend the framework to avoid the resources to be presented with
64 # a URL of type bundleresource: but to be presented as file:
65 osgi.hook.configurators.include=org.eclipse.virgo.kernel.equinox.extensions.hooks.ExtensionsHookConfigurator
66 # Directory from where the fileinstall will monitor for new bundles
67 felix.fileinstall.dir=./plugins
68 # Immediately learn new bundles at startup
69 felix.fileinstall.noInitialDelay=true
70 # Auto start the bundles at level 4
71 felix.fileinstall.start.level=4
72 # Avoid to auto-install following bundles, that means those need
73 # to be started manually or in other way like osgi.bundles
74 felix.fileinstall.filter=^(?!org.apache.felix.fileinstall).*
75
76 # logback configuration
77 logback.configurationFile=configuration/logback.xml
78
79 # Container configuration
80 container.profile = Container
81
82 # Connection manager configuration
83 connection.scheme = ANY_CONTROLLER_ONE_MASTER
84
85 # Embedded Tomcat configuration File
86 org.eclipse.gemini.web.tomcat.config.path=configuration/tomcat-server.xml
87
88 # Open Flow related system parameters
89 # TCP port on which the controller is listening (default 6633)
90 # of.listenPort=6633
91 # IP address of the controller (default: wild card)
92 # of.address = 127.0.0.1
93 # The time (in milliseconds) the controller will wait for a response after sending a Barrier Request or a Statistic Request message (default 2000 msec)
94 # of.messageResponseTimer=2000
95 # The switch liveness timeout value (default 60500 msec)
96 # of.switchLivenessTimeout=60500
97 # The size of the queue holding pending statistics requests (default 64). For large networks of n switches, it is recommended to set the queue size to n
98 # of.statsQueueSize = 64
99 # The flow statistics polling interval in second (default 10 sec)
100 # of.flowStatsPollInterval=10
101 # The port statistics polling interval in second (default 5 sec)
102 # of.portStatsPollInterval=5
103 # The description statistics polling interval in second (default 60 sec)
104 # of.descStatsPollInterval=60
105 # The table statistics polling interval in second (default 10 sec)
106 # of.tableStatsPollInterval=10
107 # The maximum number of asynchronous messages can be sent before sending a Barrier Request (default 100)
108 # of.barrierMessagePriorCount=100
109 # The interval which determines how often the discovery packets should be sent (default 300 sec)
110 # of.discoveryInterval=300
111 # The timeout multiple of discovery interval
112 # of.discoveryTimeoutMultiple=2
113 # For newly added ports, allow one more retry if the elapsed time exceeds this threshold (default 30 sec)
114 # of.discoveryThreshold=30
115 # The maximum number of ports handled in one discovery batch (default 512)
116 # of.discoveryBatchMaxPorts=512
117
118 # TLS configuration
119 # To enable TLS, set secureChannelEnabled=true and specify the location of controller Java KeyStore and TrustStore files.
120 # The Java KeyStore contains controller's private key and certificate. The Java TrustStore contains the trusted certificate
121 # entries, including switches' Certification Authority (CA) certificates. For example,
122 # secureChannelEnabled=true
123 # controllerKeyStore=./configuration/ctlKeyStore
124 # controllerKeyStorePassword=xxxxxxxx (this password should match the password used for KeyStore generation and at least 6 characters)
125 # controllerTrustStore=./configuration/ctlTrustStore
126 # controllerTrustStorePassword=xxxxxxxx (this password should match the password used for TrustStore generation and at least 6 characters)
127
128 secureChannelEnabled=false
129 controllerKeyStore=
130 controllerKeyStorePassword=
131 controllerTrustStore=
132 controllerTrustStorePassword=
133
134 # User Manager configurations
135 enableStrongPasswordCheck = false
136
137 #Jolokia configurations
138 org.jolokia.listenForHttpService=false
139
140 # Logging configuration for Tomcat-JUL logging
141 java.util.logging.config.file=configuration/tomcat-logging.properties
142
143 #Hosttracker hostsdb key scheme setting
144 hosttracker.keyscheme=IP