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

Break the linux networking resolver into multiple classes

    XMLWordPrintable

Details

    • Task
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • None
    • FACT 4.0.52
    • None
    • Ghost
    • 2
    • ghost-27.01.2021, ghost-10.02.2021
    • Known Issue
    • 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.
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support