Page MenuHomeVyOS Platform

Add QoS Op Mode Commands
Open, NormalPublicENHANCEMENT

Description

This task will add missing op mode commands for QoS. The following commands will be added:
show qos shaping

show qos shaping detail
show qos shaping interface <int name>
show qos shaping interface <int name> detail
show qos shaping interface <int name> class <class name>
show qos shaping interface <int name> class <class name> detail
show qos cake interface <int name>

The default output will be a table view, with the option for a detailed view that presents as a list view to allow for more information:

Table view:

--------------------------------------------------------------------------------
Interface: eth1
Policy Name: test

Class    Type              BW    Max. BW      Bytes     Pkts.    Drops    Queued
-------  --------  ----------  ---------  ---------  --------  -------  --------
root     htb         1.000 Gb   1.000 Gb  34.143 GB  26669712        0         0
10       fq_codel    3.000 Mb   3.000 Mb       0  B         0        0         0
default  fq_codel  200.000 Mb   1.000 Gb  34.143 GB  26669712        0         0

Detailed view:

-----------------------------------
Interface: eth1
Policy Name: test

 Interface   | eth1
 Policy Name | test
 Direction   | egress
 Class       | default
 Type        | fq_codel
 BW          | 200000000
 Max. BW     | 1000000000
 Bytes       | 34150823038
 Pkts.       | 26685906
 Drops       | 0
 Queued      | 0
 Overlimit   | 19868638
 Requeue     | 0
 Lended      | 14065325
 Borrowed    | 12620581
 Giants      | 0

Details

Difficulty level
Easy (less than an hour)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)