Conversation
modified: defaults.sh modified: functions.sh new file: nxt_routed_hfsc.qos new file: nxt_routed_hfsc.qos.help
Signed-off-by: Vincent Frentzel <vincent@frentzel.eu> modified: nxt_routed_hfsc.qos
|
Hi Vincent, hi Toke, On Jul 26, 2015, at 20:48 , Vincent Frentzel notifications@github.com wrote:
Best Regards
|
|
I am certainly fine with adding this feature, but there's a couple of issues with this particular pull request:
If you could please fix these issues and open a new pull request, I'll be happy to merge it :) |
|
Realised that indentation was fairly inconsistent as it was, so probably shouldn't fault you for adding a bit more inconsistency in there. :) Should now be consistent at four spaces of indent everywhere. Please use that when you resubmit :) |
|
Thanks for the info. I definitely like 4 spaces more... Going through the code I realized that my pull request missed the fact that some cleanup logic has been added in the stop-sqm (iptables rule teardown). This is fine for the current qos scripts, however mine have different rules (I also have some scrips without any iptable rules for use on transparent bridges). As a way forward, my idea was to provide the start-sqm and stop-sqm functions as interface functions of the qos scripts to allow script specific implementations. Would that be fine? |
|
Hi Toke, On Jul 29, 2015, at 01:34 , Toke H�iland-J�rgensen notifications@github.com wrote:
Best Regards
|
|
On a separate point... I would like to propose that the selection of the qdisc be removed from UCI in favor of defining it statically in each qos script. The reasons are as follow:
From an overall overview I think that future activities should focus on taking as much of the learnings from Cero and build a stable, rock solid product, out of sqm-scripts. This means cleaning up the qos scripts and providing a set of options to the user which solve actual problems (ie. not provide a base for experimentation on Qdiscs). I would also recommend to remove some of the qos scripts which we feel are not adding much user value. |
|
Hi Seb, No issue on post merge modding. Just let me get the right script in first as I really want to give something that we will work everywhere. I did some playing but was not so satisfied with the performance on some links. |
|
Hi Vincent, hi Toke On Jul 29, 2015, at 10:24 , Vincent Frentzel notifications@github.com wrote:
Best Regards & sorry to mostly disagree
|
|
I agree that we should continue to provide a qdisc selector in the GUI. With the recent changes to only show the available qdiscs that should not be too confusing. Note, however, that the (new) verify_qdiscs function can take a list of supported qdiscs as the second parameter, and will error out if the selected qdisc is not in that set. So I think it's reasonable for individual scripts to error out if the selected qdisc is not supported. We may want to think about how to present that fact to the user. As for the API to the .qos scripts, I agree that hard-coding a particular teardown mechanism is probably not a good idea. Expecting each .qos script to define sqm_start and sqm_stop (and maybe having a default implementation in functions.sh) would probably be a good way to solve that. I'll look into refactoring that :) |
|
Okay, pushed the API change. |
|
On Jul 29, 2015, at 15:01 , Toke H�iland-J�rgensen notifications@github.com wrote:
Best Regards
|
|
Hi Toke, On Jul 29, 2015, at 15:27 , Toke H�iland-J�rgensen notifications@github.com wrote:
Best Regards
|
As discussed with Moeller, please find this pull request with my HFSC script.
I made some changes to functions.sh: