AirVantage / sbulb

UDP load balancer prototype using bcc (XDP/Bpf)
36 stars 9 forks source link

Add a 'config_file' param with dynamic config change support #10

Closed sbernard31 closed 5 years ago

sbernard31 commented 5 years ago

It aims to implement #3.

The new param is :

  -cfg CONFIG_FILE, --config_file CONFIG_FILE
                        <Required> a path to a file containing real server address(es). 
                        File will be polled each second for modification and configuration
                        updated dynamically. A file content example :

                        [Real Servers]
                        10.0.0.4
                        10.0.0.2
                        10.0.0.6