diff --git a/templates/hp.tpl b/templates/hp.tpl index 8345b92..edf146f 100644 --- a/templates/hp.tpl +++ b/templates/hp.tpl @@ -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 }}"