Skip to content

Instantly share code, notes, and snippets.

@kbarber
Created February 19, 2012 20:48
Show Gist options
  • Save kbarber/1865704 to your computer and use it in GitHub Desktop.
Save kbarber/1865704 to your computer and use it in GitHub Desktop.
structured facts: arp_table
# ./bin/facter arp_table
---
arp_table:
list:
- &id001
ip_address: 169.254.245.13
protocol: ethernet
mac_address: b8:8d:12:5a:c9:45
hostname: ""
interface: en1
- &id004
ip_address: 192.168.1.74
protocol: ethernet
mac_address: b4:7:f9:47:d0:c2
hostname: ""
interface: en1
- &id003
ip_address: 192.168.1.254
protocol: ethernet
mac_address: 0:26:44:c7:2c:fa
hostname: ""
interface: en1
- &id002
ip_address: 192.168.1.255
protocol: ethernet
mac_address: ff:ff:ff:ff:ff:ff
hostname: ""
interface: en1
by_ip_address:
169.254.245.13: *id001
192.168.1.255: *id002
192.168.1.254: *id003
192.168.1.74: *id004
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment