1 Reply Latest reply on Dec 7, 2018 6:01 AM by durdin

    Resource pool tree export

    durdin Lurker

      have anyone tried to parse the Resource Pool tree export which you do when disabling DRS in Web Client?

      It seems the file produced is some serialized data but I have trouble getting the classes needed to parse it.

      java.lang.ClassNotFoundException: com.vmware.vsphere.client.cluster.rp.MorTree, xpsr.3com.vmware.vim.binding.vmodl.ManagedObjectReference


      So question is where to get the classes, or if anyone tried to parse this?

        • 1. Re: Resource pool tree export
          durdin Lurker

          The first required class is in /usr/lib/vmware-vsphere-client/plugin-packages/vsphere-client-modules/plugins/cluster-service.jar so and the second class is just "standard" com.vmware.vim.binding.vmodl.ManagedObjectReference so I managed to parse the export file after grabing the JAR file from VCSA. Not sure if this is correct approach but it works. FYI the entire export file is serialized MorTree<ManagedObjectReference, RpInfo>.