On Mon, May 11, 2026 at 10:31:21AM +0200, Martin Kletzander wrote: > It would be. But I am getting confused with their versioning. Even the > API docs are confusing sometimes. I was testing this on a cluster with > VI API version 7.0.3.0, the documentation [2] explicitly mentions all > parameters of the FindByUuid() function to be available since 2.0.
If you ask Cole he has access to vSphere 8 and we'll have 9 soon. Whatever works across versions 7-9 is fine by me. vSphere 6.0 was released in 2015 and 7.0 in 2020, so I say delete any code that is only needed for compatibility with vSphere <= 6 if that simplifies things. [...] > >Or accept a URI parameter to control compatibility level ? > > > > That would be safer, but would shift the responsibility to layers that > I am sure do not want to deal with it. And we are parsing the API > version so we at least know what should work. This sounds horrible. Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-top is 'top' for virtual machines. Tiny program with many powerful monitoring features, net stats, disk stats, logging, etc. http://people.redhat.com/~rjones/virt-top
