Hide
Services/Collaborations
Campus Network as a Service
CNaaS Front Installation
CNaaS NMS also comes with a front-end WebUI developed in React Javascript. It can be found on https://github.com/SUNET/cnaas-front
Install a new VM with docker/docker-compose. Create a new docker-compose.yaml file similar to this:
version: '3.7' services: cnaas_front: image: docker.sunet.se/cnaas/front:latest ports: - 443:4443 environment: - CNAAS_API_URL= - CNAAS_AUTH_URL= - CNAAS_FRONT_URL= volumes: - type: volume source: cnaas-front-cert target: /opt/cnaas/cert volumes: cnaas-front-cert: external: true
Insert URL to API and AUTH like: https://cnaas-nms-vm.myorg.com/ and https://cnaas-auth-vm.myorg.com/
CNAAS_FRONT_URL should be the URL to the WebUI (this VM), for example: https://cnaas.myorg.com/
Before starting the VM you need to create the external volume for saving the SSL certificates:
docker volume create cnaas-front-cert
You can use docker cp to copy a properly signed certificate into /opt/cnaas/cert/cnaasfront_combined.crt and cnaasfront.key