[VOL-5378]-ppoeIA and DHCPRA support in voltha openolt adapter
Change-Id: I12d304294eca680a64b7f0b02b9ef1783854438f
Signed-off-by: Akash Soni <akash.soni@radisys.com>
diff --git a/internal/pkg/core/device_handler.go b/internal/pkg/core/device_handler.go
index 48eff8d..f41ab4d 100755
--- a/internal/pkg/core/device_handler.go
+++ b/internal/pkg/core/device_handler.go
@@ -3649,6 +3649,31 @@
return errResp(extension.GetValueResponse_ERROR, extension.GetValueResponse_INTERNAL_ERROR)
}
+func (dh *DeviceHandler) getOltOffloadStats(ctx context.Context, oltPortInfo *extension.GetOffloadedAppsStatisticsRequest) *extension.SingleGetValueResponse {
+
+ singleValResp := extension.SingleGetValueResponse{
+ Response: &extension.GetValueResponse{
+ Status: extension.GetValueResponse_OK,
+ Response: &extension.GetValueResponse_OffloadedAppsStats{
+ OffloadedAppsStats: &extension.GetOffloadedAppsStatisticsResponse{},
+ },
+ },
+ }
+
+ return &singleValResp
+}
+
+func (dh *DeviceHandler) setOltOffloadStats(ctx context.Context, congig *extension.AppOffloadConfig) *extension.SingleSetValueResponse {
+
+ singleValResp := extension.SingleSetValueResponse{
+ Response: &extension.SetValueResponse{
+ Status: extension.SetValueResponse_OK,
+ },
+ }
+
+ return &singleValResp
+}
+
func (dh *DeviceHandler) getOnuPonCounters(ctx context.Context, onuPonInfo *extension.GetOnuCountersRequest) *extension.SingleGetValueResponse {
singleValResp := extension.SingleGetValueResponse{