"kpi":kpi_sample_type,# As request is based on the single KPI so it should have only one endpoint
"endpoint":endpoint_data[endpoint.endpoint_uuid.uuid][0],# Endpoint name
"resource":'interface',# Example resource type
"resource":resource,# Example resource type is 'interface' or 'wavelength-router' for MG-ON, this should be defined in the KPI Descriptor or as part of the request
resource_to_subscribe=get_mgon_subscription_parameters(duration,interval)# TODO: Remove after confirming get_subscription_parameters is working correctly
# TODO: Remove after confirming get_subscription_parameters generic is working correctly