The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

App::Netdisco::SSHCollector::Platform::VOSS

DESCRIPTION

Collect ARP entries from Extreme VSP devices running the VOSS operating system.

This is useful if running multiple VRFs as the built-in SNMP ARP collection will only fetch from the default GlobalRouter VRF.

By default this module gets ARP entries from all VRFs (0-512). To specify only certain VRFs in the config:

device_auth:
  - tag: sshvsp
    driver: cli
    platform: VOSS
    only:
      - 10.1.1.1
      - 192.168.0.1
   username: oliver
   password: letmein
   vrfs: 1,5,100

The VRFs can be specified in any format that the "show ip arp vrfids" command will take. For example:

1,2,3,4,5,10
1-5,10
1-100
99

PUBLIC METHODS

arpnip($host, $ssh)

Retrieve ARP entries from device. $host is the hostname or IP address of the device. $ssh is a Net::OpenSSH connection to the device.

Returns a list of hashrefs in the format { mac => MACADDR, ip => IPADDR }.