Skip to content
This repository has been archived by the owner on Nov 9, 2020. It is now read-only.

PropertyCollector For Humans #12

Open
hartsock opened this issue Jul 23, 2014 · 0 comments
Open

PropertyCollector For Humans #12

hartsock opened this issue Jul 23, 2014 · 0 comments

Comments

@hartsock
Copy link
Contributor

See: object-properties-containerview-pyvmomi

Find a way to improve the PropertyCollector such that it is easier and more intuitive for end users to work with. We want something that can yield human readable 'queries' to the back end vCenter server.

Something like ....

'ContainerView': {
      'propSet' : PropertySpec(type=vim.VirtualMachine, all=False, 
                                              pathSet = {'name': 'runtime.powerState'}),
     'objectSet' : [
           'ObjectSpec': {
                   'skip': False,
                   'selectSet': [
                        'TraversalSpec': {
                               'type': vim.view.ContainerView,
                               'path': 'view',
                               'skip': False,
                        }
                   ]
           }
     ]
}

... seems plausible and better.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant