This repo contains a very simple example on how to create an stack service in NSO. An stack service usually includes references to other services in order to avoid duplication of XMLs and yang models.
The repo includes three different service packages:
- dns: A very simple template and python service to configure name server
- ntp: A very simple template and python service to configure ntp server
- common-services: A very simple template and python service that import yang definitions from the two above and references their XML templates.
Just copy these folders in your package directory and you should be ready to go. Tested on 5.2.0.3, make sure to re-compile before doing a package reload.
- Santiago Flores Kanter - sfloresk@cisco.com