Category: Python

Microsoft Playwright Automation Tool

Playwright is a browser automation tool released by the Microsoft team. Another popular tool similar to it is Selenium. Playwright has a significant advantage in recording and generating code. Installation Generate code We can...

Understanding RESTCONF

Basic Concepts of RESTCONF Derived from Netconf Model definition in YANG The request/response data is XML or JSON Using HTTPS methods(GET / PATCH / POST / DELETE / PUT) RESTCONF URI format: /<api-entry>/<resource-type>/<yang-module:resource> Yang...

Paramiko and Netmiko examples

Paramiko example: Netmiko example: Common error: If the Python file name is paramiko.py or netmiko.py, the following error will occur. Changing the file name can solve this problem.

Ansible uses ad-hoc to perform tasks

In the previous article I installed Ansible on Ubuntu, in this article I will discuss how to use Ansible. There are two ways for Ansible to perform tasks, ad-hoc and playbook. Here I will...

Install Ansible on Ubuntu

The installation environment is Ubuntu 19.10. Upgrade packages Install Ansible Verification ansible.cfg: This is the ansible configuration file.hosts: The hosts file includes the device information( IP address, etc.). Documentation Installing Ansible on Ubuntu https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#installing-ansible-on-ubuntu

Embedded Event Manager simple example

EEM can be used for monitoring, or triggered by specified conditions (change configuration, etc.). The following is Cisco official document. Embedded Event Manager (EEM) is a distributed and customized approach to event detection and...

How to automate WLC using Python (CLI)

Updated on May 21, 2020: If you are looking for C9800 wireless controller automation, please refer to my following article, I hope this helps you.Monitoring IOS-XE device with Netconf API + Grafana + InfluxDB...

Python Packages Offline Installation

I have some virtual machines for testing, but these machines are offline and cannot connect to the Internet. I was having trouble installing the Python module. I can use whl file to install the...

Logging into WLC GUI with Python

If we need to automate the WLC GUI, I think the best automation application is Selenium. In this article I will try to describe in detail how to use Selenium to log into the...