'Default implementation; can be overridden by resources.
Parse resource data for using it in updating properties with live
state.
:param resource_properties: properties of stored resource plugin.
:param resource_data: data from current live state of a resource.'

def parse_live_resource_data(self, resource_properties, resource_data):

    resource_result = {}
    for key in self._update_allowed_properties:
        if (key in resource_data):
            resource_result[key] = resource_data.get(key)
    return resource_result
