cnaas-nms
cnaas-nms copied to clipboard
Campus Network as-a-Service - Network Management System (Campus network automation software)
Added best practice configuration for black, isort, flake8 mypy and pre-commit. Edited all the files make sure they conform.
Ran black, isort and flake8. Please check out and see if you like the styling. Would not recommend a merge untill all important pending PR's are merged ;P
While testing the automated dev-setup for the frontend I wound up taking a look at the swagger-interface (runs on localhost:443) to the backend API. I have some (pedantic) comments. In...
**Describe the bug** Through conversation with @indy-independence, we have learned that any environment variable prefixed with `TEMPLATE_SECRET_`, exported to the CNaaS-NMS API process, will be made available as variables in...
PR for #237 move logging init into its own function. This has to be called for logging to work, but makes it possible for testing to just not call it...
**Is your feature request related to a problem? Please describe.** Logging is done via the log.py file, where get_logger is used to get a logger object. This obejct has a...
This introduces a new `lru_cache` decorator that will change its behavior according to the current environment. If imported in isolation, it selects the `functools.lru_cache` implementation. If imported in a fully...
The ipwrap filter is functionally equivalent to that provided by Ansible (see https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters_ipaddr.html#wrapping-ipv6-addresses-in-brackets). A template may look like ``` url https://{{ file_server }}/somefile.py ``` However, if the `file_server` variable is...
If the host system is running with a restrictive umask (which mine does), these scripts may be copied with a mode of `700`. Owned by root, they would not be...
This will parse any fragment present in a Git repo url as a branch refspec, and make sure to clone that branch when the repo is first cloned. I would...