-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qos: T6035: QoS policy shaper queue-type random-detect requires limit…
… avpkt Added params for configuration red on the shaper policy (cherry picked from commit 31cd75a)
- Loading branch information
1 parent
7441c14
commit 92f2369
Showing
7 changed files
with
167 additions
and
56 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
interface-definitions/include/qos/queue-average-packet.xml.i
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!-- include start from qos/queue-average-packet.xml.i --> | ||
<leafNode name="average-packet"> | ||
<properties> | ||
<help>Average packet size (bytes)</help> | ||
<valueHelp> | ||
<format>u32:16-10240</format> | ||
<description>Average packet size in bytes</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--range 16-10240"/> | ||
</constraint> | ||
<constraintErrorMessage>Average packet size must be between 16 and 10240</constraintErrorMessage> | ||
</properties> | ||
<defaultValue>1024</defaultValue> | ||
</leafNode> | ||
<!-- include end --> |
16 changes: 16 additions & 0 deletions
16
interface-definitions/include/qos/queue-mark-probability.xml.i
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!-- include start from qos/queue-mark-probability.xml.i --> | ||
<leafNode name="mark-probability"> | ||
<properties> | ||
<help>Mark probability for random detection</help> | ||
<valueHelp> | ||
<format>u32</format> | ||
<description>Numeric value (1/N)</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--positive"/> | ||
</constraint> | ||
<constraintErrorMessage>Mark probability must be greater than 0</constraintErrorMessage> | ||
</properties> | ||
<defaultValue>10</defaultValue> | ||
</leafNode> | ||
<!-- include end --> |
16 changes: 16 additions & 0 deletions
16
interface-definitions/include/qos/queue-maximum-threshold.xml.i
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!-- include start from qos/queue-maximum-threshold.xml.i --> | ||
<leafNode name="maximum-threshold"> | ||
<properties> | ||
<help>Maximum threshold for random detection</help> | ||
<valueHelp> | ||
<format>u32:0-4096</format> | ||
<description>Maximum threshold in packets</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--range 0-4096"/> | ||
</constraint> | ||
<constraintErrorMessage>Threshold must be between 0 and 4096</constraintErrorMessage> | ||
</properties> | ||
<defaultValue>18</defaultValue> | ||
</leafNode> | ||
<!-- include end --> |
15 changes: 15 additions & 0 deletions
15
interface-definitions/include/qos/queue-minimum-threshold.xml.i
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<!-- include start from qos/queue-minimum-threshold.xml.i --> | ||
<leafNode name="minimum-threshold"> | ||
<properties> | ||
<help>Minimum threshold for random detection</help> | ||
<valueHelp> | ||
<format>u32:0-4096</format> | ||
<description>Minimum threshold in packets</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--range 0-4096"/> | ||
</constraint> | ||
<constraintErrorMessage>Threshold must be between 0 and 4096</constraintErrorMessage> | ||
</properties> | ||
</leafNode> | ||
<!-- include end --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters