VOL-1027 : Initial commit of voltha 2.0 data model
Change-Id: Ib8006de1af2166281ccf1c9d7c2b9156991bf4e4
diff --git a/db/model/event_bus_client.go b/db/model/event_bus_client.go
new file mode 100644
index 0000000..262b7cc
--- /dev/null
+++ b/db/model/event_bus_client.go
@@ -0,0 +1,17 @@
+package model
+
+import (
+ "fmt"
+ "github.com/opencord/voltha/protos/go/voltha"
+)
+
+type EventBusClient struct {
+}
+
+func NewEventBusClient() *EventBusClient {
+ return &EventBusClient{}
+}
+
+func (ebc *EventBusClient) Publish(topic string, event voltha.ConfigEvent) {
+ fmt.Printf("publishing event:%+v, topic:%s\n", event, topic)
+}