7400 adapt:设备型号为7400情况下,一直开启解密流量转发

This commit is contained in:
fumingwei
2021-06-18 14:45:41 +08:00
parent d46d304d49
commit 18946c9261
2 changed files with 2 additions and 11 deletions

View File

@@ -81,8 +81,8 @@ tfe:
NIC_NAME: eth_ctl
traffic_mirror:
enable: 1
device: '{% raw %}{{ tfe_traffic_mirror_device }}{% endraw %}'
type: '{% raw %}{{ tfe_traffic_mirror_type }}{% endraw %}'
device: eth_mirr_d
type: 1
tsg_diagnose:
docker_compose_yml:

View File

@@ -8,15 +8,6 @@
path: /opt/tsg/etc
state: directory
- name: "set tfe.traffic_mirror device and type vars depend on NPB device"
set_fact:
tfe_traffic_mirror_device: item.tfe_traffic_mirror_device
tfe_traffic_mirror_type: item.tfe_traffic_mirror_type
when: NPB_device == item.NPB_device
with_items:
- { "tfe_traffic_mirror_device": eth_mirr_d, "tfe_traffic_mirror_type": 1, "NPB_device": tera }
- { "tfe_traffic_mirror_device": lo, "tfe_traffic_mirror_type": 0, "NPB_device": inline_device }
- name: "tsg-os-provision: obtain sn from mxn and write sn to tsg_sn.json"
shell: /opt/tsg/tsg-os-provision/tsg7400_obtain_sn_from_mxn.sh
register: result_exec_obtain_sn_and_write_sn_in_file