From 64aa4ad521b6201be8209ff00a8dca70eda99617 Mon Sep 17 00:00:00 2001 From: chirac Date: Mon, 9 Jul 2018 23:42:26 +0200 Subject: [PATCH] Gestion de l'interface rest dans le template --- templates/hp.tpl | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/templates/hp.tpl b/templates/hp.tpl index 87a22e7..f67b0cf 100644 --- a/templates/hp.tpl +++ b/templates/hp.tpl @@ -75,7 +75,15 @@ exit {%- endfor %} ;--- Accès d'administration --- no telnet-server +{%- if switch.web_management_enabled %} +web-management ssl +web-management plaintext +{%- else %} no web-management +{%- endif %} +{%- if switch.rest_enabled %} +rest-interface +{%- endif %} aaa authentication ssh login public-key none aaa authentication ssh enable public-key none ip ssh