From ee1927a1bf838fa2ccc9a340e94d026cbb3107c6 Mon Sep 17 00:00:00 2001 From: fumingwei Date: Thu, 5 Aug 2021 17:57:58 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=E9=99=90=E5=88=B6firewall=20mirror?= =?UTF-8?q?=E7=9A=84=E5=8A=9F=E8=83=BD=E5=9C=A89140=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E4=B8=8B=E7=94=9F=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ansible/roles/firewall/templates/main.conf.j2.j2 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ansible/roles/firewall/templates/main.conf.j2.j2 b/ansible/roles/firewall/templates/main.conf.j2.j2 index 3f371a16..c27fc583 100644 --- a/ansible/roles/firewall/templates/main.conf.j2.j2 +++ b/ansible/roles/firewall/templates/main.conf.j2.j2 @@ -111,7 +111,9 @@ classification_cache_enable=2 basic_dpi_enable=1 license_path=/data/app_proto_engine/license +{% if PROFILE_ID == '9000-NPB-P01R01' %} [TRAFFIC_MIRROR] TRAFFIC_MIRROR_ENABLE=1 NIC_NAME=eth_vf_mirr -DEFAULT_VLAN_ID=2 \ No newline at end of file +DEFAULT_VLAN_ID=2 +{% endif %} \ No newline at end of file