Fork of Nornir with customized plugins
Project description
Nornir
For general info about Nornir, check out Nornir on Github.
Nornir@BICS
Customizations
This repo is a fork of the origin nornir Python automation framework on Github. It has following extra BICS-specific plugins:
GwRequest
: This is a nornir task plugin that facilitates and abstracts requests to the BICS automation gateway (location:nornir/plugins/tasks/apis/gw
)filter_result
: This is a nornir function plugin, that filters results based on match criteria against returned attributes (location:nornir/plugins/functions/text/filter.py
)print_status
: a function plugin that prints a summary of response codes to the screen (location:nornir/plugins/functions/text/ptable.py
)print_table
: a function plugin that prints the returned results in a table or csv format (location:nornir/plugins/functions/text/ptable.py
)populate_ip
: a task plugin that populates a nornir-object (more specifically, the attached inventory-object) with IPv4 addresses from all IP inteface addresses (locatiom:nornir/plugins/functions/inv/helper.py
)resolve_ip
: a function plugin that resolves the hostname from an IPv4 addresssros_bgp_route
: a task plugin that is a wrapper forGwRequest
. It looks up an IP address in the BGP-RIB without requiring the exact prefix-length (location:nornir/plugins/tasks/aps/gw/helper.py
)
Documentation
Check out the Wiki of this repo.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nornir_bics-0.0.1.tar.gz
(28.8 kB
view hashes)
Built Distribution
Close
Hashes for nornir_bics-0.0.1-py36-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 703640d820ffdeacff86e4ca246563cd478b8521742d7b60fbf5f26eca430c79 |
|
MD5 | eb0cad1f90608ba6c9086841a120c40e |
|
BLAKE2b-256 | 889d8b6848ab39068a5d19d97707b7cc9a4ce50a62536b08c9e15227ede247fe |