Esmith::FormMagick::Panel::hostentries
Jump to navigation
Jump to search
NAME
esmith::FormMagick::Panels::hostentries - 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::hostentries
SYNOPSIS
use esmith::FormMagick::Panels::hostentries; my $panel = esmith::FormMagick::Panel::hostentries->new(); $panel->display();
DESCRIPTION
new();
Exactly as for esmith::FormMagick
hostname_or_ip
Validation routine for the remote address field for network printers.
HTML GENERATION ROUTINES
Routines for generating chunks of HTML needed by the panel.
$panel->print_table_headers()
Prints the table header row for the hosts tables.
mac_address_or_blank
Validation routine for optional ethernet address
create_or_modify()
This is the subroutine that does the actual work when you create/modify a host.
print_save_or_add_button()
remove()
lexicon_params()
Provides lexicon parameters for interpolation.
not_taken
This function checks the local ip address being set in the panel, and ensures that it is not already taken as the gateway ip or the local ip of the server.