summaryrefslogtreecommitdiff
path: root/install_config
diff options
context:
space:
mode:
Diffstat (limited to 'install_config')
-rw-r--r--install_config/group_vars/server_as_tun_mode.yml64
-rw-r--r--install_config/hosts45
2 files changed, 109 insertions, 0 deletions
diff --git a/install_config/group_vars/server_as_tun_mode.yml b/install_config/group_vars/server_as_tun_mode.yml
new file mode 100644
index 0000000..93466ad
--- /dev/null
+++ b/install_config/group_vars/server_as_tun_mode.yml
@@ -0,0 +1,64 @@
+#########################################
+#####0: Pcap; 1: Inline_device; 5:ATCA_VXLAN;
+tsg_access_type: 0
+#####0: Tun_mode; 1: normal;
+tsg_running_type: 0
+
+
+#########################################
+#Sapp Performance Config
+#如果tsg_access_type=0,sapp跑在pcap模式,则以下配置可忽略
+sapp:
+ worker_threads: 23
+ send_only_threads_max: 1
+ bind_mask: 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24
+ inbound_route_dir: 1
+
+#########################################
+#Sapp Double-Arm Config
+packet_io:
+ internal_interface: eth2
+ external_interface: eth3
+
+
+#########################################
+#Marsio Config
+mrzcpd:
+ iocore: 39
+
+mrtunnat:
+ lcore_id: 38
+
+
+#########################################
+#ATCA Config
+#下列配置只在tsg_access_type=4时生效
+ATCA_data_incoming:
+ ethname: enp1s0
+ vf0_name: enp1s2
+ vf1_name: enp1s2f1
+ vf2_name: enp1s2f2
+
+ATCA_VlanFlipping:
+ vlanID_1: 100
+ vlanID_2: 101
+ vlanID_3: 103
+ vlanID_4: 104
+
+#下列配置只在tsg_access_type=5时生效
+ATCA_VXLAN:
+ keepalive_ip: "10.254.19.1"
+ keepalive_mask: "255.255.255.252"
+
+#########################################
+#Inline Device Config
+inline_device_config:
+ keepalive_ip: 192.168.1.30
+ keepalive_mask: 255.255.255.252
+ data_incoming: eth5
+
+#########################################
+
+sapp_prometheus_enable: 1
+sapp_prometheus_port: 9273
+sapp_prometheus_url_path: "/metrics"
diff --git a/install_config/hosts b/install_config/hosts
new file mode 100644
index 0000000..0fe8b50
--- /dev/null
+++ b/install_config/hosts
@@ -0,0 +1,45 @@
+###################
+# For example #
+###################
+#变量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]
+
+