26 lines
693 B
YAML
26 lines
693 B
YAML
devices:
|
|
- name: "SW-Core-01"
|
|
ip: "10.0.0.1"
|
|
platform: "cisco_ios"
|
|
glpi_id: 123 # ID in glpi_networkdevices
|
|
username: "backup_user"
|
|
# password: "xxx" # Meglio usare variabili d'ambiente o vault
|
|
enable_password: "enable_secret"
|
|
command: "show running-config"
|
|
delay_factor: 2
|
|
|
|
- name: "SW-Access-05"
|
|
ip: "10.0.0.5"
|
|
platform: "hp_comware"
|
|
glpi_id: 124
|
|
username: "admin"
|
|
command: "display current-configuration"
|
|
|
|
|
|
|
|
|
|
# 🔐 Best Practice: Non inserire password nel YAML. Usa:
|
|
# Variabili d'ambiente: NETCONFIG_DEFAULT_PASS
|
|
# Vault esterno (HashiCorp Vault, AWS Secrets Manager)
|
|
# File con permessi 600 leggibile solo dall'utente dell'agent
|