June 2, 2020

250 words 2 mins read

writememe/net-api-tools

writememe/net-api-tools

An accompanying repository of tools and solutions which leverage net-api - https://github.com/writememe/net-api

repo name writememe/net-api-tools
repo link https://github.com/writememe/net-api-tools
homepage
language Makefile
size (curr.) 35 kB
stars (curr.) 4
created 2020-04-19
license MIT License

net-api-tools Python 3.6 Python 3.7 Python 3.8 Code Style

Introduction

This repository contains a reference set of tools and solutions which leverage the net-api platform.

These tools have been developed with the intent to show how simple and flexible it is to consume net-api and write custom applications for your business needs.

Whilst these solutions are written in Python, there is nothing preventing you from consuming net-api using any other language of your choice.

Structure

All examples are contained within the examples/ directory. Below is a reference table detailing the high level examples:

Subject Description File
Local username compliance Validate that the local usernames defined on a host exactly match a pre-defined list local-username-compliance.py
Running config versus startup config report Validate that there are no differences between the running and startup config on an IOS host ios-config-diff-report.py
All host NTP server compliance Validate that all NTP servers defined on all hosts exactly match a pre-defined list all-ntp-servers.py

NOTE: All the examples provided are supported using Python 3.6 or higher

Contributing

I will try to populate more examples as time dictates, however if you would like to contribute, that would be great!

The more examples and use cases that are generated, the more useful the tool is for others throughout the community.

If you need some help on how or where to start, please let me know.

comments powered by Disqus