Coder Social home page Coder Social logo

nacl's Introduction

NACL

NACL is the Netbox Abstration / Automation & Caching Layer for Freifunk Hochstift Salt Stack.

We're managing all our Linux nodes inside the Freifunk Hochstift network within NetBox. This includes physical devices as well as virtual machines including host-side VM interface configuration.

In the future this shall be extended to regular networking kit (mainly switches) and wireless equipment (e.g. for wireless backbone links).

Those devices are documentated including

  • their OS (platform)
  • network interfaces and connections including Wireguard tunnels
  • IP addresses and their VRFs
  • SSH keys and SSL host cert/keys (stored in config contexts)
  • roles of the device

NACL has a caching layer to speed up requests from Salt and will cache the last successfully fetch data set in memory until the next refresh was successful. By default NetBox data will be refreshed every 1 minute after the last refresh ended.

Requirements

Python environment

NACL requires the requests and werkzeug Python libraries. On a Debian system you can install them via:

apt-get install python3-requests python3-werkzeug

NetBox

NACL is using the NetBox API as exposed by version 3.4.7. As NetBox does minor and even major breaking changes from time to time, NACL will not be compatible with much older or potentially newer versions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.