Comments (7)
Go to https:///mob and browse through there to find the same thing. Does it show up there?
from rbvmomi.
yes, on mob web page I can find values which failed to be returned by rbvmomi, e.g. for host_mo_ref.config.storageDevice.plugStoreTopology.device.lun, mob page presents the key of mapped lun object but rbvmomi returns nil
from rbvmomi.
Is this value one that was introduced in a later API version, like ESX 5.0 or 5.1? If so, you need to make rbvmomi connect with that API revision.
from rbvmomi.
yes, this is included by vSphere 5.0 Management SDK. Would you please help provide guidance about how to make rbvmomi connect with right API revision?
from rbvmomi.
When you connect, you can set :rev. After connect, you can do "conn.rev = ". Set it to 5.0. I believe RVC has the nice code to negotiate the highest possible version with the server.
from rbvmomi.
Thanks for the help. Progress has been made on reachable of deep object but can not get any of its properties. below is my code and returns:
plug_devices = host_mo_ref.config.storageDevice.plugStoreTopology.device
puts "plug_devices lun is #{plug_devices[0][:lun].inspect}"
return:
plug_devices lun is #<RbVmomi::VIM::ScsiLun:0x23a3df8 @props={:dynamicProperty=>[], :descriptor=>[], :alternateName=>[], :standardInquiry=>[], :operationalState=>[]}>
looking forward to further comments. Thanks.
from rbvmomi.
@Cindia-blue Hey, I just started maintaining this project and noticed this issue is almost 4 years old. Is this still something you'd like me to look into or is this ok to close?
from rbvmomi.
Related Issues (20)
- createDate under vm config property shows empty in rbvmomi HOT 12
- Memory leak caused by at_exit {} usage HOT 4
- esxcli option not working HOT 1
- RbVmomi 2.1.0 breaks PBM HOT 6
- Drop support for all EOL Ruby versions
- Add code coverage/review tools to run for every commit/PR
- Get code coverage to a respectable level
- Revamp the VMODL DB usage HOT 1
- API to create Datastore HOT 18
- A specified parameter was not correct: HOT 11
- Trying to get an example to add an nvdimm device/host PMEM datastore to a virtual machine. I've read the docs, but I'm missing some clarity somewhere, and keep getting errors. HOT 3
- vStorageObjectManager not able to create a disk under specified folder HOT 8
- kitchen destroy stopped working on kitchen-vcenter HOT 7
- portgroup info empty HOT 5
- Error message while using esxi_cpu_stats.rb HOT 10
- Definition of StoragePod class and how to query for it? HOT 1
- Add linting/code analysis HOT 4
- Update Hash syntax HOT 6
- RbVmomi deserialization fails on managed object type `ContentLibrary` HOT 4
- New Data Types added in vSphere 7.0 U1 and U2 missing from vmodl.db
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rbvmomi.