<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>NetDevOps</title>
    <link>https://netdevops.be/</link>
    <description>Recent content on NetDevOps</description>
    <image>
      <title>NetDevOps</title>
      <url>https://netdevops.be/papermod-cover.png</url>
      <link>https://netdevops.be/papermod-cover.png</link>
    </image>
    <generator>Hugo -- 0.152.2</generator>
    <language>en</language>
    <lastBuildDate>Mon, 14 Mar 2022 14:36:54 +0100</lastBuildDate>
    <atom:link href="https://netdevops.be/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Developing a custom Ansible filter plugin</title>
      <link>https://netdevops.be/developing-a-custom-ansible-filter-plugin/</link>
      <pubDate>Mon, 14 Mar 2022 14:36:54 +0100</pubDate>
      <guid>https://netdevops.be/developing-a-custom-ansible-filter-plugin/</guid>
      <description>&lt;p&gt;In this post I will show you how to develop an Ansible custom filter plugin that transforms live data obtained from a network device into the correct format for further use in subsequent Ansible playbook tasks.&lt;/p&gt;
&lt;h2 id=&#34;what-are-ansible-filters&#34;&gt;What are Ansible filters?&lt;/h2&gt;
&lt;p&gt;&lt;a href=&#34;https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html&#34;&gt;Ansible filters&lt;/a&gt; are powerful Python functions for manipulating data within Ansible. Filters receive input data via a variable, then perform a fixed operation and returns the result. Use cases are combining lists, transforming JSON data, manipulating strings, parsing data, …&lt;/p&gt;</description>
    </item>
    <item>
      <title>Backup Alcatel-Lucent Enterprise Omniswitch AOS6 &amp; AOS8 using Ansible</title>
      <link>https://netdevops.be/alcatel-lucent-enterprise-omniswitch-aos6-aos8-ansible-backup/</link>
      <pubDate>Mon, 31 May 2021 19:16:10 +0100</pubDate>
      <guid>https://netdevops.be/alcatel-lucent-enterprise-omniswitch-aos6-aos8-ansible-backup/</guid>
      <description>&lt;p&gt;This demo shows how you can easily backup your entire &lt;strong&gt;Alcatel-Lucent Enterprise Omniswitch&lt;/strong&gt; environment using Ansible. You can store the backup files locally or even better, push them to a remote GIT repository. The result is a &lt;strong&gt;CMDB (configuration management database)&lt;/strong&gt; in which the different backup versions are stored and where you can easily compare them to track changes.&lt;/p&gt;
&lt;figure&gt;
    &lt;img loading=&#34;lazy&#34; src=&#34;https://netdevops.be/img/20210527-git-compare.png&#34;
         alt=&#34;Switch configuration stored into a GIT repository&#34;/&gt; &lt;figcaption&gt;
            Switch configuration stored into a GIT repository
        &lt;/figcaption&gt;
&lt;/figure&gt;

&lt;p&gt;For AOS6 devices we use &lt;a href=&#34;https://galaxy.ansible.com/gmoisio/ale&#34;&gt;Gilbert Moisio&amp;rsquo;s &amp;ldquo;ale_aos&amp;rdquo; Ansible collection&lt;/a&gt; to save the CLI output captured from the &amp;ldquo;show configuration snapshot&amp;rdquo; command through SSH. For AOS8 devices we can utilize the REST API to send the necessary GET requests via the Ansible built-in &amp;ldquo;uri&amp;rdquo; module.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
