Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the option for when a device is part of a virtual chassis to use the virtual chassis name as the inventory hostname #62

Open
gneville-ot opened this issue Sep 9, 2022 · 3 comments
Labels
hacktoberfest Hacktoberfest good first issues status: help wanted This issue is tentatively accepted pending a volunteer committed to its implementation

Comments

@gneville-ot
Copy link

The nautobot-ansible plugin allows the option of overwriting the inventory host name with a virtual chassis name:
https://nautobot-ansible.readthedocs.io/en/latest/plugins/inventory_inventory.html#parameter-virtual_chassis_name, all of the host vars are from the master member.

When it comes to limiting within ansible you're then able to limit of the virtual chassis name.

I'm looking to do the same thing but with nornir-nautobot.

Currently nornir-nautobot would return only devices and not virtual-chassis but I'm looking for the ability to pass via cli something like --hostname <virtualchassis> then be able to use an F filter to filter on the 'name' attribute to filter the inventory to just those devices matching the hostname(s) passed in via cli.

@jvanderaa
Copy link
Contributor

I think we can look to have this as a feature to be added yet, but not sure that it is urgently needed after our discussion on slack a couple of weeks back after the opening of this issue. Do we still want this feature @gneville-ot ?

@jvanderaa jvanderaa added the hacktoberfest Hacktoberfest good first issues label Sep 26, 2022
@gneville-ot
Copy link
Author

It will be good to see this in nornir-nautobot so it has parity with nornir-ansible, but for my use case I've already put something in place that does this for me so is less urgent.

@jvanderaa jvanderaa added the status: help wanted This issue is tentatively accepted pending a volunteer committed to its implementation label Nov 15, 2022
@jifox
Copy link

jifox commented Jan 14, 2024

related: New API to find the manageable device nautobot/nautobot#5075

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest Hacktoberfest good first issues status: help wanted This issue is tentatively accepted pending a volunteer committed to its implementation
Projects
None yet
Development

No branches or pull requests

3 participants