<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Config_db on Council of Elrond</title><link>https://songkou.github.io/tags/config_db/</link><description>Recent content in Config_db on Council of Elrond</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 18 Aug 2026 17:30:00 +0800</lastBuildDate><atom:link href="https://songkou.github.io/tags/config_db/index.xml" rel="self" type="application/rss+xml"/><item><title>Configuration Standardization and Automation on Cumulus and SONiC Switches</title><link>https://songkou.github.io/posts/cumulus-sonic-config-cli/</link><pubDate>Tue, 18 Aug 2026 17:30:00 +0800</pubDate><guid>https://songkou.github.io/posts/cumulus-sonic-config-cli/</guid><description>&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; this post documents &lt;code&gt;cumulus_sonic_cli.py&lt;/code&gt;, a standalone Python script I wrote to manage &lt;strong&gt;Cumulus Linux 5.x (NVUE)&lt;/strong&gt; and &lt;strong&gt;SONiC&lt;/strong&gt; switches from a single vendor-neutral YAML per device. The full source is at the bottom of the post.
&lt;strong&gt;Note:&lt;/strong&gt; This is a demo script so it doesn&amp;rsquo;t include classes. in production env, need to put functions in different classes, eg: populate interface list class, class to login device, class to combine yaml files, etc. and the yaml file also need to have a common yaml so common params can be shared by all devices. eg: interface MTU, VNI-VLAN/RT mapping, bgp password, TACACS/SNMP/SYSLOG/QOS, etc.&lt;/p&gt;</description></item></channel></rss>