Allow the option for when a device is part of a virtual chassis to use the virtual chassis name as the inventory hostname #62
Labels
hacktoberfest
Hacktoberfest good first issues
status: help wanted
This issue is tentatively accepted pending a volunteer committed to its implementation
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.The text was updated successfully, but these errors were encountered: