Skip to content

Commit fefc3c4

Browse files
MaheshGSLABvitthalmagadumcarl-baillargeon
authored
Feat(eos_cli_config_gen, eos_designs, anta_runner): Added the support of interface error-disable validation on avd managed interfaces (#6695)
Co-authored-by: vitthalmagadum <[email protected]> Co-authored-by: Carl Baillargeon <[email protected]>
1 parent a795d12 commit fefc3c4

61 files changed

Lines changed: 2369 additions & 49 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ansible_collections/arista/avd/extensions/molecule/anta_runner/anta/avd_catalogs/default_run/dc1-leaf1a.json

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,40 @@
268268
"tags": [
269269
"dc1-leaf1a"
270270
]
271-
}
271+
},
272+
"interfaces": [
273+
"Dps1",
274+
"Ethernet1",
275+
"Ethernet2",
276+
"Ethernet3",
277+
"Ethernet4",
278+
"Ethernet5",
279+
"Ethernet6",
280+
"Ethernet7",
281+
"Ethernet8",
282+
"Ethernet18",
283+
"Ethernet31",
284+
"Ethernet32",
285+
"Ethernet33",
286+
"Loopback0",
287+
"Loopback1",
288+
"Loopback10",
289+
"Loopback11",
290+
"Management1",
291+
"Port-Channel3",
292+
"Port-Channel5",
293+
"Port-Channel8",
294+
"Tunnel1",
295+
"Vlan11",
296+
"Vlan12",
297+
"Vlan21",
298+
"Vlan22",
299+
"Vlan3009",
300+
"Vlan3010",
301+
"Vlan4085",
302+
"Vlan4093",
303+
"Vlan4094"
304+
]
272305
}
273306
},
274307
{
@@ -306,6 +339,10 @@
306339
]
307340
},
308341
"interfaces": [
342+
{
343+
"name": "Dps1",
344+
"status": "up"
345+
},
309346
{
310347
"name": "Ethernet1",
311348
"status": "up"

ansible_collections/arista/avd/extensions/molecule/anta_runner/anta/avd_catalogs/default_run/dc1-leaf1b.json

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,44 @@
268268
"tags": [
269269
"dc1-leaf1b"
270270
]
271-
}
271+
},
272+
"interfaces": [
273+
"Ethernet1",
274+
"Ethernet2",
275+
"Ethernet3",
276+
"Ethernet4",
277+
"Ethernet5",
278+
"Ethernet6",
279+
"Ethernet7",
280+
"Ethernet8",
281+
"Ethernet18",
282+
"Ethernet41",
283+
"Ethernet42",
284+
"Ethernet43",
285+
"Ethernet44",
286+
"Ethernet45",
287+
"Ethernet46",
288+
"Ethernet47",
289+
"Ethernet48",
290+
"Ethernet49",
291+
"Loopback0",
292+
"Loopback1",
293+
"Loopback10",
294+
"Loopback11",
295+
"Management1",
296+
"Port-Channel3",
297+
"Port-Channel5",
298+
"Port-Channel8",
299+
"Vlan11",
300+
"Vlan12",
301+
"Vlan21",
302+
"Vlan22",
303+
"Vlan3009",
304+
"Vlan3010",
305+
"Vlan4085",
306+
"Vlan4093",
307+
"Vlan4094"
308+
]
272309
}
273310
},
274311
{

ansible_collections/arista/avd/extensions/molecule/anta_runner/anta/avd_catalogs/default_run/dc1-leaf2a.json

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,33 @@
234234
"tags": [
235235
"dc1-leaf2a"
236236
]
237-
}
237+
},
238+
"interfaces": [
239+
"Ethernet1",
240+
"Ethernet2",
241+
"Ethernet3",
242+
"Ethernet4",
243+
"Ethernet5",
244+
"Ethernet6",
245+
"Ethernet8",
246+
"Loopback0",
247+
"Loopback1",
248+
"Loopback10",
249+
"Loopback11",
250+
"Management1",
251+
"Port-Channel3",
252+
"Port-Channel5",
253+
"Port-Channel8",
254+
"Vlan11",
255+
"Vlan12",
256+
"Vlan21",
257+
"Vlan22",
258+
"Vlan3009",
259+
"Vlan3010",
260+
"Vlan4085",
261+
"Vlan4093",
262+
"Vlan4094"
263+
]
238264
}
239265
},
240266
{

ansible_collections/arista/avd/extensions/molecule/anta_runner/anta/avd_catalogs/default_run/dc2-leaf1c.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,14 @@
8686
"tags": [
8787
"dc2-leaf1c"
8888
]
89-
}
89+
},
90+
"interfaces": [
91+
"Ethernet1",
92+
"Ethernet2",
93+
"Ethernet5",
94+
"Management1",
95+
"Port-Channel1"
96+
]
9097
}
9198
},
9299
{

ansible_collections/arista/avd/extensions/molecule/anta_runner/anta/avd_catalogs/default_run/dc2-leaf2c.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,14 @@
9191
"tags": [
9292
"dc2-leaf2c"
9393
]
94-
}
94+
},
95+
"interfaces": [
96+
"Ethernet1",
97+
"Ethernet2",
98+
"Ethernet5",
99+
"Management1",
100+
"Port-Channel1"
101+
]
95102
}
96103
},
97104
{
Lines changed: 216 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,216 @@
1+
{
2+
"anta.tests.configuration": [
3+
{
4+
"VerifyRunningConfigDiffs": {
5+
"result_overwrite": {
6+
"custom_field": "Generated by AVD"
7+
},
8+
"filters": {
9+
"tags": [
10+
"dc2-leaf3c"
11+
]
12+
}
13+
}
14+
},
15+
{
16+
"VerifyZeroTouch": {
17+
"result_overwrite": {
18+
"custom_field": "Generated by AVD"
19+
},
20+
"filters": {
21+
"tags": [
22+
"dc2-leaf3c"
23+
]
24+
}
25+
}
26+
}
27+
],
28+
"anta.tests.interfaces": [
29+
{
30+
"VerifyInterfaceDiscards": {
31+
"result_overwrite": {
32+
"custom_field": "Generated by AVD"
33+
},
34+
"filters": {
35+
"tags": [
36+
"dc2-leaf3c"
37+
]
38+
}
39+
}
40+
},
41+
{
42+
"VerifyInterfaceErrors": {
43+
"result_overwrite": {
44+
"custom_field": "Generated by AVD"
45+
},
46+
"filters": {
47+
"tags": [
48+
"dc2-leaf3c"
49+
]
50+
}
51+
}
52+
},
53+
{
54+
"VerifyInterfaceUtilization": {
55+
"result_overwrite": {
56+
"custom_field": "Generated by AVD"
57+
},
58+
"filters": {
59+
"tags": [
60+
"dc2-leaf3c"
61+
]
62+
}
63+
}
64+
}
65+
],
66+
"anta.tests.logging": [
67+
{
68+
"VerifyLoggingErrors": {
69+
"result_overwrite": {
70+
"custom_field": "Generated by AVD"
71+
},
72+
"filters": {
73+
"tags": [
74+
"dc2-leaf3c"
75+
]
76+
}
77+
}
78+
}
79+
],
80+
"anta.tests.routing.generic": [
81+
{
82+
"VerifyRoutingProtocolModel": {
83+
"result_overwrite": {
84+
"custom_field": "Generated by AVD"
85+
},
86+
"filters": {
87+
"tags": [
88+
"dc2-leaf3c"
89+
]
90+
},
91+
"model": "multi-agent"
92+
}
93+
}
94+
],
95+
"anta.tests.security": [
96+
{
97+
"VerifyAPIHttpsSSL": {
98+
"result_overwrite": {
99+
"custom_field": "Generated by AVD"
100+
},
101+
"filters": {
102+
"tags": [
103+
"dc2-leaf3c"
104+
]
105+
},
106+
"profile": "eAPI_SSL_Profile"
107+
}
108+
}
109+
],
110+
"anta.tests.stp": [
111+
{
112+
"VerifySTPCounters": {
113+
"result_overwrite": {
114+
"custom_field": "Generated by AVD"
115+
},
116+
"filters": {
117+
"tags": [
118+
"dc2-leaf3c"
119+
]
120+
}
121+
}
122+
}
123+
],
124+
"anta.tests.system": [
125+
{
126+
"VerifyAgentLogs": {
127+
"result_overwrite": {
128+
"custom_field": "Generated by AVD"
129+
},
130+
"filters": {
131+
"tags": [
132+
"dc2-leaf3c"
133+
]
134+
}
135+
}
136+
},
137+
{
138+
"VerifyCoredump": {
139+
"result_overwrite": {
140+
"custom_field": "Generated by AVD"
141+
},
142+
"filters": {
143+
"tags": [
144+
"dc2-leaf3c"
145+
]
146+
}
147+
}
148+
},
149+
{
150+
"VerifyFileSystemUtilization": {
151+
"result_overwrite": {
152+
"custom_field": "Generated by AVD"
153+
},
154+
"filters": {
155+
"tags": [
156+
"dc2-leaf3c"
157+
]
158+
}
159+
}
160+
},
161+
{
162+
"VerifyMaintenance": {
163+
"result_overwrite": {
164+
"custom_field": "Generated by AVD"
165+
},
166+
"filters": {
167+
"tags": [
168+
"dc2-leaf3c"
169+
]
170+
}
171+
}
172+
},
173+
{
174+
"VerifyMemoryUtilization": {
175+
"result_overwrite": {
176+
"custom_field": "Generated by AVD"
177+
},
178+
"filters": {
179+
"tags": [
180+
"dc2-leaf3c"
181+
]
182+
}
183+
}
184+
},
185+
{
186+
"VerifyNTP": {
187+
"result_overwrite": {
188+
"custom_field": "Generated by AVD"
189+
},
190+
"filters": {
191+
"tags": [
192+
"dc2-leaf3c"
193+
]
194+
}
195+
}
196+
},
197+
{
198+
"VerifyReloadCause": {
199+
"result_overwrite": {
200+
"custom_field": "Generated by AVD"
201+
},
202+
"filters": {
203+
"tags": [
204+
"dc2-leaf3c"
205+
]
206+
},
207+
"allowed_causes": [
208+
"Reload requested by the user.",
209+
"Reload requested after FPGA upgrade",
210+
"System reloaded due to Zero Touch Provisioning",
211+
"Hitless reload requested by the user."
212+
]
213+
}
214+
}
215+
]
216+
}

0 commit comments

Comments
 (0)