Link Search Menu Expand Document (external link)

Inventory


We use the same inventory concept as Ansible, Here is an example of an inventory file

This inventory has 4 groups testing, switches, routers and empty, each contains the devices listed below it

[testing]
192.168.100.4

[switches]
192.168.1.10
192.168.1.11

[routers]
192.168.1.12
192.168.1.13
192.168.1.11

[empty]


Note: Custom inventory parameters will be considered in upcomming releases.




Inventory location

the default inventory location can be specified in the configuration file

[general]
default_inventory = /etc/flexible-network/hosts


Alternatively you can provide a custom inventory file with the --inventory or -i CLI option