[SEBA-342] Adding configuration for kafka
Change-Id: Ia150c8b46dfe3d0b15ab7ee0d8b5c6fdb3f88557
diff --git a/bbsim/templates/deployment.yaml b/bbsim/templates/deployment.yaml
index 596a462..279a0b6 100644
--- a/bbsim/templates/deployment.yaml
+++ b/bbsim/templates/deployment.yaml
@@ -52,6 +52,7 @@
"-i", "{{ .Values.pon_ports }}",
"-aw", "{{ .Values.wpa_wait }}",
"-dw", "{{ .Values.dhcp_wait }}",
+ "-k", "{{ .Values.kafka_broker }}",
]
ports:
- name: "bbsim-olt-id-{{ .Values.olt_id }}"
diff --git a/bbsim/values.yaml b/bbsim/values.yaml
index 30c4652..270b7d7 100644
--- a/bbsim/values.yaml
+++ b/bbsim/values.yaml
@@ -37,6 +37,9 @@
# -d option
dhcp_wait: 120
+# -k option
+kafka_broker: 'cord-kafka.default.svc.cluster.local:9092'
+
image:
repository: 'voltha/voltha-bbsim'
tag: '{{ .Chart.AppVersion }}'
diff --git a/logging/values.yaml b/logging/values.yaml
index 4188756..fb86e23 100644
--- a/logging/values.yaml
+++ b/logging/values.yaml
@@ -103,7 +103,7 @@
group_id => "logstash_ck"
metadata_max_age_ms => 60000 # recheck for new topics every minute
# other topics that are not indexed: xos.gui_events, voltha.kpis, voltha.heartbeat
- topics_pattern => '.*\.events|dhcp.*|onos.*|voltha.log.*|xos.log.*'
+ topics_pattern => '.*\.events|dhcp.*|onos.*|.*\.log.*'
type => "cord-kafka"
}
}