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::CPVSX

DESCRIPTION

Collect ARP entries from Check Point VSX

This collector uses "arp" as the command for the arp utility on your system. Clish "show arp" does not work correctly in versions prior to R77.30. Config example:

 device_auth:
   - tag: sshcpvsx
     driver: cli
     platform: CPVSX
     only: '192.0.2.1'
     username: oliver
     password: letmein
     expert_password: letmein2

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 }.