Uploaded image for project: 'XenServer Org'
  1. XenServer Org
  2. XSO-595

xe --minimal only handles a single parameter at a time and otherwise defaults to uuid


    • Type: Improvement
    • Status: Wishlist (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 7.0
    • Fix Version/s: None
    • Component/s: API
    • Labels:


      AIUI, the --minimal flag should return a minimized representation of the rows returned by xapi. Currently it appears when more than one parameter is specified via the params= specifier, the xe cli only returns the uuid.

      It would be great if instead we could get an interleaved list of the parameters as specified via params and even better if the order in the params persisted.

      Single parameter works fine:

      # xe vm-list params=name-label  --minimal power-state=running 
      chef.prod.zoinks,xoa.prod.zoinks,Control domain on host: warpr

      Multiple parameters always returns the uuid, as opposed to name-label, uuid for each row.

      # xe vm-list params=name-label,uuid  --minimal power-state=running 

      Suspect this is also present in the previous release, but as I upgraded recently I haven't had the chance to confirm this before I can't say for sure. Also, setting the ticket type to Improvement as the --minimal param is not widely documented so for all I know, this may be working to spec.




            • Assignee:
              enzo enzo raso
              goncalo Goncalo Gomes
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: