This commit is contained in:
zhangzhihan
2020-09-10 20:12:17 +08:00
parent 1d210d18c4
commit 1d0943fdb0
27 changed files with 339 additions and 96 deletions

View File

@@ -8,7 +8,7 @@ After=tfe-env.service
Type=notify
ExecStart=/opt/tsg/tfe/bin/tfe
WorkingDirectory=/opt/tsg/tfe/
TimeoutSec=3600s
TimeoutSec=7200s
RestartSec=10s
Restart=always
LimitNOFILE=524288

View File

@@ -1,6 +1,6 @@
{% if tsg_access_type == 4 %}
TFE_DEVICE_DATA_INCOMING={{ nic_data_incoming.vf2_name }}
{% elif tsg_running_type == 0 %}
TFE_DEVICE_DATA_INCOMING={{ ATCA_data_incoming.vf2_name }}
{% elif tsg_running_type != 2 %}
TFE_DEVICE_DATA_INCOMING=tun_kni
{% else %}
TFE_DEVICE_DATA_INCOMING={{ nic_data_incoming.name }}
@@ -14,7 +14,7 @@ TFE_PEER_MAC_DATA_INCOMING=aa:bb:cc:dd:ee:ff
TFE_LOCAL_IP_DATA_INCOMING=172.16.241.2
TFE_PEER_IP_DATA_INCOMING=172.16.241.1
{% if tsg_running_type == 0 %}
{% if tsg_running_type != 2 %}
TFE_WATCHDOG_DEVICE={{ nic_inner_ctrl.name }}
TFE_WATCHDOG_IP=192.168.100.1
{% endif %}

View File

@@ -55,7 +55,7 @@ enable_health_check=1
passthrough_all_tcp=0
[traffic_mirror]
{% if tsg_running_type == 0 %}
{% if tsg_running_type != 2 %}
device=lo
type=0
{% else %}