-2

i'm trying to use pyVmomi with Django, is there any way (if there is, what is the most recommended way) to pass the serviceInstance between views?

Thanks.

EB_123
  • 1
  • tried using sessions, but the serviceInstance object is "not pickable". also tried to see if i can just save the session key and then create a new instance and import the key to it (instead of creating a new session) but that didnt work either. – EB_123 May 23 '15 at 18:16

1 Answers1

0

According to Shawn Hartsock (the current VMWare employee maintaing pyVmomi) you cant connect with out a login but between that sample and this sample it should show how to use the same session which you said you were not able to do.

Michael Rice
  • 7,974
  • 1
  • 15
  • 18