Code Monkey home page Code Monkey logo

Comments (7)

cdickmann avatar cdickmann commented on June 10, 2024

Go to https:///mob and browse through there to find the same thing. Does it show up there?

from rbvmomi.

Cindia-blue avatar Cindia-blue commented on June 10, 2024

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.

cdickmann avatar cdickmann commented on June 10, 2024

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.

Cindia-blue avatar Cindia-blue commented on June 10, 2024

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.

cdickmann avatar cdickmann commented on June 10, 2024

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.

Cindia-blue avatar Cindia-blue commented on June 10, 2024

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.

jrgarcia avatar jrgarcia commented on June 10, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.