You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.
I am trying to find functionality for datastore clusters (StoragePods) using rbvmomi. I found this issue posted on the python API interface back in 2014 that has them finding the StoragePod objects in Ruby that I have been using as a starting point:
Basically to start, I am looking for a way to identify what StoragePods are accessible from a given VM. Using the link above, I'm able to find a StoragePod class object from the data center.
Can anyone give me guidance on how I can retrieve the StoragePod(s) available given a particular VM? Also, once I identify the StoragePod class object, I cannot find any documentation on what methods are available to the StoragePod, so I don't know what I can do with it. I couldn't find the class definition for this object in the repo, where is it coming from? Or where can I find what functionality this class provides?
Any guidance is appreciated. Thanks!
The text was updated successfully, but these errors were encountered:
The code for all of the classes is generated dynamically at runtime by the vmodl.db in the root of the repo. If you want to view what's in there, it's just a Ruby Hash that has been Marshal.dumped and then written to a file (vmodl.db in this case). You can read it by doing the reverse (from the root)
To view the documentation without having to go through all of that, it maps 1-1 to the SOAP API, so the Web Services API Reference will show what's available and how it relates to other objects available in the API without having to dig through the vmodl.db. You can view the documentation for the StoragePod class here. As you can see from the documentation (and the vmodl.db), there are no methods available on that class. It also doesn't appear to be returned by any method calls.
I am trying to find functionality for datastore clusters (StoragePods) using rbvmomi. I found this issue posted on the python API interface back in 2014 that has them finding the StoragePod objects in Ruby that I have been using as a starting point:
vmware/pyvmomi#24
Basically to start, I am looking for a way to identify what StoragePods are accessible from a given VM. Using the link above, I'm able to find a StoragePod class object from the data center.
Can anyone give me guidance on how I can retrieve the StoragePod(s) available given a particular VM? Also, once I identify the StoragePod class object, I cannot find any documentation on what methods are available to the StoragePod, so I don't know what I can do with it. I couldn't find the class definition for this object in the repo, where is it coming from? Or where can I find what functionality this class provides?
Any guidance is appreciated. Thanks!
The text was updated successfully, but these errors were encountered: