New Command Line Format:
./go.sh -F CONFIG_FILE -- -- -c CLIENT_INFO -s SERVER_INFO -f SERVER_CONFIG [-p PRINT_DELAY]
App Specific Arguments
--
- `CLIENT_IFACE` : client IP and client port number, separated by a /
- `SERVER_IFACE` : client IP and client port number, separated by a /
- `SERVER_CONFIG` : backend server config file
- `-p <print_delay>`: number of packets between each print, e.g. `-p 1` prints every packets.
LB successfully distributes packets with new command-line arguments
Invalid command line inputs have been handled extensively, but further testing will be done over the upcoming days to ensure that all invalid inputs are handled
LB has also been tested successfully when 3+ ports are open on the manager
Review:
@twood02 Let me know if these command-line args are sufficient. Otherwise, another viable alternative would be to use the server.conf file to handle the load balancer interfaces as well.
Summary:
LB is adjustmented to remove dependency on mTCP
New Command Line Format:
./go.sh -F CONFIG_FILE -- -- -c CLIENT_INFO -s SERVER_INFO -f SERVER_CONFIG [-p PRINT_DELAY]
ex:
./go.sh 2 -c 10.0.0.37/0 -s 11.0.0.37/1 -f server.conf
Usage:
Merging notes:
TODO before merging :
Test Plan:
Review:
server.conf
file to handle the load balancer interfaces as well.