Generation des modules avec re2o dans conf hp
This commit is contained in:
parent
d24bb7cc26
commit
6af90e4ff9
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue