vmware/pyvmomi

Make login optional

Open

#158 aberto em 9 de set. de 2014

Ver no GitHub
 (8 comments) (0 reactions) (1 assignee)Python (807 forks)batch import
enhancementhelp wantedsample request

Métricas do repositório

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

Description

We're trying to develop an extension using pyvmomi, and extensions don't log in using username and password, but use the LoginExtensionByCertificate API. However, when we call Connect or SmartConnect, we must provide a username and password for log in... It would be great if the __Login function was called from Connect only if user and pwd were provided, so that it would be optional instead of mandatory. This way we can create a Connection class and then call the API on our own: service_instance.content.sessionManager.LoginExtensionByCertificate

Guia do colaborador