diff options
author | Maros Marsalek <mmarsale@cisco.com> | 2016-08-11 13:04:56 +0200 |
---|---|---|
committer | Maros Marsalek <mmarsale@cisco.com> | 2016-08-19 12:49:56 +0200 |
commit | 83efb0ff929801a5a2ab89f6b66c07ed940a309d (patch) | |
tree | 8d8ce5dec617fe8227c3089600a256f72842e6fb /infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config | |
parent | 0f5925e907ab8f37eefc29a1843f4beb6ba9f4a8 (diff) |
HONEYCOMB-19 Minimal distro ans wiring for hc infra
Change-Id: I8f0e577ac91106e6025f7f2f27811f850e1c5253
Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config')
2 files changed, 57 insertions, 0 deletions
diff --git a/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/honeycomb.json b/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/honeycomb.json new file mode 100644 index 000000000..350534ed7 --- /dev/null +++ b/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/honeycomb.json @@ -0,0 +1,22 @@ +{ + "persisted-context-path": "persist/context/data.json", + "persisted-context-restoration-type": "Merge", + "persisted-config-path": "persist/config/data.json", + "persisted-config-restoration-type": "Merge", + + "notification-service-queue-depth": 1, + + "restconf-root-path": "/restconf", + "restconf-port": 8181, + "restconf-websocket-port": 7779, + + "netconf-netty-threads": 2, + "netconf-tcp-binding-address": "127.0.0.1", + "netconf-tcp-binding-port": 7777, + "netconf-ssh-binding-address": "0.0.0.0", + "netconf-ssh-binding-port": 2831, + "netconf-notification-stream-name": "honeycomb", + + "username": "admin", + "password": "admin" +}
\ No newline at end of file diff --git a/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/logback.xml b/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/logback.xml new file mode 100644 index 000000000..c294d184c --- /dev/null +++ b/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/logback.xml @@ -0,0 +1,35 @@ + <configuration scan="true"> + + <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender"> + <encoder> + <pattern>%date{"yyyy-MM-dd HH:mm:ss.SSS z"} [%thread] %-5level %logger{36} - %msg%n</pattern> + </encoder> + </appender> + <appender name="honeycomb.log" class="ch.qos.logback.core.rolling.RollingFileAppender"> + <file>logs/honeycomb.log</file> + + <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> + <fileNamePattern>logs/honeycomb.%d.log.zip</fileNamePattern> + <maxHistory>1</maxHistory> + </rollingPolicy> + + <triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"> + <maxFileSize>10MB</maxFileSize> + </triggeringPolicy> + + <encoder> + <pattern>%date{"yyyy-MM-dd HH:mm:ss.SSS z"} [%thread] %-5level %logger{35} - %msg%n</pattern> + </encoder> + </appender> + + <root level="error"> + <appender-ref ref="STDOUT" /> + <appender-ref ref="honeycomb.log" /> + </root> + + <logger name="org.opendaylight" level="INFO"/> + <logger name="io.fd" level="INFO"/> + + <!-- Netty --> + <logger name="io.netty" level="WARN"/> +</configuration> |