[VOL-1037, VOL-1035] This commit consists of flow and groups
handling (from NBI to Adapters, including decomposition),
Change-Id: I4f6d9ecd3dee8a9b161708b20b0a68d030c0cb23
diff --git a/rw_core/coreIf/device_manager_if.go b/rw_core/coreIf/device_manager_if.go
index c8e33c1..dbe5598 100644
--- a/rw_core/coreIf/device_manager_if.go
+++ b/rw_core/coreIf/device_manager_if.go
@@ -24,4 +24,5 @@
// DeviceManager represents a generic device manager
type DeviceManager interface {
GetDevice(string) (*voltha.Device, error)
+ IsRootDevice(string) (bool, error)
}
diff --git a/rw_core/coreIf/logical_device_agent_if.go b/rw_core/coreIf/logical_device_agent_if.go
index b5893ec..43bbf18 100644
--- a/rw_core/coreIf/logical_device_agent_if.go
+++ b/rw_core/coreIf/logical_device_agent_if.go
@@ -27,9 +27,9 @@
// LogicalAgent represents a generic agent
type LogicalDeviceAgent interface {
- GetLogicalDevice() *voltha.LogicalDevice
+ GetLogicalDevice() (*voltha.LogicalDevice, error)
GetDeviceGraph() *graph.DeviceGraph
GetAllDefaultRules() *utils.DeviceRules
GetWildcardInputPorts(excludePort ...uint32) []uint32
- GetRoute(ingressPortNo *uint32, egressPortNo *uint32) []graph.RouteHop
+ GetRoute(ingressPortNo uint32, egressPortNo uint32) []graph.RouteHop
}