vmware/pyvmomi-community-samples

Any sample which shows the use of TicketedSessionAuthentication

Open

#123 aberto em 14 de out. de 2014

Ver no GitHub
 (11 comments) (0 reactions) (1 assignee)Python (914 forks)batch import
help wantedsample request

Métricas do repositório

Stars
 (972 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

http://pubs.vmware.com/vsphere-50/index.jsp#com.vmware.wssdk.apiref.doc_50/vim.vm.guest.TicketedSessionAuthentication.html

The example may look like this :

auth = vim.vm.guest.TicketedSessionAuthentication(ticket=base_64_string)
guest_auth = si.content.guestOperationsManager.authManager.AcquireCredentialsInGuest(vm=vm, requestedAuth=auth)
    processes = si.content.guestOperationsManager.processManager.ListProcessesInGuest(vm=vm, auth=guest_auth)
    si.content.guestOperationsManager.authManager.ReleaseCredentialsInGuest(vm=vm, auth=guest_auth)

I am not able to proceed forward ! AcquireCredentialsInGuest is returning error "The guest operating system does not support the operation"

Guia do colaborador