def create_update_vsvip(self, vip, vsvip_config, tenant_ref, cloud_ref, prefix=None, vrf_ref=None):
    '\n        This functions defines that create or update VSVIP object.\n        :param vip: vip of VS\n        :param vsvip_config: List of vs object\n        :param tenant_ref: tenant reference\n        :param cloud_ref: cloud reference\n        :param prefix: prefix for objects\n        :param vrf_ref: VRF ref to be added in VIP object\n        :return: None\n        '
    name = (vip + '-vsvip')
    if prefix:
        name = ((prefix + '-') + name)
    vsvip = [vip_obj for vip_obj in vsvip_config if (vip_obj['name'] == name)]
    if vsvip:
        diff_ten = [vips for vips in vsvip if (vips['tenant_ref'] != tenant_ref)]
        if diff_ten:
            LOG.debug('VsVip %s is repeated with vrf %s but different tenant %s', name, (self.get_name(vrf_ref) if vrf_ref else 'None'), self.get_name(tenant_ref))
            name = ''
    else:
        vsvip_object = {'name': name, 'tenant_ref': tenant_ref, 'cloud_ref': cloud_ref, 'vip': [{'vip_id': '0', 'ip_address': {'type': 'V4', 'addr': vip}}]}
        if vrf_ref:
            vsvip_object['vrf_context_ref'] = vrf_ref
        vsvip_config.append(vsvip_object)
This functions defines that create or update VSVIP object.
:param vip: vip of VS
:param vsvip_config: List of vs object
:param tenant_ref: tenant reference
:param cloud_ref: cloud reference
:param prefix: prefix for objects
:param vrf_ref: VRF ref to be added in VIP object
:return: None
def create_update_vsvip(self, vip, vsvip_config, tenant_ref, cloud_ref, prefix=None, vrf_ref=None):
    '\n        This functions defines that create or update VSVIP object.\n        :param vip: vip of VS\n        :param vsvip_config: List of vs object\n        :param tenant_ref: tenant reference\n        :param cloud_ref: cloud reference\n        :param prefix: prefix for objects\n        :param vrf_ref: VRF ref to be added in VIP object\n        :return: None\n        '
    name = (vip + '-vsvip')
    if prefix:
        name = ((prefix + '-') + name)
    vsvip = [vip_obj for vip_obj in vsvip_config if (vip_obj['name'] == name)]
    if vsvip:
        diff_ten = [vips for vips in vsvip if (vips['tenant_ref'] != tenant_ref)]
        if diff_ten:
            LOG.debug('VsVip %s is repeated with vrf %s but different tenant %s', name, (self.get_name(vrf_ref) if vrf_ref else 'None'), self.get_name(tenant_ref))
            name = 
    else:
        vsvip_object = {'name': name, 'tenant_ref': tenant_ref, 'cloud_ref': cloud_ref, 'vip': [{'vip_id': '0', 'ip_address': {'type': 'V4', 'addr': vip}}]}
        if vrf_ref:
            vsvip_object['vrf_context_ref'] = vrf_ref
        vsvip_config.append(vsvip_object)