Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-25465

[RFE] Satellite API option for listing all hosts including system facts

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 6.15.0
    • Hosts

      [1] Satellite API request for information about a specific host includes system facts in the results.

      $  curl --request GET --insecure --user sat_username:sat_password \
      https://satellite.example.com/api/v2/hosts/host.example.com | python -m json.tool
         "facts": {
              "system::certificate_version": "3.2",
              "virt::is_guest": "true",
              "virt::host_type": "kvm",
              "virt::uuid": "<UUID>",
              "dmi::bios::release_date": "04/01/2014",
              "dmi::bios::address": "0xe8000",
              "dmi::bios::rom_size": "64 KB",
              "dmi::bios::version": "1.16.1-1.el9",
              "dmi::bios::bios_revision": "0.0",
              "dmi::bios::runtime_size": "96 KB",
      
      
      

       

      [2] API request for information about all hosts does not include system facts.

      $  curl --request GET --insecure --user sat_username:sat_password \
      https://satellite.example.com/api/v2/hosts | python -m json.tool

      This RFE is a request for an API option when listing all hosts to include system facts it the results.

      Version-Release number of selected component (if applicable):
      6.15

      How reproducible:
      Very

      Steps to Reproduce:
      1. Run command [1] to request information about a specific host
      2. Run command [2] to request for information about all hosts

      Actual results:

      • Request for information about all hosts does not include system facts.

      Expected results:

      • API for listing all hosts should provide an option to include facts. Expectedly, this will take longer to return results.

              Unassigned Unassigned
              rhn-support-swachira@redhat.com Sam Wachira
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: