Update git submodules
* Update neutron from branch 'master' - Merge "Check tc_lib.add_tc_policy_class input parameters" - Check tc_lib.add_tc_policy_class input parameters All input rate parameters (ceil, burst and rate) are mandatory in Pyroute "tc" class [1]. "tc_lib.add_tc_policy" should provide them. max_kbps: Now "max_kbps" is mandatory. burst_kb: In case this parameter does not exist, the library uses the method previously defined in Neutron, consisting of asigning the 80% of "max_kbps". min_kbps: In Pyroute2 [2], the value of "burst" depends on the "rate" value. If the "rate" value is too small, the "burst" value will exceed the 2^32 limit defined in the iproute2 structure. In order to avoid the error described in c#4 of the related bug, the method checks if the provided "rate" value is greater than the minimum possible value. If not, the minimum value is set and a warning message is logged. [1]fb2453c999/neutron/privileged/agent/linux/tc_lib.py (L107-L108)
[2]943502a95c/pyroute2/netlink/rtnl/tcmsg/sched_htb.py (L88-L91)
Change-Id: If60f4ea9793b0872e348a6319f2c24127e93f540 Related-Bug: #1826565
This commit is contained in:
parent
0ed2c51a59
commit
d7afdc45af
2
neutron
2
neutron
|
@ -1 +1 @@
|
|||
Subproject commit 7a6f775db51c113dbf717edf70cd3e541930c0c1
|
||||
Subproject commit 15b84083ce7fe0814bfdc3d06e4a351d532e2aa7
|
Loading…
Reference in New Issue