TTL255 - Przemek Rogala's blog

TTL255 - Przemek Rogala's blog

Computer Networks, Python and Automation
  • Home
  • About
  • RSS
  • Twitter
  • J2Live

By Przemek

Build DSCP to ToS conversion table with Python

31 August 2020

On: python, programming, automation, tools

In this post we're going to write Python program that generates DSCP to ToS conversion table while avoiding hardcoding values as much as possible. We will then save the final table to csv file with pre-defined column headers....

Continue reading »

By Przemek

Vrnetlab - Run virtual routers in Docker containers

19 August 2020

On: automation, Docker, tools, Vrnetlab

In this post we learn how to use Vrnetlab to run virtual network topologies in Docker containers....

Continue reading »

By Przemek

Jinja2 Tutorial - Part 4 - Template filters

21 July 2020

On: Jinja2, automation, python, Ansible

In this post we focus on Jinja2 filters. We learn what filters are and how to use them. Then you will see how to write custom filters. We finish with usage examples for selected filters....

Continue reading »

By Przemek

YAML anchors and aliases and how to disable them

05 July 2020

On: YAML, python, automation, tools

In this post we're looking at YAML anchors and aliases. We also look at different ways of stopping PyYAML from using references when serializing data structures....

Continue reading »

By Przemek

Jinja2 Tutorial - Part 3 - Whitespace control

28 June 2020

On: Jinja2, automation, Ansible, python

Third post in the Jinja2 tutorial series deals with whitespace control. We learn where whitespaces come from and how to control them....

Continue reading »

← Newer Posts Page 3 of 10 Older Posts →
Copyright © 2025 . All rights reserved. Published with Ghost. Theme Asgar v1.0.6.
Going up?