Project

General

Profile

Actions

Regression #15888

open

ALTQ shaper queues are not present after importing a config

Added by Steve Wheeler 4 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Backup / Restore
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
25.01
Release Notes:
Default
Affected Version:
Affected Architecture:
All

Description

After importing a config into 24.11 hat has shaper queues defined the queues are not shown in the webgui.

This appears to be because the queue tags in the config are forced lower case and the Shaper Wizard creates queues with mixed case names.
Before:

    <shaper>
        <queue>
            <wan>
                <interface>wan</interface>
                <name>wan</name>
                <scheduler>PRIQ</scheduler>
                <bandwidth>10</bandwidth>
                <bandwidthtype>Mb</bandwidthtype>
                <enabled>on</enabled>
                <queue>
                    <qACK>
                        <name>qACK</name>
                        <interface>wan</interface>
                        <priority>6</priority>
                        <enabled>on</enabled>
                        <ecn>on</ecn>
                    </qACK>
                    <qDefault>
                        <name>qDefault</name>
                        <interface>wan</interface>
                        <priority>3</priority>
                        <enabled>on</enabled>
                        <default>on</default>
                        <ecn>on</ecn>
                    </qDefault>
                    <qOthersHigh>
                        <name>qOthersHigh</name>
                        <interface>wan</interface>
                        <priority>4</priority>
                        <enabled>on</enabled>
                        <ecn>on</ecn>
                    </qOthersHigh>
                    <qOthersLow>
                        <name>qOthersLow</name>
                        <interface>wan</interface>
                        <priority>2</priority>
                        <enabled>on</enabled>
                        <ecn>on</ecn>
                    </qOthersLow>
                </queue>
            </wan>
            <lan>
                <interface>lan</interface>
                <name>lan</name>
                <scheduler>PRIQ</scheduler>
                <bandwidth>10485.76</bandwidth>
                <bandwidthtype>Kb</bandwidthtype>
                <enabled>on</enabled>
                <queue>
                    <qLink>
                        <name>qLink</name>
                        <interface>lan</interface>
                        <qlimit>500</qlimit>
                        <priority>2</priority>
                        <enabled>on</enabled>
                        <default>on</default>
                        <ecn>on</ecn>
                    </qLink>
                    <qACK>
                        <name>qACK</name>
                        <interface>lan</interface>
                        <priority>6</priority>
                        <enabled>on</enabled>
                        <ecn>on</ecn>
                    </qACK>
                    <qOthersHigh>
                        <name>qOthersHigh</name>
                        <interface>lan</interface>
                        <priority>4</priority>
                        <enabled>on</enabled>
                        <ecn>on</ecn>
                    </qOthersHigh>
                    <qOthersLow>
                        <name>qOthersLow</name>
                        <interface>lan</interface>
                        <priority>3</priority>
                        <enabled>on</enabled>
                        <ecn>on</ecn>
                    </qOthersLow>
                </queue>
            </lan>
        </queue>
    </shaper>

After:

    <shaper>
        <queue>
            <wan>
                <interface>wan</interface>
                <name>wan</name>
                <scheduler>PRIQ</scheduler>
                <bandwidth>10</bandwidth>
                <bandwidthtype>Mb</bandwidthtype>
                <enabled>on</enabled>
                <queue>
                    <qack>
                        <name>qACK</name>
                        <interface>wan</interface>
                        <priority>6</priority>
                        <enabled>on</enabled>
                        <ecn>on</ecn>
                    </qack>
                    <qdefault>
                        <name>qDefault</name>
                        <interface>wan</interface>
                        <priority>3</priority>
                        <enabled>on</enabled>
                        <default>on</default>
                        <ecn>on</ecn>
                    </qdefault>
                    <qothershigh>
                        <name>qOthersHigh</name>
                        <interface>wan</interface>
                        <priority>4</priority>
                        <enabled>on</enabled>
                        <ecn>on</ecn>
                    </qothershigh>
                    <qotherslow>
                        <name>qOthersLow</name>
                        <interface>wan</interface>
                        <priority>2</priority>
                        <enabled>on</enabled>
                        <ecn>on</ecn>
                    </qotherslow>
                </queue>
            </wan>
            <lan>
                <interface>lan</interface>
                <name>lan</name>
                <scheduler>PRIQ</scheduler>
                <bandwidth>10485.76</bandwidth>
                <bandwidthtype>Kb</bandwidthtype>
                <enabled>on</enabled>
                <queue>
                    <qlink>
                        <name>qLink</name>
                        <interface>lan</interface>
                        <qlimit>500</qlimit>
                        <priority>2</priority>
                        <enabled>on</enabled>
                        <default>on</default>
                        <ecn>on</ecn>
                    </qlink>
                    <qack>
                        <name>qACK</name>
                        <interface>lan</interface>
                        <priority>6</priority>
                        <enabled>on</enabled>
                        <ecn>on</ecn>
                    </qack>
                    <qothershigh>
                        <name>qOthersHigh</name>
                        <interface>lan</interface>
                        <priority>4</priority>
                        <enabled>on</enabled>
                        <ecn>on</ecn>
                    </qothershigh>
                    <qotherslow>
                        <name>qOthersLow</name>
                        <interface>lan</interface>
                        <priority>3</priority>
                        <enabled>on</enabled>
                        <ecn>on</ecn>
                    </qotherslow>
                </queue>
            </lan>
        </queue>
    </shaper>

No data to display

Actions

Also available in: Atom PDF