def METHOD_NAME(self, avi_config, obj_config, new_name, old_name, obj_type):
    '''
    Method for getting object refrences
    '''
    cp = ConfigPatch(avi_config, '')
    tenant = (cp.param_value_in_ref(obj_config.get('tenant_ref'), 'name')
              if 'tenant_ref' in obj_config else '')
    cloud = (cp.param_value_in_ref(obj_config.get('cloud_ref'), 'name')
             if 'cloud_ref' in obj_config else '')
    new_obj_ref = mg_util.get_object_ref(
        new_name, obj_type.lower(), tenant, cloud_name=cloud)
    old_obj_ref = mg_util.get_object_ref(old_name, obj_type.lower(), tenant, cloud_name=cloud)
    return old_obj_ref, new_obj_ref