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 was archived by the owner on Jul 1, 2021. It is now read-only.
I'm trying to use the traverse method for folders to create a new Folder path within a DC. The top level folder gets created just fine but it doesn't follow through to create the children that I have specified.
My Code:
vim = RbVmomi::VIM.connect(host: 'some host', user: 'some user', password: 'my pass', insecure: true)
dc = vim.serviceInstance.find_datacenter('MyDataCenter') || fail('datacenter not found')
folder = dc.vmFolder.traverse!('Parent/Child', type = Object)
This code creates the "Parent" folder, but seems to ignore the "Child" folder in the path supplied.
Version of rbvmomi is 1.11.2, version of vsphere is 6.0.0