vmware/pyvmomi

Make login optional

オープン

#158 opened on 2014/09/09

 (8 件のコメント) (0 件のリアクション) (1 人の担当者)Python (807 件のフォーク)batch import
enhancementhelp wantedsample request

Repository metrics

Stars
 (2,141 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド