opscode/ohai — pull request #229 by jacques (2013-11-17 09:30:03+00:00)
Title: [OHAI-531] Regex for getting data from arp -na output is incorrect on Solaris2

````

"network": {
"interfaces": {
"lo0": {
"mtu": "8252",
"index": "1",
"flags": [
"UP",
"LOOPBACK",
"RUNNING",
"MULTICAST",
"IPv6",
"VIRTUAL"
],
"type": "lo",
"number": "0",
"encapsulation": "Loopback",
"addresses": {
"127.0.0.1": {
"family": "inet",
"netmask": "255.0.0.0"
},
"::1": {
"family": "inet6",
"prefixlen": "128"
}
}
},
"net0": {
"mtu": "1500",
"index": "2",
"flags": [
"UP",
"BROADCAST",
"RUNNING",
"MULTICAST",
"IPv4",
"CoS",
"L3PROTECT"
],
"type": "net",
"number": "0",
"encapsulation": "Ethernet",
"addresses": {
"37.153.96.33": {
"family": "inet",
"netmask": "255.255.254.0",
"broadcast": "37.153.97.255"
},
"90:b8:d0:3e:81:c9": {
"family": "lladdr"
}
},
"arp": {
"37.153.96.85": "90:b8:d0:2a:0a:23",
"37.153.96.1": "00:00:5e:00:01:01",
"37.153.96.57": "90:b8:d0:9d:d6:63",
"37.153.96.33": "90:b8:d0:3e:81:c9"
}
},
"net1": {
"mtu": "1500",
"index": "3",
"flags": [
"UP",
"BROADCAST",
"RUNNING",
"MULTICAST",
"IPv4",
"CoS",
"L3PROTECT"
],
"type": "net",
"number": "1",
"encapsulation": "Ethernet",
"addresses": {
"10.224.0.34": {
"family": "inet",
"netmask": "255.255.248.0",
"broadcast": "10.224.7.255"
},
"90:b8:d0:6c:08:fa": {
"family": "lladdr"
}
},
"arp": {
"10.224.0.34": "90:b8:d0:6c:08:fa",
"10.224.0.1": "00:00:5e:00:01:01"
}
}
},
"default_interface": "net0",
"default_gateway": "37.153.96.1"
},
````