FusionInventory::Agent::Tools::Network - Network-related patterns and functions
This module provides some network-related patterns and functions.
This pattern matches a MAC address in canonical form (aa:bb:cc:dd:ee:ff).
This pattern matches an IP address in canonical form (xyz.xyz.xyz.xyz).
This pattern matches a MAC address in alternative form (aabbccddeeff).
This pattern matches an IP address in hexadecimal form (aabbccdd).
Convert an ip address from hexadecimal to canonical form.
Convert a mac address from alternative to canonical form.
Returns the subnet address for IPv4.
Returns the subnet address for IPv6.
Returns the network mask for IPv4.
Returns the network mask for IPv6.
To install FusionInventory::Agent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FusionInventory::Agent
CPAN shell
perl -MCPAN -e shell install FusionInventory::Agent
For more information on module installation, please visit the detailed CPAN module installation guide.