Added *default_ratio for dispatchers with load strategy

This commit is contained in:
Trial97
2020-08-18 17:09:27 +03:00
committed by Dan Christian Bogos
parent cb21fb0bc3
commit 536b4fa5b2
6 changed files with 112 additions and 26 deletions

View File

@@ -13,5 +13,5 @@ cgrates.org,EVENT4,*any,*string:~*req.EventName:Broadcast,,*broadcast,,ALL2,,20,
cgrates.org,EVENT4,,,,,,ALL,,10,,,
cgrates.org,EVENT5,*any,*string:~*req.EventName:Internal,,*weight,,SELF,,20,false,,20
cgrates.org,EVENT6,*any,*string:~*opts.*method:DispatcherSv1.GetProfileForEvent,,*weight,,SELF,,20,false,,20
cgrates.org,EVENT7,*any,*string:~*opts.EventType:LoadDispatcher,,*weight,,ALL,,20,false,,207
cgrates.org,EVENT7,*any,,,*weight,,ALL2,,20,false,*ratio:1,207
cgrates.org,EVENT7,*any,*string:~*opts.EventType:LoadDispatcher,,*weight,*default_ratio:1,ALL,,20,false,,20
cgrates.org,EVENT7,,,,,,ALL2,,20,,*ratio:1,20
1 #Tenant ID Subsystems FilterIDs ActivationInterval Strategy StrategyParameters ConnID ConnFilterIDs ConnWeight ConnBlocker ConnParameters Weight
13 cgrates.org EVENT4 ALL 10
14 cgrates.org EVENT5 *any *string:~*req.EventName:Internal *weight SELF 20 false 20
15 cgrates.org EVENT6 *any *string:~*opts.*method:DispatcherSv1.GetProfileForEvent *weight SELF 20 false 20
16 cgrates.org EVENT7 *any *string:~*opts.EventType:LoadDispatcher *weight *default_ratio:1 ALL 20 false 207 20
17 cgrates.org EVENT7 *any *weight ALL2 20 false *ratio:1 207 20

View File

@@ -13,5 +13,5 @@ cgrates.org,EVENT4,*any,*string:~*req.EventName:Broadcast,,*broadcast,,ALL2,,20,
cgrates.org,EVENT4,,,,,,ALL,,10,,,
cgrates.org,EVENT5,*any,*string:~*req.EventName:Internal,,*weight,,SELF,,20,false,,20
cgrates.org,EVENT6,*any,*string:~*opts.*method:DispatcherSv1.GetProfileForEvent,,*weight,,SELF,,20,false,,20
cgrates.org,EVENT7,*any,*string:~*opts.EventType:LoadDispatcher,,*weight,,ALL,,20,false,,207
cgrates.org,EVENT7,*any,,,*weight,,ALL2,,20,false,*ratio:1,207
cgrates.org,EVENT7,*any,*string:~*opts.EventType:LoadDispatcher,,*weight,*default_ratio:1,ALL,,20,false,,20
cgrates.org,EVENT7,,,,,,ALL2,,20,,*ratio:1,20
1 #Tenant ID Subsystems FilterIDs ActivationInterval Strategy StrategyParameters ConnID ConnFilterIDs ConnWeight ConnBlocker ConnParameters Weight
13 cgrates.org EVENT4 ALL 10
14 cgrates.org EVENT5 *any *string:~*req.EventName:Internal *weight SELF 20 false 20
15 cgrates.org EVENT6 *any *string:~*opts.*method:DispatcherSv1.GetProfileForEvent *weight SELF 20 false 20
16 cgrates.org EVENT7 *any *string:~*opts.EventType:LoadDispatcher *weight *default_ratio:1 ALL 20 false 207 20
17 cgrates.org EVENT7 *any *weight ALL2 20 false *ratio:1 207 20