Campus Network-as-a-Service (CNaaS) is a project within SUNET with the goal of providing a fully managed service for LAN/WLAN networks at university campuses.

Blog Posts

CNaaS Documentation

There are three parts to the documentation of CNaaS at SUNET:

  1. Product documentation - Documents the different products we use (for NMS and NAC documentation, see below)
  2. Service documentation - Documents the SUNET specific processes
  3. Customer documentation - Documents specific details of one customer implementation


As part of this project a network management system called CNaaS-NMS is being developed to automate the management of the campus networks, the software is open source and can be used by anyone outside of SUNET as well.

Blog can be found here: Campus Networking Automation - Introduction

Source code available at Github



Dev / test environment setup

Lab Setup


Software Architecture (Google docs)

Code coverage status (

CNaas - NAC (Network Access Control)

In order to provide end users with an authentication mechanism CNaaS NAC was invented. It relies on freeradius ( for user authentication using 802.1X with MAB as fallback for clients not being able to use 802.1X.

Source code is available on GitHub:

Freeradius can either be integrated towards the existing user database (LDAP, Active Directory etc) or use Postgres to store credentials. CNaaS NAC provides both an API and a web interface to handle users if Postgres is chosen for storing credentials.

CNaaS NAC API reference.

CNaaS NAC Web interface


CNaaS Product Documentation
09.07.2020 15:06 CEST Johan Marcusson
CNaaS template development
10.06.2020 15:22 CEST Johan Marcusson
CNaaS init access with one uplink
27.04.2020 16:13 CEST Johan Marcusson
Git for CNaaS-NMS
21.04.2020 11:57 CEST Johan Marcusson
Zero-touch provisioning of access switch
21.04.2020 08:57 CEST Mikael Ottosson
Campus Network-as-a-Service (CNaaS)
20.04.2020 15:59 CEST Johan Marcusson
CNaaS Development Feature Branch
07.04.2020 15:00 CEST Johan Marcusson
CNaaS NMS Installation
01.04.2020 15:47 CEST Johan Marcusson
Client network assignment ideas.
17.03.2020 21:29 CET Magnus Bergroth
  • No labels