Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

docker volume create cnaas-templates
docker volume create cnaas-settings
docker volume create cnaas-postgres-data
docker volume create cnaas-jwtcert

To get authentication working you need a JWT certificate. You can either download this dummy public.pem cert for example and place it inside the container at /opt/cnaas/jwtcert/public.pem , or setup some external JWT server like SUNET auth poc.

You are now ready to start the integration tests. When running integrationtests.sh it will wait for a device to enter the DISCOVERED state for 10 minutes, so you can start by booting up eosaccess now, and then start integrationtests.sh. eosaccess should start ZTP boot via DHCP from the DHCPd container started by integrationtests.sh , and then reboot once again. The second time it starts up a job should be scheduled to discover the device, you can check the progress here by tailing logs from the dhcp and api containers like this: "docker logs -f docker_cnaas_dhcpd_1" (or docker_cnaas_api_1).

...