RestComm / load-balancer

RestComm Converged (SIP/HTTP/WebSockets/SMPP) Load Balancer
http://www.restcomm.com/
GNU Affero General Public License v3.0
26 stars 31 forks source link

option to enable specific rules on runtime for binding specific nodes with input calls. #89

Closed leftyb closed 7 years ago

leftyb commented 7 years ago

The Idea is to be able to set rules on run time like : if From/to is regex pattern tie to node X

This can be an initial step to a future plan for proper traffic distribution and/or routing and control/troubleshooting. For example doing that we can be able to identify the node where a call has landed to troubleshoot. P.s. Initially this rules can be "static" by configuration option at the LB configuration file. Eventually as our cluster is growing we will need a more dynamic approach.

knosach commented 7 years ago

For adding: http://lbIpAddress:statisticport/lbnoderegex?regex=(-)&ip=nodeIp&port=nodePort

for removing: http://lbIpAddress:statisticport/lbnoderegex?regex=(-)