From 6a1d44d9ed4fe38b9dbce387c73c65fa103ac989 Mon Sep 17 00:00:00 2001 From: lijia Date: Tue, 10 Aug 2021 16:07:34 +0800 Subject: [PATCH] =?UTF-8?q?9140=E5=A2=9E=E5=8A=A0wannat=E6=A8=A1=E5=9D=97.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../roles/sapp/templates/conflist.inf.j2.j2.9000NPBP01R01 | 6 +++++- .../files/config_sample/provision.yml.sample.9000NPBP01R01 | 3 +++ ansible/stage_one_deploy.yml | 4 +++- 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/ansible/roles/sapp/templates/conflist.inf.j2.j2.9000NPBP01R01 b/ansible/roles/sapp/templates/conflist.inf.j2.j2.9000NPBP01R01 index 5f1f49d6..85340f20 100644 --- a/ansible/roles/sapp/templates/conflist.inf.j2.j2.9000NPBP01R01 +++ b/ansible/roles/sapp/templates/conflist.inf.j2.j2.9000NPBP01R01 @@ -1,5 +1,9 @@ [platform] -{% raw %}{% if connsketch.enable == 1 %} +{% raw %}{% if wannat.enable == 1 %} +./plug/platform/wannat/wangw.inf +./plug/platform/wire_graft/wire_graft.inf +{% endif %} +{% if connsketch.enable == 1 %} ./plug/platform/app_proto_identify/app_proto_identify.inf {% endif %} ./plug/platform/tsg_master/tsg_master.inf diff --git a/ansible/roles/tsg-os-provision/files/config_sample/provision.yml.sample.9000NPBP01R01 b/ansible/roles/tsg-os-provision/files/config_sample/provision.yml.sample.9000NPBP01R01 index dca10f07..d1c19eef 100644 --- a/ansible/roles/tsg-os-provision/files/config_sample/provision.yml.sample.9000NPBP01R01 +++ b/ansible/roles/tsg-os-provision/files/config_sample/provision.yml.sample.9000NPBP01R01 @@ -46,6 +46,9 @@ connsketch: capturepacket: enable: 0/1 + +wannat: + enable: 0/1 ddossketch: enable: 0/1 diff --git a/ansible/stage_one_deploy.yml b/ansible/stage_one_deploy.yml index d3f493c8..90819236 100644 --- a/ansible/stage_one_deploy.yml +++ b/ansible/stage_one_deploy.yml @@ -69,4 +69,6 @@ - {role: tsg-diagnose, tags: tsg-diagnose} - {role: tsg-exporter-proxy-9140, tags: tsg-exporter-proxy-9140} - {role: system-init-9140, tags: system-init-9140} - - {role: system-init, tags: system-init} \ No newline at end of file + - {role: system-init, tags: system-init} + - {role: wannat_wangw, tags: wannat_wangw} + - {role: wire_graft, tags: wire_graft} \ No newline at end of file