Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-2915

Break the linux networking resolver into multiple classes

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: FACT 4.0.52
    • Component/s: None
    • Labels:
    • Template:
    • Team:
      Ghost
    • Story Points:
      2
    • Sprint:
      ghost-27.01.2021, ghost-10.02.2021
    • Release Notes:
      Known Issue
    • Release Notes Summary:
      Hide
      Because the Linux networking resolver grew too large, we decided to split it into four classes:
      SocketParser (gets data from the ruby Socket library)
      DHCP (gets all DHCP related data)
      RoutingTable (get interfaces data from the `ip route show` command if something couldn't be retrieved with SocketParser)
      Linux resolver which combines the data from the other classes.
      Show
      Because the Linux networking resolver grew too large, we decided to split it into four classes: SocketParser (gets data from the ruby Socket library) DHCP (gets all DHCP related data) RoutingTable (get interfaces data from the `ip route show` command if something couldn't be retrieved with SocketParser) Linux resolver which combines the data from the other classes.
    • QA Risk Assessment:
      Needs Assessment

      Description

      The linux networking resolver class grew too large. We must separate its logic into multiple classes.
      Also we need to update the unit tests accordingly.

        Attachments

          Activity

            People

            Assignee:
            andrei.filipovici Andrei Filipovici
            Reporter:
            andrei.filipovici Andrei Filipovici
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support