37 lines
896 B
Plaintext
37 lines
896 B
Plaintext
|
|
# Network Device Inventory for network_collector.py
|
||
|
|
#
|
||
|
|
# Copy this file to inventory.yaml and fill in your device details.
|
||
|
|
# Fields in 'defaults' apply to all devices unless overridden per-device.
|
||
|
|
|
||
|
|
defaults:
|
||
|
|
site: main
|
||
|
|
role: Network Device
|
||
|
|
username: admin
|
||
|
|
password: cisco
|
||
|
|
secret: cisco # enable secret (if required)
|
||
|
|
driver: ios # NAPALM driver: ios, iosxr, eos, junos, nxos
|
||
|
|
timeout: 60
|
||
|
|
|
||
|
|
devices:
|
||
|
|
# Cisco IOS routers
|
||
|
|
- host: 10.10.20.1
|
||
|
|
driver: ios
|
||
|
|
role: Router
|
||
|
|
|
||
|
|
# Cisco IOS switches
|
||
|
|
- host: 10.10.20.55
|
||
|
|
driver: ios
|
||
|
|
role: Switch
|
||
|
|
|
||
|
|
# Cisco IOS-XR devices
|
||
|
|
# - host: 10.10.20.100
|
||
|
|
# driver: iosxr
|
||
|
|
# role: Router
|
||
|
|
|
||
|
|
# Brocade switches (requires napalm-ruckus-fastiron or use netmiko fallback)
|
||
|
|
# - host: 10.10.20.200
|
||
|
|
# driver: ros # or use custom driver name
|
||
|
|
# role: Switch
|
||
|
|
# optional_args:
|
||
|
|
# transport: ssh
|