Various docker-compose files to assist in system testing.

About compose-auth-test

Freeradius

Set the ip-range which will connect to the server and the server-secret in clients.conf, set the user/password combination in users.

Start the freeradius and onos

$ docker-compose -f docker-compose-auth-test.yml up -d

Start a test radius connection

$ docker-compose -f docker-compose-auth-test.yml up freeradius-test

The docker-compose-auth-test.yml contains a container called 'freeradius-test' which will send a auth-request to the server which after succes will print

freeradius-test_1  | Sending Access-Request of id 95 to 172.25.0.100 port 1812
freeradius-test_1  |     User-Name = "user"
freeradius-test_1  |     User-Password = "password"
freeradius-test_1  |     NAS-IP-Address = 172.25.0.101
freeradius-test_1  |     NAS-Port = 0
freeradius-test_1  |     Message-Authenticator = 0x00000000000000000000000000000000
freeradius-test_1  | rad_recv: Access-Accept packet from host 172.25.0.100 port 1812, id=95, length=20