Network Programmability for Noobs (ENAUTO, DCAUTO, DevNet)

Using python and the NX-OS API to Configure OSPF on a device.

This script will authenticate with a Nexus device that has feature nxapi enabled. We store the token received in a variable for later use, and then enable ospf globally, set the router id, and finally configure an interface with an IP address and to participate in our ospf instance in area 0.

On my journey towards Enterprise CCIE, I might make a pit stop or two at some of the DevNet certs.

Getting started with it all can be confusing, info overload to the max, and somewhat discouraging when you’re not sure how to accomplish tasks on your own.

The point of this video was not necessarily to be an in depth tutorial, but more an overview of the thought process I used to accomplish the task of having a python script configure something on a network device, without following a tutorial.

I used the NXAPI documentation, postman, and the NXAPI sandbox to accomplish creating this script.

As I continue my path towards the Cisco ENAUTO (Automating Enterprise Networks), I will continue to post my learnings.

Please subscribe, comment with feedback on how to improve these videos, and what you would like to see in the future.

LINKS:

Free Lab: https://agray.tech/free-networking-labs/ccna-gre-tunnel-lab/

Script from Video: https://github.com/agraymd/nxapi-ospf

NX-API Documentation: https://developer.cisco.com/site/cisc…

Cisco DevNet Basics Course (Free): https://developer.cisco.com/video/net…

Automatic WordPress Backups from DigitalOcean Droplet to Local Machine

This post explains how to implement automatic WordPress backups from a DigitalOcean droplet to your machine of choice using SSH/SFTP.

In this post I want to detail my way of implementing automatic WordPress Backups on a site hosted on a DigitalOcean VPS. I am looking for advice on how to improve this setup from efficiency and security standpoints.

Requirements:

  • DigitalOcean droplet running LEMP/LAMP stack (web server) and a WordPress site
  • SSH Key Authorization between server and backup storage machine
Continue reading “Automatic WordPress Backups from DigitalOcean Droplet to Local Machine”

Python Development Environment: Django with Postgre on CentOS 7

My thought process and steps taken to setup a development environment for learning django/python development.

My focus for the past year and a half has been mostly on networking, security, and systems administration / break fix type topics. However I have recently decided to dive into programming. I decided to start the journey into python, and I wanted to combine that with django for web app development. I quickly found how important it is to setup a Python Development Environment.

Continue reading “Python Development Environment: Django with Postgre on CentOS 7”