-
Notifications
You must be signed in to change notification settings - Fork 7
/
rcf.conf
146 lines (144 loc) · 8.45 KB
/
rcf.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
<?xml version="1.0"?>
<!-- SPDX-License-Identifier: Apache-2.0 -->
<!-- (c) Copyright 2006 - 2022 Xilinx, Inc. All rights reserved. -->
<rcf>
<ta name="${TE_IUT_TA_NAME}" type="${TE_IUT_TA_TYPE:-linux}"
disabled="${TE_IUT:-${TE_IUT_LOCALHOST:-yes}}" rcflib="rcfunix"
rebootable="${TE_IUT_REBOOTABLE}" cold_reboot="${TE_POWER_TA_NAME}:${TE_IUT}">
<conf name="host">${TE_IUT}</conf>
<conf name="port">${TE_IUT_PORT:-${TE_RCF_PORT:-50000}}</conf>
<conf name="user">${TE_IUT_SSH_USER:-${TE_SSH_USER}}</conf>
<conf name="key">${TE_IUT_SSH_KEY:-${TE_SSH_KEY}}</conf>
<conf name="ssh_port">${TE_IUT_SSH_PORT:-${TE_SSH_PORT}}</conf>
<conf name="ssh_proxy">${TE_IUT_SSH_PROXY:-${TE_SSH_PROXY}}</conf>
<conf name="copy_timeout">${TE_RCFUNIX_TIMEOUT}</conf>
<conf name="kill_timeout">${TE_RCFUNIX_TIMEOUT}</conf>
<conf name="sudo" cond="${TE_IUT_SUDO:-true}"/>
<conf name="shell">${TE_IUT_VG}</conf>
<conf name="ld_preload">${TE_IUT_LD_PRELOAD}</conf>
<conf name="core_watcher">${TE_IUT_CORE_WATCHER:-${TE_TA_CORE_WATCHER}}</conf>
<conf name="core_pattern">${TE_IUT_CORE_PATTERN:-${TE_TA_CORE_PATTERN}}</conf>
</ta>
<ta name="${TE_IUT_SOC_TA_NAME}" type="${TE_IUT_SOC_TA_TYPE:-linux}"
disabled="${TE_IUT_SOC:-${TE_IUT_SOC_LOCALHOST:-yes}}" rcflib="rcfunix"
rebootable="${TE_IUT_SOC_REBOOTABLE}" cold_reboot="${TE_POWER_TA_NAME}:${TE_IUT_SOC}">
<conf name="host">${TE_IUT_SOC}</conf>
<conf name="port">${TE_IUT_SOC_PORT:-${TE_RCF_PORT:-50000}}</conf>
<conf name="user">${TE_IUT_SOC_SSH_USER:-${TE_SSH_USER}}</conf>
<conf name="key">${TE_IUT_SOC_SSH_KEY:-${TE_SSH_KEY}}</conf>
<conf name="ssh_port">${TE_IUT_SOC_SSH_PORT:-${TE_SSH_PORT}}</conf>
<conf name="ssh_proxy">${TE_IUT_SOC_SSH_PROXY:-${TE_SSH_PROXY}}</conf>
<conf name="copy_timeout">${TE_RCFUNIX_TIMEOUT}</conf>
<conf name="kill_timeout">${TE_RCFUNIX_TIMEOUT}</conf>
<conf name="sudo" cond="${TE_IUT_SOC_SUDO:-true}"/>
<conf name="shell">${TE_IUT_SOC_VG}</conf>
<conf name="ld_preload">${TE_IUT_SOC_LD_PRELOAD}</conf>
<conf name="core_watcher">${TE_IUT_SOC_CORE_WATCHER:-${TE_TA_CORE_WATCHER}}</conf>
<conf name="core_pattern">${TE_IUT_SOC_CORE_PATTERN:-${TE_TA_CORE_PATTERN}}</conf>
</ta>
<ta name="${TE_TST1_TA_NAME}" type="${TE_TST1_TA_TYPE:-linux}"
disabled="${TE_TST1:-${TE_TST1_LOCALHOST:-yes}}" rcflib="rcfunix"
rebootable="${TE_TST1_REBOOTABLE}" cold_reboot="${TE_POWER_TA_NAME}:${TE_TST1}">
<conf name="host">${TE_TST1}</conf>
<conf name="port">${TE_TST1_PORT:-${TE_RCF_PORT:-50000}}</conf>
<conf name="user">${TE_TST1_SSH_USER:-${TE_SSH_USER}}</conf>
<conf name="key">${TE_TST1_SSH_KEY:-${TE_SSH_KEY}}</conf>
<conf name="ssh_port">${TE_TST1_SSH_PORT:-${TE_SSH_PORT}}</conf>
<conf name="copy_timeout">${TE_RCFUNIX_TIMEOUT}</conf>
<conf name="kill_timeout">${TE_RCFUNIX_TIMEOUT}</conf>
<conf name="sudo" cond="${TE_TST1_SUDO:-true}"/>
<conf name="shell">${TE_TST1_VG}</conf>
<conf name="core_watcher">${TE_TST1_CORE_WATCHER:-${TE_TA_CORE_WATCHER}}</conf>
<conf name="core_pattern">${TE_TST1_CORE_PATTERN:-${TE_TA_CORE_PATTERN}}</conf>
<thread name="log_serial" when="${TE_TST1_LOG_SERIAL}">
<arg value="${TE_TST1_LOG_SERIAL}"/>
<arg value="WARN"/>
<arg value="${TE_TST1_LOG_SERIAL_TIMEOUT:-10}"/>
<arg value="3109:${TE_LOG_SERIAL_USER:-tester}:${TE_TST1_LOG_SERIAL}"/>
</thread>
<!--
<task name="iscsi_server_init" when="${TE_ISCSI_TARGET}"/>
-->
</ta>
<ta name="${TE_TST2_TA_NAME}" type="${TE_TST2_TA_TYPE:-linux}"
disabled="${TE_TST2:-${TE_TST2_LOCALHOST:-yes}}" rcflib="rcfunix"
rebootable="${TE_TST2_REBOOTABLE}" cold_reboot="${TE_POWER_TA_NAME}:${TE_TST2}">
<conf name="host">${TE_TST2}</conf>
<conf name="port">${TE_TST2_PORT:-${TE_RCF_PORT:-50000}}</conf>
<conf name="user">${TE_TST2_SSH_USER:-${TE_SSH_USER}}</conf>
<conf name="key">${TE_TST2_SSH_KEY:-${TE_SSH_KEY}}</conf>
<conf name="ssh_port">${TE_TST2_SSH_PORT:-${TE_SSH_PORT}}</conf>
<conf name="copy_timeout">${TE_RCFUNIX_TIMEOUT}</conf>
<conf name="kill_timeout">${TE_RCFUNIX_TIMEOUT}</conf>
<conf name="sudo" cond="${TE_TST2_SUDO:-true}"/>
<conf name="shell">${TE_TST2_VG}</conf>
<conf name="core_watcher">${TE_TST2_CORE_WATCHER:-${TE_TA_CORE_WATCHER}}</conf>
<conf name="core_pattern">${TE_TST2_CORE_PATTERN:-${TE_TA_CORE_PATTERN}}</conf>
<thread name="log_serial" when="${TE_TST2_LOG_SERIAL}">
<arg value="${TE_TST2_LOG_SERIAL}"/>
<arg value="WARN"/>
<arg value="${TE_TST2_LOG_SERIAL_TIMEOUT:-10}"/>
<arg value="${CONSERVER_HOST:-${TE_TST2}}:3109:${TE_LOG_SERIAL_USER:-tester}:${TE_TST2_LOG_SERIAL}"/>
</thread>
<thread name="log_serial" when="${TE_TST2_LOG_SERIAL2}">
<arg value="${TE_TST2_LOG_SERIAL2}"/>
<arg value="WARN"/>
<arg value="${TE_TST2_LOG_SERIAL2_TIMEOUT:-10}"/>
<arg value="${CONSERVER_HOST:-${TE_TST2}}:3109:${TE_LOG_SERIAL_USER:-tester}:${TE_TST2_LOG_SERIAL2}"/>
</thread>
<!--
<task name="iscsi_server_init" when="${TE_ISCSI_TARGET}"/>
-->
</ta>
<ta name="${TE_TST3_TA_NAME}" type="${TE_TST3_TA_TYPE:-linux}"
disabled="${TE_TST3:-${TE_TST3_LOCALHOST:-yes}}" rcflib="rcfunix"
rebootable="${TE_TST3_REBOOTABLE}" cold_reboot="${TE_POWER_TA_NAME}:${TE_TST3}">
<conf name="host">${TE_TST3}</conf>
<conf name="port">${TE_TST3_PORT:-${TE_RCF_PORT:-50000}}</conf>
<conf name="user">${TE_TST3_SSH_USER:-${TE_SSH_USER}}</conf>
<conf name="key">${TE_TST3_SSH_KEY:-${TE_SSH_KEY}}</conf>
<conf name="ssh_port">${TE_TST3_SSH_PORT:-${TE_SSH_PORT}}</conf>
<conf name="copy_timeout">${TE_RCFUNIX_TIMEOUT}</conf>
<conf name="kill_timeout">${TE_RCFUNIX_TIMEOUT}</conf>
<conf name="shell">${TE_TST3_VG}</conf>
<conf name="core_watcher">${TE_TST3_CORE_WATCHER:-${TE_TA_CORE_WATCHER}}</conf>
<conf name="core_pattern">${TE_TST3_CORE_PATTERN:-${TE_TA_CORE_PATTERN}}</conf>
<thread name="log_serial" when="${TE_TST3_LOG_SERIAL}">
<arg value="${TE_TST3_LOG_SERIAL}"/>
<arg value="WARN"/>
<arg value="${TE_TST3_LOG_SERIAL_TIMEOUT:-10}"/>
<arg value="3109:${TE_LOG_SERIAL_USER:-tester}:${TE_TST3_LOG_SERIAL}"/>
</thread>
</ta>
<!-- Helper Test Agent to run VMs on -->
<ta name="${TE_HYPERVISOR_TA_NAME}" type="${TE_HYPERVISOR_TA_TYPE:-linux}"
disabled="${TE_HYPERVISOR:-${TE_HYPERVISOR_LOCALHOST:-yes}}"
rcflib="rcfunix" rebootable="no">
<conf name="host">${TE_HYPERVISOR}</conf>
<conf name="port">${TE_HYPERVISOR_PORT:-${TE_RCF_PORT:-50000}}</conf>
<conf name="user">${TE_HYPERVISOR_SSH_USER:-${TE_SSH_USER}}</conf>
<conf name="key">${TE_HYPERVISOR_SSH_KEY:-${TE_SSH_KEY}}</conf>
<conf name="ssh_port">${TE_HYPERVISOR_SSH_PORT:-${TE_SSH_PORT}}</conf>
<conf name="copy_timeout">${TE_RCFUNIX_TIMEOUT}</conf>
<conf name="kill_timeout">${TE_RCFUNIX_TIMEOUT}</conf>
<conf name="sudo" cond="${TE_HYPERVISOR_SUDO:-true}"/>
<conf name="shell">${TE_HYPERVISOR_VG}</conf>
<conf name="core_watcher">${TE_HYPERVISOR_CORE_WATCHER:-${TE_TA_CORE_WATCHER}}</conf>
<conf name="core_pattern">${TE_HYPERVISOR_CORE_PATTERN:-${TE_TA_CORE_PATTERN}}</conf>
</ta>
<!-- Helper Test Agent to listen to logs, parse and provide events -->
<ta name="${TE_LOG_LISTENER_TA_NAME}"
type="${TE_LOG_LISTENER_TA_TYPE:-linux}"
disabled="${TE_LOG_LISTENER:-${TE_LOG_LISTENER_LOCALHOST:-yes}}"
rcflib="rcfunix" rebootable="no">
<conf name="host">${TE_LOG_LISTENER}</conf>
<conf name="port">${TE_LOG_LISTENER_PORT:-${TE_RCF_PORT:-50000}}</conf>
<conf name="user">${TE_LOG_LISTENER_SSH_USER:-${TE_SSH_USER}}</conf>
<conf name="key">${TE_LOG_LISTENER_SSH_KEY:-${TE_SSH_KEY}}</conf>
<conf name="ssh_port">${TE_LOG_LISTENER_SSH_PORT:-${TE_SSH_PORT}}</conf>
<conf name="copy_timeout">${TE_RCFUNIX_TIMEOUT}</conf>
<conf name="kill_timeout">${TE_RCFUNIX_TIMEOUT}</conf>
<conf name="shell">${TE_LOG_LISTENER_VG}</conf>
<conf name="core_watcher">"no"</conf>
</ta>
</rcf>