[VOL-4756] Cleanup TODO context
Change-Id: I21d5ec8cc015154bc893e54c652d31562d8da5d9
diff --git a/internal/pkg/intf/vpagent.go b/internal/pkg/intf/vpagent.go
index f255d13..094c58b 100644
--- a/internal/pkg/intf/vpagent.go
+++ b/internal/pkg/intf/vpagent.go
@@ -45,7 +45,7 @@
// IVPClient interface
type IVPClient interface {
ChangeEvent(*ofp.ChangeEvent) error
- PacketIn(*ofp.PacketIn)
+ PacketIn(context.Context, *ofp.PacketIn)
ConnectInd(cxt context.Context, DiscType DiscoveryType)
Stop()
}
@@ -59,7 +59,7 @@
// IVPClientAgent interface
type IVPClientAgent interface {
AddNewDevice(cfg *VPClientCfg)
- DelDevice(id string)
+ DelDevice(cntx context.Context, id string)
IsRebootInProgressForDevice(device string) bool
// RebootInd(string, string, string)
IsBlockedDevice(string) bool