mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

8.4K
active users

#configuration

5 posts5 participants0 posts today

#network #configuration #annet #netbox #python

Annet is a configuration generator that can translate differences between old and new configurations into sequence of commands. This feature is vital for CLI-based devices, such as Huawei, Cisco IOS, Cisco NX-OS, Juniper. Devices configured via separate config files, Linux, FreeBSD and Cumulus are also supported.

github.com/annetutil/annet

Annet generates configuration for a device by running Python code, which usually goes to the Network Source of Truth, like NetBox. Annet then gets the difference by getting the configuration from the device and comparing it. Finally, Annet translates the difference into a sequence of commands, called a patch. After deploying these commands, the diff will be empty.

Usage help can be obtained by calling `annet -h` or for a specific command, such as `annet gen -h`.

[Online Documentation](annetutil.github.io/annet/)
[Tutorial](annetutil.github.io/annet/main)

Configuration generation and deploying utility for network equipment - annetutil/annet
GitHubGitHub - annetutil/annet: Configuration generation and deploying utility for network equipmentConfiguration generation and deploying utility for network equipment - annetutil/annet

Am I the only one who thinks #suckless software actually sucks ... *more*?

Of course not more than the bloated crap suckless people hate so much, but more than some other lean and simple projects that did *not* dump the concept of "runtime #configuration"? 🤔

It's amazing how much I actually enjoy reading their thoughts on philosophy and related topics about software architecture and design. I just think runtime configuration is an *essential* feature of any non-trivial software. 🤷

Addendum: Thanks everyone for their input so far!

###

Stupid #Linux / #Unix question - honest answers please! :boost_ok:

Why not shove all configuration files in a git?

  • Obviously not the ones that actually matter like id_rsa and/or some other private keys / certificates...

But like regular #SystemConfiguration files.

  • In all seriousness noone should actually do this with a public git but then again noone puts their Ansible public either.

What did I miss with my train of thought, folks?

Simple CONFiguration Manager - a brutally simple way to manage system(s) configuration(s) - greyhat-academy/sconfm
GitHubGitHub - greyhat-academy/sconfm: Simple CONFiguration Manager - a brutally simple way to manage system(s) configuration(s)Simple CONFiguration Manager - a brutally simple way to manage system(s) configuration(s) - greyhat-academy/sconfm

My screen resolution can do as far as 4096x2160, with both Windows and Linux, recommending I use 3840x2160. I usually like my screen around 1920x1200, but something has changed with the drivers or something, because at that setting I end up with two black bars on the left and right of my screen, making it narrow. So I now usually keep it around 1920x1080.

That said, not everyone is using a large Toshiba TV in their living room (which doubles as my work room), and so I took the time to make sure this document could be readable at 1024x768.

https://codeberg.org/Linux-Is-Best/NixOS_Configuration/src/branch/main/basic_config.txt

#NixOs #Nix #Linux #Configuration

codeberg.orgMaking sure you're not a bot!