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