Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-38956 Host backlink is missing in interface object
  3. SAT-39390

[QE] Host backlink is missing in interface object

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • API
    • False
    • Hide

      None

      Show
      None
    • False
    • 0
    • sat-rocket
    • Satellite Rocket Sprint 6, Satellite Rocket Sprint 7

      In the API, interfaces can be looked up by host, domain or subnet. Each returned object then contains backlinks to domain and subnet, but not the host (see the example in https://apidocs.theforeman.org/foreman/3.4/apidoc/v2/interfaces/show.html).

      Steps to reproduce:- 

      • ssh to satellite
      • use curl command to get the interface object for a host

                   ``` curl -u admin:changeme -H "Content-Type: application/json" "sat-url/api/hosts/:host_id/interfaces"```

      • see the returned interface objects

      the interface object does not contain host backlink(host_id, host_name).

      Solution:- 

      After this fix the interface object will contain host backlink

      QE Tracker for https://issues.redhat.com/browse/SAT-38956

              rh-ee-napathak Nakul Pathak
              satellite-jira-automation@redhat.com Satellite Jira-Automation
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: