[pbs-devel] applied: [PATCH proxmox-backup 2/2] ui: add Traffic Control UI

Thomas Lamprecht t.lamprecht at proxmox.com
Sat Nov 20 22:57:50 CET 2021


On 19.11.21 15:42, Dominik Csapak wrote:
> adds a list of traffic control rules (with their current usage)
> and let the user add/edit/remove them
> 
> the edit window currently has a grid for timeframes to add/remove
> with input fields for start/endtime and checkboxes for the days
> 
> there are still some improvements possible, like having a seperate
> grid for networks (the input field is maybe too small), or
> optimizing consecutive days to a range (e.g. mon..wed instead of mon,tue,wed)
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  www/Makefile                     |   2 +
>  www/NavigationTree.js            |   6 +
>  www/config/TrafficControlView.js | 197 +++++++++++++
>  www/window/TrafficControlEdit.js | 464 +++++++++++++++++++++++++++++++
>  4 files changed, 669 insertions(+)
>  create mode 100644 www/config/TrafficControlView.js
>  create mode 100644 www/window/TrafficControlEdit.js
> 
>

applied, thanks! Made a few follow ups for some bug fixes (e.g., for empty/no
timeframes on add/edit) and adapted it to the HumanByte change of the backend.

We can still go with bytes only if we think this is not a good idea (I won't
upload any changes to public yet til at least Monday).




More information about the pbs-devel mailing list