How can I save the login session as a file in pyvmomi? (ServiceInstance)
ex)
from pyVim.connect import SmartConnect
si = SmartConnect(host=self.host, user=self.user, pwd=self.pwd)
The problem I am having is that when I issue a command to the virtual machine, Always try to connect to vSphere is likely to cause a traffic load. So I try to save an existing session to a file and reuse it. What should I do?