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

CiscoXR legacy fact netmask is empty

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: FACT 3.6.3
    • Fix Version/s: None
    • Component/s: None
    • Template:
    • Team:
      Platform OS
    • QA Risk Assessment:
      Needs Assessment

      Description

      The legacy fact netmask is empty on the CiscoXR

      [ah7xvnir0s4v8x1:~]$ facter --show-legacy netmask

      [ah7xvnir0s4v8x1:~]$

      I would have expected it to be set to the netmask for the interface for the ipaddress fact

      [ah7xvnir0s4v8x1:~]$ facter --show-legacy ipaddress
      192.168.122.100
      [ah7xvnir0s4v8x1:~]$

      ....    
      Mg0_RP0_CPU0_0 => {
            bindings => [
              {
                address => "192.168.122.100",
                netmask => "255.255.255.0",
                network => "192.168.122.0"
              }
            ],
            bindings6 => [
              {
                address => "fe80::5054:ff:fe74:bb7e",
                netmask => "ffff:ffff:ffff:ffff::",
                network => "fe80::"
              }
            ],
            ip => "192.168.122.100",
            ip6 => "fe80::5054:ff:fe74:bb7e",
            mac => "52:54:00:74:bb:7e",
            mtu => 1514,
            netmask => "255.255.255.0",
            netmask6 => "ffff:ffff:ffff:ffff::",
            network => "192.168.122.0",
            network6 => "fe80::"
          },
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              eric.delaney Eric Delaney
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support