1、修改platform配置文件,删除proxy_topo_type 配置项,增加注释
2、更新v21.02内容 3、修改host文件,更新platform内容
This commit is contained in:
@@ -1,6 +1,8 @@
|
|||||||
#####0: in_server 1:in_atca 3: in_adc
|
#note: mirror tarffic + server + pcap :capture_packet_type:0, traffic_attr_type: 0, runtime_env_type:0,network_topo_type:0 traffic_load_type:0
|
||||||
|
|
||||||
|
#####0: in_server_tun 1:in_atca 3: in_adc
|
||||||
##### proxy_topo_type: type of sapp to tfe traffic transport topology (include: in_server_tun,in_atca, in_adc)
|
##### proxy_topo_type: type of sapp to tfe traffic transport topology (include: in_server_tun,in_atca, in_adc)
|
||||||
proxy_topo_type: 0
|
#proxy_topo_type: 0
|
||||||
|
|
||||||
#####0: pcap; 1: drive(mrzcpd)
|
#####0: pcap; 1: drive(mrzcpd)
|
||||||
##### capture_packet_type : type of the sapp capture packat from nic(include:pcap,drive(mrzcpd))
|
##### capture_packet_type : type of the sapp capture packat from nic(include:pcap,drive(mrzcpd))
|
||||||
|
|||||||
@@ -1,45 +1,3 @@
|
|||||||
###################
|
[platform]
|
||||||
# For example #
|
#10.4.52.71 ip required and uncomment
|
||||||
###################
|
|
||||||
#变量device_id根据设备序号设置即可
|
|
||||||
#变量vvipv4_1、vvipv4_2、vvipv6_1、vvipv6_2为Allot相关配置,其他环境可不填或直接删除变量
|
|
||||||
#
|
|
||||||
#20.09版本新增APP部署
|
|
||||||
#[app_global]
|
|
||||||
#0.0.0.0
|
|
||||||
|
|
||||||
#[server_as_tun_mode]
|
|
||||||
#1.1.1.1 device_id=device_1
|
|
||||||
#
|
|
||||||
#[adc_mxn]
|
|
||||||
#10.3.72.1
|
|
||||||
#10.3.72.2
|
|
||||||
#
|
|
||||||
#[adc_mcn0]
|
|
||||||
#10.3.73.1 device_id=device_1 vvipv4_1=10.3.61.1 vvipv4_2=10.3.62.1 vvipv6_1=fc00::61:1 vvipv6_2=fc00::62:1
|
|
||||||
#10.3.73.2 device_id=device_2 vvipv4_1=10.3.61.2 vvipv4_2=10.3.62.2 vvipv6_1=fc00::61:2 vvipv6_2=fc00::62:2
|
|
||||||
#
|
|
||||||
#[adc_mcn1]
|
|
||||||
#10.3.74.1 device_id=device_1
|
|
||||||
#10.3.74.2 device_id=device_2
|
|
||||||
#
|
|
||||||
#[adc_mcn2]
|
|
||||||
#10.3.75.1 device_id=device_1
|
|
||||||
#10.3.75.2 device_id=device_2
|
|
||||||
#
|
|
||||||
#[adc_mcn3]
|
|
||||||
#10.3.76.1 device_id=device_1
|
|
||||||
#10.3.76.2 device_id=device_2
|
|
||||||
|
|
||||||
#[app_global]
|
|
||||||
#[server_as_tun_mode]
|
|
||||||
#broken warning:
|
|
||||||
#10.4.52.71
|
|
||||||
[adc_mcn0]
|
|
||||||
[adc_mcn1]
|
|
||||||
[adc_mcn2]
|
|
||||||
[adc_mcn3]
|
|
||||||
[app_global]
|
|
||||||
[server_as_tun_mode]
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -12,7 +12,7 @@
|
|||||||
packages:
|
packages:
|
||||||
- /tmp/ansible_deploy/libcjson-1.7.10.ab2896f-2.el7.x86_64.rpm
|
- /tmp/ansible_deploy/libcjson-1.7.10.ab2896f-2.el7.x86_64.rpm
|
||||||
- /tmp/ansible_deploy/libdocumentanalyze-2.0.6.2d1abe0-2.el7.x86_64.rpm
|
- /tmp/ansible_deploy/libdocumentanalyze-2.0.6.2d1abe0-2.el7.x86_64.rpm
|
||||||
- /tmp/ansible_deploy/libmaatframe-3.1.10.653727e-2.el7.x86_64.rpm
|
- /tmp/ansible_deploy/libmaatframe-3.1.11.593cb23-2.el7.x86_64.rpm
|
||||||
- /tmp/ansible_deploy/libMESA_field_stat-1.0.2.6d45eed-2.el7.x86_64.rpm
|
- /tmp/ansible_deploy/libMESA_field_stat-1.0.2.6d45eed-2.el7.x86_64.rpm
|
||||||
- /tmp/ansible_deploy/libMESA_field_stat2-2.9.10.72ac4f1-2.el7.x86_64.rpm
|
- /tmp/ansible_deploy/libMESA_field_stat2-2.9.10.72ac4f1-2.el7.x86_64.rpm
|
||||||
- /tmp/ansible_deploy/libMESA_handle_logger-2.0.7.cb4ad71-2.el7.x86_64.rpm
|
- /tmp/ansible_deploy/libMESA_handle_logger-2.0.7.cb4ad71-2.el7.x86_64.rpm
|
||||||
|
|||||||
Binary file not shown.
BIN
roles/sapp/files/sapp-4.2.26.fc1a6aa-2.el7.x86_64.rpm
Normal file
BIN
roles/sapp/files/sapp-4.2.26.fc1a6aa-2.el7.x86_64.rpm
Normal file
Binary file not shown.
@@ -13,7 +13,7 @@
|
|||||||
- name: "install sapp rpms from localhost"
|
- name: "install sapp rpms from localhost"
|
||||||
yum:
|
yum:
|
||||||
name:
|
name:
|
||||||
- /tmp/ansible_deploy/sapp-4.2.25.893d15d-2.el7.x86_64.rpm
|
- /tmp/ansible_deploy/sapp-4.2.26.fc1a6aa-2.el7.x86_64.rpm
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: "install tcpdump_mesa rpms from localhost"
|
- name: "install tcpdump_mesa rpms from localhost"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=sapp service
|
Description=sapp service
|
||||||
{% if proxy_topo_type != 0 %}
|
{% if capture_packet_type == 1 %}
|
||||||
Requires=mrzcpd.service
|
Requires=mrzcpd.service
|
||||||
After=mrzcpd.service
|
After=mrzcpd.service
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
- hosts: server_as_tun_mode
|
- hosts: platform
|
||||||
remote_user: root
|
remote_user: root
|
||||||
vars_files:
|
vars_files:
|
||||||
- install_config/group_vars/server_as_tun_mode.yml
|
- install_config/group_vars/platform.yml
|
||||||
roles:
|
roles:
|
||||||
- {role: framework, tags: framework}
|
- {role: framework, tags: framework}
|
||||||
- {role: kernel-ml, tags: kernel-ml}
|
- {role: kernel-ml, tags: kernel-ml}
|
||||||
|
|||||||
Reference in New Issue
Block a user