Debian Codegraph @

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

raw symbols SCIP
1 ---
2 ansible_connection: httpapi
3
4 vrf_1: VrfReg1
5
6 preparations_tests:
7 init_vlan:
8 - 'interface Vlan 1'
9 - 'interface Vlan 2'
10 - 'interface Vlan 3'
11
12 sonic_mac_tests:
13 - name: test_case_01
14 description: Configure MACs
15 state: merged
16 input:
17 - vrf_name: 'default'
18 mac:
19 aging_time: 50
20 dampening_interval: 20
21 dampening_threshold: 30
22 mac_table_entries:
23 - mac_address: '00:00:5e:00:53:af'
24 vlan_id: 1
25 interface: '{{ interface1 }}'
26 - mac_address: '00:33:33:33:33:33'
27 vlan_id: 2
28 interface: '{{ interface2 }}'
29 - mac_address: '00:00:4e:00:24:af'
30 vlan_id: 3
31 interface: '{{ interface3 }}'
32 - name: test_case_02
33 description: Modify MAC configurations
34 state: merged
35 input:
36 - vrf_name: 'default'
37 mac:
38 aging_time: 25
39 dampening_interval: 10
40 dampening_threshold: 40
41 mac_table_entries:
42 - mac_address: '00:00:5e:00:53:af'
43 vlan_id: 1
44 interface: '{{ interface2 }}'
45 - mac_address: '00:33:33:33:33:33'
46 vlan_id: 2
47 interface: '{{ interface1 }}'
48 - name: test_case_03
49 description: Replace MAC configurations
50 state: replaced
51 input:
52 - vrf_name: 'default'
53 mac:
54 aging_time: 45
55 dampening_interval: 30
56 dampening_threshold: 60
57 mac_table_entries:
58 - mac_address: '00:00:5e:00:53:af'
59 vlan_id: 1
60 interface: '{{ interface1 }}'
61 - mac_address: '00:44:44:44:44:44'
62 vlan_id: 2
63 interface: '{{ interface3 }}'
64 - name: test_case_04
65 description: Override MAC cofigurations
66 state: overridden
67 input:
68 - vrf_name: 'default'
69 mac:
70 aging_time: 10
71 dampening_interval: 20
72 dampening_threshold: 30
73 mac_table_entries:
74 - mac_address: '00:11:11:11:11:11'
75 vlan_id: 1
76 interface: '{{ interface1 }}'
77 - mac_address: '00:22:22:22:22:22'
78 vlan_id: 2
79 interface: '{{ interface2 }}'
80 - mac_address: '00:00:33:33:33:33'
81 vlan_id: 3
82 interface: '{{ interface3 }}'
83 - name: test_case_05
84 description: Delete MAC cofigurations
85 state: deleted
86 input:
87 - vrf_name: 'default'
88 mac:
89 aging_time: 10
90 dampening_interval: 20
91 dampening_threshold: 30
92 mac_table_entries:
93 - mac_address: '00:11:11:11:11:11'
94 vlan_id: 1
95 interface: '{{ interface1 }}'
96 - mac_address: '00:00:33:33:33:33'
97 vlan_id: 3
98 - name: test_case_06
99 description: Delete all MAC configurations
100 state: deleted
101 input: []