S5E0: "Frameworks Without Much Bite"

Posted
Modified
Comments 0

Navigation
Previous EpisodeNext Episode
Log
Recorded (UTC) Aired (UTC) Editor
2020-02-06 03:30:48 2020-02-16 18:26:12 "Edita"
Verification
Format SHA256 GPG Audio File
MP3 b18d3d17fd6f3608cbc953ba8d8b5e34a09c77b378f15331d372627b7a9f5b0a click click
OGG 9ca6d23e44cc36f55b36b7900d5fcddc3760bf30eaf3500841e36d3d1a641b9f click click
Quicklisten:

We talk about python system management frameworks – namely, Nornir and Fabric. We also throw a bit in about (python-)augeas and Bundle.

Just the Tip

Also, props to the train running by Jthan’s apartment that makes it sound like some sci-fi horror.

Notes

Starts at 20m28s.

I was drinking water. Paden was drinking PBR. Jthan was drinking PBR.

Thanks to Micah Shields on Twitter for suggesting trying out Nornir!

  • Python management frameworks
    • Nornir
      • Sort of disappointing when you can get the same functionality with the Ansible python API
      • But both are trash.
      • The documentation is also not good. The tutorial explains more than the reference, which… should be the other way around, and their networking docs make no attempt to explain the difference between NAPALM or NetMiko.
    • Fabric
      • We thought we could use this as a python option for pdsh
        • But parallelization does not seem to be supported in 2.x.
    • Ultimately, best-case is to just turn up SaltStack and use their python API rather than Nornir or Fabric.
  • Python configuration file parsing libraries (38m26s)
    • python-augeas
      • Python bindings that hook into Augeas.
      • There are a large amount of lenses available.
      • CFEngine is very old.
    • Bundle
      • It’s not really worth it. You can implement what it offers yourself in maybe 20-30 lines of straight python, no need to add unnecessary deps to your management environment.

15 Clams

In this segment, Jthan shares with you a little slice of life. The title is a reference to this video. (2m16s in)

Starts at 48m54s.

Jthan gets mad about various configuration managements’ DSLs and he doesn’t realize that they can’t do everything that a proper programming language can, and that they don’t support exactly what he wants out of the box.

Errata

  • I’ve been playing with the LDAP backend for openLDAP and it is awesome.
  • Jthan timed out from Mumble and neither of us realized it, which is why we start talking over each other.

Music

Music Credits
Track Title Artist Link Copyright/License
Intro Upgrade Your Soul Xols click CC-BY-NC-ND 4.0
Outro Southside Dub Skanking The Dubwegians click CC-BY-NC-ND 4.0
(All music is royalty-free, properly licensed for use, used under fair use, or public domain.)

Author
Categories

Comments

There are currently no comments on this article.

Comment...

Enter your comment below. Fields marked * are required. You must preview your comment before submitting it.