Debian Codegraph @

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

raw symbols SCIP
1 ---
2 idempotnet_condition: "{{ 'Passed' if (idempotent_task_output.failed == false and
3 idempotent_task_output.commands == empty and
4 idempotent_task_output.changed == false)
5 else 'Failed'
6 }}"
7 action_condition: "{{ 'Passed' if (action_task_output.failed == false and
8 action_task_output.commands != empty and
9 action_task_output.changed == true)
10 else 'Failed'
11 }}"
12 cli_test_condition: "{{ 'Passed' if (cli_tests_output.failed == false and
13 cli_tests_output.changed == false)
14 else 'Failed'
15 }}"
16
17 single_run_condition: "{{ 'Passed' if (single_run_task_output.failed == false and
18 single_run_task_output.commands != empty and
19 single_run_task_output.changed == true)
20 else 'Failed'
21 }}"
22
23 single_run_idem_condition: "{{ 'Passed' if (single_run_task_output.failed == false and
24 single_run_task_output.commands == empty and
25 single_run_task_output.changed == false)
26 else 'Failed'
27 }}"
28
29 REPORT_DIR: "/var/www/html/ansible/regression"
30 empty: []
31
32 module_name1: debug
33
34 std_name: STANDARD
35 std_ext_name: STANDARD_EXT
36 native_name: NATIVE
37
38 interface_mode: STANDARD
39
40 default_interface_cli_std: default interface range Eth 1/5-1/10
41 default_interface_cli_native: default interface range Ethernet4-9
42
43 default_interface_cli:
44 - "{{ default_interface_cli_std if std_name in interface_mode or std_ext_name in interface_mode else default_interface_cli_native }}"
45
46 native_eth1: Ethernet4
47 native_eth2: Ethernet5
48 native_eth3: Ethernet6
49 native_eth4: Ethernet7
50 native_eth5: Ethernet8
51 native_eth6: Ethernet9
52 native_eth7: Ethernet10
53 native_eth8: Ethernet11
54 native_eth9: Ethernet96
55 native_eth10: Ethernet100
56 native_eth11: Ethernet104
57 native_eth12: Ethernet108
58
59 std_eth1: Eth1/5
60 std_eth2: Eth1/6
61 std_eth3: Eth1/7
62 std_eth4: Eth1/8
63 std_eth5: Eth1/9
64 std_eth6: Eth1/10
65 std_eth7: Eth1/11
66 std_eth8: Eth1/12
67 std_eth9: Eth1/97
68 std_eth10: Eth1/98
69 std_eth11: Eth1/99
70 std_eth12: Eth1/100
71
72 interface1: "{{ std_eth1 if std_name in interface_mode else native_eth1 }}"
73 interface2: "{{ std_eth2 if std_name in interface_mode else native_eth2 }}"
74 interface3: "{{ std_eth3 if std_name in interface_mode else native_eth3 }}"
75 interface4: "{{ std_eth4 if std_name in interface_mode else native_eth4 }}"
76 interface5: "{{ std_eth5 if std_name in interface_mode else native_eth5 }}"
77 interface6: "{{ std_eth6 if std_name in interface_mode else native_eth6 }}"
78 interface7: "{{ std_eth7 if std_name in interface_mode else native_eth7 }}"
79 interface8: "{{ std_eth8 if std_name in interface_mode else native_eth8 }}"
80 interface9: "{{ std_eth9 if std_name in interface_mode else native_eth9 }}"
81 interface10: "{{ std_eth10 if std_name in interface_mode else native_eth10 }}"
82 interface11: "{{ std_eth11 if std_name in interface_mode else native_eth11 }}"
83 interface12: "{{ std_eth12 if std_name in interface_mode else native_eth12 }}"