Esmith::FormMagick::Panel::localnetworks
Jump to navigation
Jump to search
NAME
esmith::FormMagick::Panels::localnetworks - useful panel functions In a root terminal you can do the command below if you want to display the up-to-date content
perldoc esmith::FormMagick::Panels::localnetworks
SYNOPSIS
use esmith::FormMagick::Panels::localnetworks; my $panel = esmith::FormMagick::Panel::localnetworks->new(); $panel->display();
DESCRIPTION
new();
Exactly as for esmith::FormMagick
HTML GENERATION ROUTINES
Routines for generating chunks of HTML needed by the panel.
print_user_table
Prints out the user table on the front page.
VALIDATION ROUTINES
ip_number_or_blank
The router field may either contain an ip address or may be blank.
ADDING AND REMOVING NETWORKS
add_network()
remove_network()
hosts_on_network
This method takes a network address, and a netmask, and audits the hosts database looking for hosts on that network. In a scalar context it returns the number of hosts found on that network. In a list context it returns the host records.