'Return connection info for a vnc console using vCenter logic.'

def get_vnc_console(self, instance):

    vnc_console = self._get_vnc_console_connection(instance)
    host_name = vm_util.get_host_name_for_vm(self._session, instance)
    vnc_console['host'] = host_name
    LOG.debug('VM    %(uuid)s    is    currently    on    host    %(host_name)s', {'uuid': instance.uuid, 'host_name': host_name}, instance=instance)
    return ctype.ConsoleVNC(**vnc_console)
