Generation des modules avec re2o dans conf hp

master
chirac 5 years ago committed by root
parent d24bb7cc26
commit 6af90e4ff9

@ -2,6 +2,10 @@
hostname "{{ switch.short_name }}"
; Generated on {{ date_gen }} by re2o
;--- General ---
{%- for slot, ref in switch.list_modules %}
module {{ slot }} type {{ ref }}
{%- endfor %}
;--- Snmp ---
{%- if switch.switchbay.name %}
snmp-server location "{{ switch.switchbay.name }}"

Loading…
Cancel
Save