Debian Codegraph @

ansible_collections/dellemc/enterprise_sonic/tests/regression/roles/sonic_system/defaults/main.yml

raw symbols SCIP
1 ---
2 ansible_connection: httpapi
3
4 sonic_system_tests:
5 - name: test_case_01
6 description: System properties
7 state: merged
8 input:
9 hostname: SONIC-test
10 interface_naming: standard
11 anycast_address:
12 ipv4: false
13 ipv6: false
14 auto_breakout: ENABLE
15 # Use only on switch models that support this.
16 # load_share_hash_algo: JENKINS_HASH_HI
17 audit_rules: BASIC
18 concurrent_session_limit: 4
19 switching_mode: STORE_AND_FORWARD
20 # Use only on switch that support this.
21 # adjust_txrx_clock_freq: false
22 password_complexity:
23 min_lower_case: 2
24 min_length: 10
25 min_spl_char: 1
26 login_exec_timeout: 0
27 banner:
28 login: "@\r\nTest login message\r\n@"
29 motd: "@\r\nTest motd message\r\n@"
30 login_banner_disable: true
31 motd_banner_disable: true
32
33 - name: test_case_02
34 description: Update created System properties
35 state: merged
36 input:
37 hostname: SONIC-new
38 interface_naming: standard_extended
39 # Use only on switch models that support this.
40 # load_share_hash_algo: JENKINS_HASH_LO
41 audit_rules: DETAIL
42 concurrent_session_limit: 5
43 # Use only on switch models that support CUT_THROUGH
44 switching_mode: CUT_THROUGH
45 # Use only on switch that support this.
46 # adjust_txrx_clock_freq: true
47 password_complexity:
48 min_upper_case: 1
49 min_numerals: 2
50 login_exec_timeout: 720
51 banner:
52 login: "@\r\nlogin banner message\r\n@"
53 motd: "@\r\nmotd banner message\r\n@"
54
55 - name: test_case_03
56 description: Update System properties - associate mac address
57 state: merged
58 input:
59 anycast_address:
60 mac_address: 00:09:5B:EC:EE:F2
61
62 - name: test_case_04
63 description: Delete System properties
64 state: deleted
65 input:
66 hostname: SONIC-new
67 interface_naming: standard_extended
68 anycast_address:
69 ipv4: false
70 auto_breakout: ENABLE
71 # Use only on switch models that support this.
72 # load_share_hash_algo: JENKINS_HASH_LO
73 audit_rules: BASIC
74 concurrent_session_limit: 5
75 # Use only on switch models that support CUT_THROUGH
76 switching_mode: CUT_THROUGH
77 # Use only on switch that support this.
78 # adjust_txrx_clock_freq: true
79 password_complexity:
80 min_upper_case: 1
81 min_lower_case: 2
82 min_numerals: 2
83 min_length: 10
84 min_spl_char: 1
85
86 - name: test_case_05
87 description: Delete System associated anycast mac address
88 state: deleted
89 input:
90 anycast_address:
91 mac_address: 00:09:5B:EC:EE:F2
92 banner:
93 motd_banner_disable: true
94
95 - name: test_case_06
96 description: Update created System properties before testing overridden
97 state: merged
98 input:
99 # Use only on switch models that support CUT_THROUGH
100 switching_mode: CUT_THROUGH
101
102 - name: test_case_07
103 description: Override System configuration
104 state: overridden
105 input:
106 hostname: SONIC-ov
107 interface_naming: standard
108 anycast_address:
109 ipv4: true
110 mac_address: 00:09:5B:EC:EE:F2
111 auto_breakout: ENABLE
112 # Use only on switch models that support this.
113 # load_share_hash_algo: CRC_XOR
114 audit_rules: BASIC
115 concurrent_session_limit: 4
116 # Use only on switch that support this.
117 # adjust_txrx_clock_freq: true
118 password_complexity:
119 min_upper_case: 1
120 min_lower_case: 2
121 min_numerals: 2
122 min_length: 10
123 min_spl_char: 1
124 login_exec_timeout: 660
125 banner:
126 login: "@\r\nAuthorized users only!!!\r\n@"
127 motd_banner_disable: true
128
129 - name: test_case_08
130 description: Replace some System configuration
131 state: replaced
132 input:
133 anycast_address:
134 ipv4: true
135 ipv6: false
136 mac_address: 00:09:5B:EC:EE:F2
137 auto_breakout: DISABLE
138 audit_rules: DETAIL
139 switching_mode: CUT_THROUGH
140 # Use only on switch that support this.
141 # adjust_txrx_clock_freq: false
142 login_exec_timeout: 650
143 banner:
144 motd: "@\r\nWelcome to SONiC OS\r\n@"
145 motd_banner_disable: false
146
147 - name: test_case_09
148 description: Replace different System configuration options
149 state: replaced
150 input:
151 hostname: SONIC
152 interface_naming: native
153 anycast_address:
154 ipv4: true
155 auto_breakout: ENABLE
156 # Use only on switch models that support this.
157 # load_share_hash_algo: CRC_32HI
158 audit_rules: BASIC
159 concurrent_session_limit: 5
160 # Use only on switch that support this.
161 # adjust_txrx_clock_freq: true
162 password_complexity:
163 min_lower_case: 1
164 min_upper_case: 2
165 login_exec_timeout: 800
166
167 - name: test_case_10
168 description: Update System properties
169 state: merged
170 input:
171 hostname: SONIC-reg
172 audit_rules: NONE
173 login_exec_timeout: 700
174
175 - name: test_case_11
176 description: Delete all System properties
177 state: deleted
178 input: {}