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

Networking fact improvements for Aix

    XMLWordPrintable

Details

    • Hide

      Add unit tests for OpenVZ IPs.

      Enable for this platform and adapt if necessary the following acceptance tests:

      • acceptance/tests/facts/networking_facts_with_secondary_ips.rb
      • acceptance/tests/facts/networking_facts_with_vlans.rb
      Show
      Add unit tests for OpenVZ IPs. Enable for this platform and adapt if necessary the following acceptance tests: acceptance/tests/facts/networking_facts_with_secondary_ips.rb acceptance/tests/facts/networking_facts_with_vlans.rb
    • Night's Watch
    • 2
    • ghost-13.01.2020, ghost-27.01.2021, ghost-10.02.2021
    • Bug Fix
    • Updated AIX networking resolver to use FFI to detect networking interfaces and IPs. Before this fix, VLANs and secondary IPs were not displayed.
    • Needs Assessment

    Description

      Expand networking resolver to display VLANs and secondary IPs.

      • All secondary IPs must be displayed in the bindings/bindings6 section of the physical interface. Secondary IPs that have a label, will also be displayed as a separate interface.
      • Make sure inactive interfaces are also displayed.
      • Make sure the resolver is able to extract IPs from interfaces inside an OpenVZ environment. E.g. a normal ip might be displayed like

        inet *11.0.0.2/24* scope global ens192:2
        

        an OpenVz ip might be displayed like this

      inet 11.0.0.5 peer *11.0.0.2/24* scope global ens192:2
      

      The OpenVz part is not important because we can't create an environment to test it.

      Check that if primary interface can not be retrieved it's returned as the first interface with a valid ip.(Better check the facter 3 implementation)

      Attachments

        Activity

          People

            sebastian.miclea Sebastian Miclea
            andrei.filipovici Andrei Filipovici
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support