if query in VNF_INSTANCE_FILTERS:
query_data[VNF_INSTANCE_FILTERS[query] + '__icontains'] = value
# Query the database with filters if the request has fields in request params, else fetch all records
if query in VNF_INSTANCE_FILTERS:
query_data[VNF_INSTANCE_FILTERS[query] + '__icontains'] = value
# Query the database with filters if the request has fields in request params, else fetch all records