pfappserver::Form::Config::Switch - Web form for a switch
Form definition to create or update a network switch.
Dynamically build text fields for the roles/vlans mapping.
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.
Dynamically build the block list of the roles mapping.
Dynamically extract the descriptions from the various SNMP modules.
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 (C) 2005-2015 Inverse inc.
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.