Comments (5)
Do you think the group names should get the "group_by" as a prefix?
options: {
"group_by": ["tags", "sites"]
}
Group names for inventory:
tags_tag1, tags_tag2, sites_site1, sites_site2
from nornir-nautobot.
Yeah, that is exactly what I'm thinking of. My goal is to try to get the inventories between Ansible and Nornir to be as close as possible to each other within the projects @jifox. I think that the Ansible inventory has a bunch of terrific features that Nornir could benefit from.
from nornir-nautobot.
@jvanderaa I've done a similar implementation in nornir_netbox
https://github.com/wvandeun/nornir_netbox/blob/76d3d9b2da1190a11f302f28f19b6d1e49528932/nornir_netbox/plugins/inventory/netbox.py#L257-L280
Is this how you envisioned providing group support?
from nornir-nautobot.
The biggest vision was to try to line things up with the Ansible inventory that had a few extra options. But that is not a requirement by any means. I'll welcome what makes sense. What I was thinking of having a key in the inventory options of
{
"group_by": [
"site",
"region",
# ... and so on
]
With the various items.
from nornir-nautobot.
@wvandeun I'm good with the options that make sense to get some groups populating.
from nornir-nautobot.
Related Issues (20)
- Not able to install package in edit mode
- SSLError while connecting HOT 5
- Error doesn't catch certain versions of cisco input invalid string HOT 1
- Bump httpx HOT 1
- Allow Exceptions to Bubble Up HOT 3
- Bump netutils to support 1.0.0
- Bump Netmiko
- netmiko 4 causes the dispatcher to fail HOT 9
- Default dispatcher mapping is wrong for XR HOT 1
- The `get_config` method used by golden config backups does not close the connection per host
- Allow the option for when a device is part of a virtual chassis to use the virtual chassis name as the inventory hostname HOT 3
- Netmiko nornir send_command needs enable= HOT 6
- Make invalid input detected more reliable HOT 1
- Investigate Compatibility With Nautobot v2 HOT 1
- GC platform_slug_map with nornir-nautobot dispatcher mapping can lead to issues HOT 2
- API Drivers :: store and user edit capabilities HOT 1
- Add tests for API based Drivers
- Non-standard platform slug not fully supported
- Bump the verison for nornir-netmiko to use the new release ? HOT 2
- FR: Make the backup_file optional when getting the config
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nornir-nautobot.