cnaas-nms developer johan marcusson

18

Upload: others

Post on 29-May-2022

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CNaaS-NMS Developer Johan Marcusson
Page 2: CNaaS-NMS Developer Johan Marcusson

CNaaS-NMSTechnical Demo: Workflows

Johan MarcussonDeveloper

Page 3: CNaaS-NMS Developer Johan Marcusson

Interaction with NMS

Page 4: CNaaS-NMS Developer Johan Marcusson

SUNET lab

Page 5: CNaaS-NMS Developer Johan Marcusson

How to use CNaaS-NMS

● Source code available on https://github.com/SUNET/cnaas-nms

● Pre-built docker containers available on docker.sunet.se/cnaas/api:latest

● Some experience with git and docker helps● Virtual test env using vEOS in VirtualBox

Page 6: CNaaS-NMS Developer Johan Marcusson

Thanks for listening! Questions?

SUNET wiki documentation:https://wiki.sunet.se/display/CNaaS

Source code available at GitHub: https://github.com/SUNET/cnaas-nms

mail: [email protected]

#automation @ NREN slack

Page 7: CNaaS-NMS Developer Johan Marcusson

Reference slides

Page 8: CNaaS-NMS Developer Johan Marcusson

ZTP workflow

Page 9: CNaaS-NMS Developer Johan Marcusson

Demo: Zero-touch deployment (MLAG pair)

https://play.sunet.se/media/CNaaS+NMS+WebUI+ZTP+demo/0_ff0l8enk

Page 10: CNaaS-NMS Developer Johan Marcusson

Demo: Firmware upgrade

https://play.sunet.se/media/CNaaS-NMS+Firmware+Upgrade+via+WebUI/0_jf424rq1

2-step process:

1. Download & activate firmware

2. Reboot devices (can be scheduled for a later time)

Page 11: CNaaS-NMS Developer Johan Marcusson

Demo: Config change

https://play.sunet.se/media/CNaaS+NMS+change+workflow%2C+VScode+%2B+WebUI/0_4a34tciw

Page 12: CNaaS-NMS Developer Johan Marcusson

Demo: Config change

Page 13: CNaaS-NMS Developer Johan Marcusson

Demo: Config change

Page 14: CNaaS-NMS Developer Johan Marcusson

Demo: Config change

Page 15: CNaaS-NMS Developer Johan Marcusson

Config generation

Git settings (YAML)

Git templates (Jinja)

Database (SQL)

Network device

Replace config

Generates full device config

Page 16: CNaaS-NMS Developer Johan Marcusson

Change workflow

1. Update settings or templates2. Commit and push to git3. Ask API to pull changes from git (API-call)4. Dry run on devices (API-call)5. Verify diff6. Live run (API-call)

Page 17: CNaaS-NMS Developer Johan Marcusson

Komponenter / Arkitektur

Page 18: CNaaS-NMS Developer Johan Marcusson

NAV portadmin for helpdesk