'Rename backing VM.
:param backing: VM to be renamed
:param new_name: new VM name'

def rename_backing(self, backing, new_name):

    LOG.info('Renaming    backing    VM:    %(backing)s    to    %(new_name)s.', {'backing': backing, 'new_name': new_name})
    rename_task = self._session.invoke_api(self._session.vim, 'Rename_Task', backing, newName=new_name)
    LOG.debug('Task:    %s    created    for    renaming    VM.', rename_task)
    self._session.wait_for_task(rename_task)
    LOG.info('Backing    VM:    %(backing)s    renamed    to    %(new_name)s.', {'backing': backing, 'new_name': new_name})
