tree: 78888a43fa7d08fcdd17e0c577fdc258ea697177 [path history] [tgz]
  1. README.md
  2. TODOS.md
  3. data/
  4. docker-compose-all.yml.j2
  5. docker-compose-auth-test.yml
  6. docker-compose-cli.yml
  7. docker-compose-consul-cluster.yml
  8. docker-compose-dashd.yml
  9. docker-compose-docutests.yml
  10. docker-compose-elasticsearch.yml
  11. docker-compose-envoy-swarm.yml
  12. docker-compose-fixed-port.yml
  13. docker-compose-fluentd-agg-cluster.yml
  14. docker-compose-fluentd-cluster.yml
  15. docker-compose-grafana-swarm.yml
  16. docker-compose-kafka-cluster.yml
  17. docker-compose-logstash-swarm.yml
  18. docker-compose-logstash.yml
  19. docker-compose-netconf-swarm.yml
  20. docker-compose-netopeer.yml
  21. docker-compose-ofagent-swarm.yml
  22. docker-compose-ofagent-test.yml
  23. docker-compose-onos-swarm.yml
  24. docker-compose-opennms.yml
  25. docker-compose-registry.yml
  26. docker-compose-stats-swarm.yml
  27. docker-compose-system-test-dispatcher.yml
  28. docker-compose-system-test-encrypted.yml
  29. docker-compose-system-test-persistence.yml
  30. docker-compose-system-test-with-etcd.yml
  31. docker-compose-system-test.yml
  32. docker-compose-voltha-swarm.yml
  33. docker-compose-zk-kafka-test.yml
  34. elasticsearch/
  35. opennms/
  36. voltha-stack.yml.j2
compose/README.md

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