my python works
The screen below is the screen showing the main menu with daily operations. Proceed by entering the operation number. Operations are carried out using multi-threading on more than one device. In addition to printing the outputs to the screen, they are also written to separate text files as reports.
After selecting the operation from the main menu, a menu appears where we can choose which devices will carry out that operation in many operations. The options that can be used to filter devices can be seen in the picture below.
From this menu, the process can be continued by specifying the parameters of the relevant device or devices. For example, as can be seen in the picture below, it is selected that the operation will be carried out on devices located in a certain network block.
In the picture below, it is seen that an operation is carried out on 48 devices and the percentage progress of the process can be followed.
The picture below shows the result detail and summary table of the device connection test operation.
A task is started to execute 2 different show commands on 48 devices. The outputs on 2 devices are as follows.
Another operation is to provide the jinja template file, the YAML file containing global variables and device variables, if any, and as a result, to create the device configuration file. In this operation, it is also possible to compare the output with the configuration on the running device and create a report showing which lines are missing or excessive.
The picture below shows some of the results of comparing the rendered configuration of the device with its working configuration. Here you can see that the root passwords of the device are different, some prefix lists and the community are different.