def smart_search_vrf(self, auth, query_str, search_options=None, extra_query=None):

        if search_options is None:
            search_options = {}

        self._logger.debug("smart_search_vrf query string: %s" % query_str)

        try:
            query = self._parse_vrf_query(query_str)
        except NipapValueError as exc:
            return {
                'interpretation': [
                    {
                        'string': query_str,
                        'interpretation': exc,
                        'attribute': 'text'
                    }
                ],
                'search_options': search_options,
                'result': []
            }

        if extra_query is not None:
            query = {
                'operator': 'and',
                'val1': query,
                'val2': extra_query
            }

        self._logger.debug("smart_search_vrf; query expanded to: %s" % str(query))

        search_result = self.search_vrf(auth, query, search_options)
        search_result['interpretation'] = query

        return search_result
Perform a smart search on VRF list.
dataset/ETHPy150Open SpriteLink/NIPAP/nipap/nipap/backend.py/Nipap.smart_search_vrf