XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Export VM / Host Details to CSV

    Scheduled Pinned Locked Moved Management
    11 Posts 6 Posters 335 Views 5 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      Tomcatter
      last edited by

      Is there a way in which you could export to a CSV / Excel the following details?

      VM Name
      Pool name
      Host
      Memory
      CPU Count
      Drive(s) size

      D lsouai-vatesL 2 Replies Last reply Reply Quote 0
      • D Offline
        DustinB @Tomcatter
        last edited by

        @Tomcatter from Xen Orchestra I can't think of any way, but from the xe command line you likely could.

        1 Reply Last reply Reply Quote 0
        • olivierlambertO Offline
          olivierlambert Vates πŸͺ Co-Founder CEO
          last edited by

          Likely easier by using the REST API I suppose. Let me ping @MathieuRA for example

          T 1 Reply Last reply Reply Quote 0
          • T Offline
            Tomcatter @olivierlambert
            last edited by

            @olivierlambert Thank you Olivier, Is there any update on the example?

            1 Reply Last reply Reply Quote 0
            • olivierlambertO Offline
              olivierlambert Vates πŸͺ Co-Founder CEO
              last edited by

              Let me ping @lsouai-vates this time then πŸ˜‰

              1 Reply Last reply Reply Quote 0
              • lsouai-vatesL Offline
                lsouai-vates Vates πŸͺ XO Team @Tomcatter
                last edited by

                @Tomcatter Hello!
                In the rest-api doc you have this endpoint: https://github.com/vatesfr/xen-orchestra/blob/master/packages/xo-server/docs/rest-api.md#vm-export
                Maybe start with this and create a script to convert result to CSV/Excel?

                Does it help you?

                AtaxyaNetworkA 1 Reply Last reply Reply Quote 1
                • AtaxyaNetworkA Online
                  AtaxyaNetwork Ambassador @lsouai-vates
                  last edited by

                  @lsouai-vates (for reference i opened an issue a while ago about this https://github.com/vatesfr/xen-orchestra/issues/6600)

                  AtaxyaNetwork created this issue in vatesfr/xen-orchestra

                  open Possibility to make export of research in XOA #6600

                  lsouai-vatesL 1 Reply Last reply Reply Quote 1
                  • D Offline
                    dinhngtu Vates πŸͺ XCP-ng Team
                    last edited by

                    This could be done with XO Powershell too (eventually).

                    1 Reply Last reply Reply Quote 0
                    • lsouai-vatesL Offline
                      lsouai-vates Vates πŸͺ XO Team @AtaxyaNetwork
                      last edited by

                      @AtaxyaNetwork thanks for the info!
                      @Tomcatter so as indicated: "This feature request is already planned in XoLite V0.2 ,(csv & json) for end of March." I invite you to check at Xen orchestra blogspot on https://xen-orchestra.com/blog/ πŸ™‚

                      Have a good day!

                      T 1 Reply Last reply Reply Quote 0
                      • T Offline
                        Tomcatter @lsouai-vates
                        last edited by

                        @lsouai-vates

                        End of March 2025? does this mean it should be available very soon (if not already)?

                        lsouai-vatesL 1 Reply Last reply Reply Quote 0
                        • lsouai-vatesL Offline
                          lsouai-vates Vates πŸͺ XO Team @Tomcatter
                          last edited by

                          @Tomcatter yes it was already implemented in XO-Lite
                          f1dc4d66-3ffc-43cc-baca-56f934901f99-image.png

                          You can find it from the pool view. (click on a pool on the treeview and then on the VM tab)

                          It is also planned for XO-6, it is in our backlog for next features. πŸ™‚

                          Does it respond to your questions?

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post