summaryrefslogtreecommitdiffstats
path: root/infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config
diff options
context:
space:
mode:
Diffstat (limited to 'infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config')
-rw-r--r--infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/honeycomb.json22
-rw-r--r--infra/minimal-distribution/src/main/resources/honeycomb-minimal-resources/config/logback.xml35
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>