Commit 8b994d62 authored by Ad Schellevis's avatar Ad Schellevis

(traffic shaper) work in progress integrating dummynet pipes

parent 8cefe409
......@@ -4,45 +4,47 @@
OPNsense traffic shaper
</description>
<items>
<pipe type="ArrayField">
<number type="IntegerField">
<MinimumValue>1</MinimumValue>
<MaximumValue>65535</MaximumValue>
<ValidationMessage></ValidationMessage>
<Required>Y</Required>
</number>
<bandwidth type="IntegerField">
<Required>Y</Required>
<default>899795</default>
</bandwidth>
<bandwidthMetric type="OptionField">
<Required>Y</Required>
<default>Kbit</default>
<OptionValues>
<bit>bit/s</bit>
<Kbit>Kbit/s</Kbit>
<Mbit>Mbit/s</Mbit>
</OptionValues>
<ValidationMessage>Bandwidth metric should be one of bit,Kbit,Mbit</ValidationMessage>
</bandwidthMetric>
<queue type="IntegerField">
<Required>N</Required>
<MinimumValue>1</MinimumValue>
<MaximumValue>100</MaximumValue>
</queue>
<queueMetric type="OptionField">
<Required>N</Required>
<default>slots</default>
<OptionValues>
<slots>Slots</slots>
<bit>bit/s</bit>
<Kbit>Kbit/s</Kbit>
<Mbit>Mbit/s</Mbit>
</OptionValues>
</queueMetric>
<description type="TextField">
<Required>N</Required>
</description>
</pipe>
<pipes>
<pipe type="ArrayField">
<number type="IntegerField">
<MinimumValue>1</MinimumValue>
<MaximumValue>65535</MaximumValue>
<ValidationMessage></ValidationMessage>
<Required>Y</Required>
</number>
<bandwidth type="IntegerField">
<Required>Y</Required>
<default>899795</default>
</bandwidth>
<bandwidthMetric type="OptionField">
<Required>Y</Required>
<default>Kbit</default>
<OptionValues>
<bit>bit/s</bit>
<Kbit>Kbit/s</Kbit>
<Mbit>Mbit/s</Mbit>
</OptionValues>
<ValidationMessage>Bandwidth metric should be one of bit,Kbit,Mbit</ValidationMessage>
</bandwidthMetric>
<queue type="IntegerField">
<Required>N</Required>
<MinimumValue>1</MinimumValue>
<MaximumValue>100</MaximumValue>
</queue>
<queueMetric type="OptionField">
<Required>N</Required>
<default>slots</default>
<OptionValues>
<slots>Slots</slots>
<bit>bit/s</bit>
<Kbit>Kbit/s</Kbit>
<Mbit>Mbit/s</Mbit>
</OptionValues>
</queueMetric>
<description type="TextField">
<Required>N</Required>
</description>
</pipe>
</pipes>
</items>
</model>
......@@ -24,6 +24,13 @@
#======================================================================================
flush
#======================================================================================
# define dummynet pipes
#======================================================================================
{% if helpers.exists('OPNsense.TrafficShaper.pipe') %}
{% endif %}
#======================================================================================
# general purpose rules 1...1000
#======================================================================================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment