VOL-3705 Create option in kafka-topic-export to report ONU serial no in metrics in Hex format instead of ASCII chars
Change-Id: Id54f729efe4f9fee2accb3b18e97328b5e5db1ca
diff --git a/types.go b/types.go
index ab4360b..1c99a12 100644
--- a/types.go
+++ b/types.go
@@ -34,10 +34,15 @@
Description string `yaml: description`
}
+type ConvInfo struct {
+ Onusnhex bool `yaml: onusnhex`
+}
+
type Config struct {
Broker BrokerInfo `yaml: broker`
Logger LoggerInfo `yaml: logger`
Target TargetInfo `yaml: "target"`
+ Conv ConvInfo `yaml: "conv"`
}
// KPI Events format