Posts

Python SDN 101: Telnet Device Control

Image
We began learning Python in the previous several articles. Why would a network engineer choose to acquire knowledge of this programming language? Our profession is developing and adapting to new technology; so, we must also adapt. Today's network engineer is not the same as he or she was 10 years ago. In 10 years' hence, SDN will undoubtedly disrupt our jobs; we can either surf the wave or perish under it. With this tutorial, we'll begin a Python SDN project to get you started with SDN. Read More: SSH Tutorial for Python and how to connect to Cisco devices SDN is coming about Python SDN 101: Telnet Device Control For those unfamiliar with the term, SDN stands for Software-Defined Networking. With this technology, you get a collection of gadgets that are designed to make network engineers' lives easier. Forget about setting VLANs and ports; the program will take care of everything for you. It is not a basic centralized administration console; it has intelligence. You do ...

SSH Tutorial for Python and how to connect to Cisco devices

Image
SSH is the industry standard for connecting to a network device. This is unsurprising, given that the legacy protocol, telnet, only allows for insecure remote management. Rather than that, SSH stands for Secure Shell for a reason: it is a truly secure protocol that incorporates all modern security features. As a result, we cannot create SDN software without incorporating SSH. We will demonstrate how to use SSH in a Python program to connect to and control remote devices in this Python SSH Tutorial. We will demonstrate how to do things correctly in this article. Are you in a hurry? Simply scroll down for the TL;DR version. SSH encrypts traffic between you and the server, end-to-end. Read More: Python Multithreading Tutorial: Everything You Need to Know Before we start about SSH Tutorial for Python and how to connect to Cisco devices Before we begin the Python SSH Tutorial, we'll need a mechanism to validate that our program works properly. You are already set if you have a device th...

Python Multithreading Tutorial: Everything You Need to Know

Image
Parallelism is important to contemporary programming. Indeed, the reasons for executing many pieces of code concurrently are limitless. Scalability, efficacy — the list goes on. Regardless of the cause, multithreading is a straightforward method of achieving parallelism in Python. Thus, this Python threading tutorial will walk you through the steps necessary to develop multithreading. This also applies to the use of Queues for inter-thread communication! Python Threading Tutorial Theory about Python Multithreading Tutorial: Everything You Need to Know Before we can dive into parallelism, we should cover some theory. In fact, this section will explain why you need parallelism. After that, it will cover the basic jargon you need to know. Why do we need parallelism? Parallelism is a straightforward notion. This signifies that your software executes many of its components concurrently. They might be distinct components or even several instances of the same component. Each, howe...