diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-01-27 19:14:12 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-01-27 19:14:12 +0000 |
commit | cc76e43f467018f7db34dcabdb299c5bd4c09a06 (patch) | |
tree | 43fe11c156ceee592adf709c046f2c7e4efa9469 /usr/local/www/wizards/traffic_shaper_wizard.xml | |
parent | 885da2ce25dd89cdfff10529e53d4ec5c2bee442 (diff) | |
download | pfsense-cc76e43f467018f7db34dcabdb299c5bd4c09a06.zip pfsense-cc76e43f467018f7db34dcabdb299c5bd4c09a06.tar.gz |
Update the wizard.
This commit makes it capable of 1 LAN and multiple WAN's. Other wizards will come after this.
Now you can specify per each link upload and download and the wizard will do its math accordingly.
Also can specify per link guranteed VoIP bandwidth.
Penalty and cattchall queue can only be specified with percentage for simplicity.
Diffstat (limited to 'usr/local/www/wizards/traffic_shaper_wizard.xml')
-rw-r--r-- | usr/local/www/wizards/traffic_shaper_wizard.xml | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.xml b/usr/local/www/wizards/traffic_shaper_wizard.xml index efb167a..05f4b3c 100644 --- a/usr/local/www/wizards/traffic_shaper_wizard.xml +++ b/usr/local/www/wizards/traffic_shaper_wizard.xml @@ -39,11 +39,18 @@ <description>This wizard will guide you through setting up the pfSense traffic shaper.</description> <fields> <field> + <name>numberofconnections</name> + <type>input</type> + <validate>^[0-9]+$</validate> + <description>Number of connections you have</description> + <bindstofield>ezshaper->step1->numberofconnections</bindstofield> + </field> + <field> <name>Next</name> <type>submit</type> </field> </fields> - <stepbeforeformdisplay>step1_stepbeforeformdisplay();</stepbeforeformdisplay> + <stepsubmitphpaction>step1_submitphpaction();</stepsubmitphpaction> <includefile>/usr/local/www/wizards/traffic_shaper_wizard.inc</includefile> </step> <step> @@ -51,7 +58,7 @@ <title>pfSense Traffic Shaper Wizard</title> <description>Shaper configuration</description> <javascriptafterformdisplay/> - <stepsubmitphpaction> step2_stepsubmitphpaction(); </stepsubmitphpaction> + <stepsubmitphpaction>step2_stepsubmitphpaction();</stepsubmitphpaction> <includefile>/usr/local/www/wizards/traffic_shaper_wizard.inc</includefile> <fields> <field> @@ -64,10 +71,6 @@ <typehint>Queueing discipline to apply on this interface</typehint> <options> <option> - <name>NONE</name> - <value>NONE</value> - </option> - <option> <name>HFSC</name> <value>HFSC</value> </option> @@ -86,7 +89,7 @@ <name>lan</name> <type>input</type> <typehint>Bandwidth in Kbit/sec on this interface</typehint> - <validate>^[0-9]*$</validate> + <validate>^[0-9]*([MKG]?b|%)$</validate> <bindstofield>ezshaper->step2->lan->bandwidth</bindstofield> </field> <field> @@ -95,10 +98,6 @@ <typehint>Queueing discipline to apply on this interface</typehint> <options> <option> - <name>NONE</name> - <value>NONE</value> - </option> - <option> <name>HFSC</name> <value>HFSC</value> </option> @@ -226,7 +225,7 @@ <name>Bandwidth</name> <description>The limit in percentage (between 5% and 10%).</description> <type>input</type> - <validate>^[0-9]*$</validate> + <validate>^[0-9]*%$</validate> <message>Speed must be numerical and between 5 and 15 percent.</message> <bindstofield>ezshaper->step4->bandwidth</bindstofield> </field> @@ -271,7 +270,7 @@ <name>Bandwidth</name> <description>The limit in percentage.</description> <type>input</type> - <validate>^[0-9]*$</validate> + <validate>^[0-9]*%$</validate> <message>Speed must be numerical and in percentage of parent and between 5 and 10 perncent.</message> <bindstofield>ezshaper->step5->bandwidth</bindstofield> </field> |