[VOL-4371] Voltha protos cleanup
Change-Id: Id8dc0fc56aaf4228e9f6c7e4629a6a1897de5b31
diff --git a/internal/pkg/ofagent/ofagent.go b/internal/pkg/ofagent/ofagent.go
index efaf39c..bb1ee32 100644
--- a/internal/pkg/ofagent/ofagent.go
+++ b/internal/pkg/ofagent/ofagent.go
@@ -26,7 +26,6 @@
"github.com/opencord/voltha-lib-go/v7/pkg/log"
"github.com/opencord/voltha-lib-go/v7/pkg/probe"
"github.com/opencord/voltha-protos/v5/go/openflow_13"
- "github.com/opencord/voltha-protos/v5/go/voltha"
"google.golang.org/grpc"
)
@@ -57,8 +56,8 @@
clientMap map[string]*openflow.OFClient
events chan ofaEvent
- packetInChannel chan *voltha.PacketIn
- packetOutChannel chan *voltha.PacketOut
+ packetInChannel chan *openflow_13.PacketIn
+ packetOutChannel chan *openflow_13.PacketOut
changeEventChannel chan *openflow_13.ChangeEvent
}
@@ -70,8 +69,8 @@
ConnectionMaxRetries: config.ConnectionMaxRetries,
ConnectionRetryDelay: config.ConnectionRetryDelay,
volthaClient: &holder.VolthaServiceClientHolder{},
- packetInChannel: make(chan *voltha.PacketIn),
- packetOutChannel: make(chan *voltha.PacketOut),
+ packetInChannel: make(chan *openflow_13.PacketIn),
+ packetOutChannel: make(chan *openflow_13.PacketOut),
changeEventChannel: make(chan *openflow_13.ChangeEvent),
clientMap: make(map[string]*openflow.OFClient),
events: make(chan ofaEvent, 100),