matman26 / nornir_csv Goto Github PK
View Code? Open in Web Editor NEWDynamic CSV Inventory plugin for Nornir with hosts, groups, defaults and connection options.
License: Apache License 2.0
Dynamic CSV Inventory plugin for Nornir with hosts, groups, defaults and connection options.
License: Apache License 2.0
Hi, thanks for such plugin, I was looking for something like this for sometime. It is really simple, but when I try I get this error
ModuleNotFoundError: No module named 'nornir_csv.plugins'
I have the package installed though
Package Version
importlib-metadata 4.10.1
mypy-extensions 0.4.3
nornir 3.2.0
nornir-csv 0.1.3
repo for reference https://github.com/jbl241987/Nornir_Project.git
thanks @matman26 , I will definitely try this option also.
One more query, I have used hosts.csv as exactly shown in Readme. But i want to remove username and password from hosts.csv and keep only in defaults.csv or groups.csv
I tried that but that doesn't work. Seems it is mandatory in hosts.csv.
How can I make it work?
Originally posted by @jbl241987 in #2 (comment)
I use more fields in yaml for example of host file below, how can this be documented in CSV?
specially for headers like, data: connection_options:, scrapli:, and scrapli_netconf:
rtr1:
hostname: 10.91.11.11
data:
interface: TenGigE0/0/0/16
localmepid: 1
remotemepid: 2
rd: 1600
evi: 2600
xrsw: 7.1.2
connection_options:
scrapli:
platform: cisco_iosxr
port: 22
extras:
ssh_config_file: True
auth_strict_key: False
scrapli_netconf:
port: 830
extras:
ssh_config_file: True
auth_strict_key: False
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.