<<

NAME

pfappserver::Form::Config::Switch - Web form for a switch

DESCRIPTION

Form definition to create or update a network switch.

METHODS

options_inlineTrigger

field_list

Dynamically build text fields for the roles/vlans mapping.

update_fields

When editing the default switch, set as required the VLANs mapping of the base roles.

For other switches, add placeholders with values from default switch.

build_block_list

Dynamically build the block list of the roles mapping.

options_type

Dynamically extract the descriptions from the various SNMP modules.

options_mode

options_deauthMethod

options_vclose

options_cliTransport

options_wsTransport

validate

If one of the inline triggers is $ALWAYS, ignore any other trigger.

Make sure the selected switch type supports the selected inline triggers.

Validate the MAC address format of the inline triggers.

Validate the list of uplink ports.

COPYRIGHT

Copyright (C) 2005-2015 Inverse inc.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

<<