Oh yes, we are going to start small and expand as this article goes on, so get comfortable if you are reading this for the long haul - This is creating Classes in Python towards the bottom! There is a ton more Python 3 to get through together for DEVASC Exam Day! I felt like … Continue reading DEVASC Python – PEP8, PyPI, Functions, Procedural vs OOP, Classes, Methods, Inheritance, Modules, and tons of exam day info!
TIME TO MAKE THE FINAL PUSH TO THE SUMMIT OF THE DEVNET ASSOCIATE EXAM! I will be pounding the pavement with small bite sized chunks of posts up to exam day! I've stalled out a bit in studies getting distracted with wanting to jump ahead to labbing CI/CD and Cloud technologies, so I am going … Continue reading DEVASC exam notes – SDLC / Design Patterns / GIT / A ton of Python 3 specifically that will appear on the DEVASC exam (huge section)!
I just have to admit it - I know just enough Python to understand but not code it! Python is a lot like when I took "Intro to Spanish" in College, I can understand enough to get the drift of what is being said, but I could not speak a fluent sentence to save my … Continue reading Python 3 – Learning it properly this time from Hello World to Scripting, learning Python 3 from scratch Post #1 Completed – Will start #2 soon!
I started to Lab... Then I tried watching TV... then I realized I needed to go outside! I caught the sun setting on a lake where I live in Minnesota, and with no humidity outside, I just walked around for an hour or so and it was AMAZING! Just like its easy to forget to … Continue reading Lazy Day Post – Went for a very long, much need walk, starting back on intro to Python topics, uploaded Local GIT Repo to my GitHub page as shown here (demo)!
It is time to ditch the SSH and move onto Netmiko that would actually be used in most production networks, which involves a bit more than "enable ssh" if you have not turned it on before / turned off telnet, but I will demo it here of course via Automation! I am still continuing on … Continue reading Python3 Network Programming – Enabling SSHv2 and Disabling Telnet using Automation, and how to secure your network by enabling SSHv2 and disabling Telnet (very carefully)!
This will be a shorter demo, using the same Topology from the previous lab, to demonstrate writing a script for the NetAuto Host to telnet to switches to backup the running configs and in this demo writing them to the local NetAuto Host. This will be a pretty quick lab as the steps for using … Continue reading Python3 Network Programming – Creating a script to Automate getting backup configs from multiple network devices using my previous Topology!
I will be automating the three switches in the above Topology with a single script! But first an important note before reading: This simple demo took all of an hour or so to lab up and post here, Network Automation with Python is SUCH a powerful skillset to have at your disposal, it is ridiculous … Continue reading Python3 Network Programming – Creating a very simple script that automates unlimited devices, nesting loops within loops, and labs to demo how absolutely powerful Network Automation is!
I have created a new Topology consisting of just a switch to demonstrate using "Loops" and "Concatenation" to demonstrate how to create a ton of VLANs, using the Loop to define the "Iterations" or number of times the function is run, and using Concatenation to allow "Integers" and "Strings" in Python to play well together. … Continue reading Python3 Network Programming – Using loops to script VLAN configuration, explanation of Python terminology, and lab demo to see it work!
I honestly hope this is a really boring post as its been a long day / weekend for me! I do hope this is a very boring demonstration of my work just working this blog, as I spent Friday into Saturday AM making most of it, and have mostly been taking advantage of the beautiful … Continue reading Python3 Network Programming – Demonstrating Python script execution, link to this GNS3 Topology shown, and other useful links for GNS3 setup! (Part 2/2)
Its not too deep into complex configurations, but turning it up a notch 🙂 I am still do some no-no's like setting the "enable secret" password in plain text in the code templates, which will be something I address down the road, I've decided to add a few devices and a few old friends from … Continue reading Python3 Network Programming – Configuring a larger, more complex Topology using Python 3! All code / scripts used, devices explained, and some troubleshooting! (Part 1/2)
This is a program from "Automate the boring stuff" that really turned on the light on a lot of concepts for I believe Python 3.x specific syntax, and just in general (stuff also in 2.7). I'll run through this quick as getting on the lab was not easy tonight, but I want to nail these … Continue reading Python – Demonstrating a simple Input/Output program in VSC, and how to use this info to practice until perfect!