[VOL-5378]-ppoeIA and DHCPRA support in voltha openolt adapter

Change-Id: I5ff86114a965778a2889eee8900b383b5c844adf
Signed-off-by: Akash Soni <akash.soni@radisys.com>
diff --git a/internal/pkg/core/openolt.go b/internal/pkg/core/openolt.go
index ec47cd0..88e3efe 100644
--- a/internal/pkg/core/openolt.go
+++ b/internal/pkg/core/openolt.go
@@ -455,7 +455,9 @@
 	if handler := oo.getDeviceHandler(request.TargetId); handler != nil {
 		switch reqType := request.GetRequest().GetRequest().(type) {
 		case *extension.SetValueRequest_AppOffloadConfig:
-			return handler.setOltOffloadStats(ctx, reqType.AppOffloadConfig), nil
+			return handler.setOltOffload(ctx, reqType.AppOffloadConfig), nil
+		case *extension.SetValueRequest_AppOffloadOnuConfig:
+			return handler.setOnuOffload(ctx, reqType.AppOffloadOnuConfig), nil
 		default:
 			return errResp(extension.SetValueResponse_ERROR, extension.SetValueResponse_UNSUPPORTED), nil
 		}