def clean_virtual_service_from_avi_config(self, avi_config, controller_version):
    '\n        This function defines that clean up vs which has vip 0.0.0.0\n        :param avi_config: dict of AVI\n        :param controller_version:\n        :return: None\n        '
    vs_list = copy.deepcopy(avi_config['VirtualService'])
    avi_config['VirtualService'] = []
    if (parse_version(controller_version) >= parse_version('17.1')):
        avi_config['VirtualService'] = [vs for vs in vs_list if (vs['vsvip_ref'].split('name=')[1].split('-')[0] != '0.0.0.0')]
    else:
        avi_config['VirtualService'] = [vs for vs in vs_list if (vs['ip_address']['addr'] != '0.0.0.0')]
This function defines that clean up vs which has vip 0.0.0.0
:param avi_config: dict of AVI
:param controller_version:
:return: None
def clean_virtual_service_from_avi_config(self, avi_config, controller_version):
    '\n        This function defines that clean up vs which has vip 0.0.0.0\n        :param avi_config: dict of AVI\n        :param controller_version:\n        :return: None\n        '
    vs_list = copy.deepcopy(avi_config['VirtualService'])
    avi_config['VirtualService'] = []
    if (parse_version(controller_version) >= parse_version('17.1')):
        avi_config['VirtualService'] = [vs for vs in vs_list if (vs['vsvip_ref'].split('name=')[1].split('-')[0] != '0.0.0.0')]
    else:
        avi_config['VirtualService'] = [vs for vs in vs_list if (vs['ip_address']['addr'] != '0.0.0.0')]