Skip to content

Commit f819f5d

Browse files
Feat(anta_runner): New reachability tests (#6339)
Co-authored-by: Mahesh Kumar <122076792+MaheshGSLAB@users.noreply.github.com>
1 parent aa07455 commit f819f5d

File tree

88 files changed

+2183
-397
lines changed

Some content is hidden

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

88 files changed

+2183
-397
lines changed

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,24 +91,28 @@
9191
{
9292
"destination": "10.255.255.0",
9393
"source": "10.255.255.1",
94+
"description": "dc1-spine1_Ethernet1",
9495
"vrf": "default",
9596
"repeat": 1
9697
},
9798
{
9899
"destination": "10.255.255.1",
99100
"source": "10.255.255.0",
101+
"description": "dc1-wan1_Ethernet1",
100102
"vrf": "default",
101103
"repeat": 1
102104
},
103105
{
104106
"destination": "10.255.255.2",
105107
"source": "10.255.255.3",
108+
"description": "dc1-spine2_Ethernet1",
106109
"vrf": "default",
107110
"repeat": 1
108111
},
109112
{
110113
"destination": "10.255.255.5",
111114
"source": "10.255.255.4",
115+
"description": "dc1-wan2_Ethernet1",
112116
"vrf": "default",
113117
"repeat": 1
114118
}
@@ -118,7 +122,7 @@
118122
{
119123
"VerifyReachability": {
120124
"result_overwrite": {
121-
"description": "Verifies reachability to BGP neighbors with an update source configured.",
125+
"description": "Verifies reachability to BGP neighbors. Some neighbor destinations might already be covered in other reachability tests.",
122126
"custom_field": "Generated by AVD"
123127
},
124128
"filters": {
@@ -130,18 +134,27 @@
130134
{
131135
"destination": "10.1.1.1",
132136
"source": "Loopback0",
137+
"description": "External peer",
133138
"vrf": "default",
134139
"repeat": 1
135140
},
136141
{
137142
"destination": "10.255.0.1",
138143
"source": "Loopback0",
144+
"description": "dc1-spine1_Loopback0",
139145
"vrf": "default",
140146
"repeat": 1
141147
},
142148
{
143149
"destination": "10.255.0.2",
144150
"source": "Loopback0",
151+
"description": "dc1-spine2_Loopback0",
152+
"vrf": "default",
153+
"repeat": 1
154+
},
155+
{
156+
"destination": "10.255.1.97",
157+
"description": "dc1-leaf1b_Vlan4093",
145158
"vrf": "default",
146159
"repeat": 1
147160
}

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,24 +91,28 @@
9191
{
9292
"destination": "10.255.255.3",
9393
"source": "10.255.255.2",
94+
"description": "dc1-wan1_Ethernet2",
9495
"vrf": "default",
9596
"repeat": 1
9697
},
9798
{
9899
"destination": "10.255.255.4",
99100
"source": "10.255.255.5",
101+
"description": "dc1-spine1_Ethernet2",
100102
"vrf": "default",
101103
"repeat": 1
102104
},
103105
{
104106
"destination": "10.255.255.6",
105107
"source": "10.255.255.7",
108+
"description": "dc1-spine2_Ethernet2",
106109
"vrf": "default",
107110
"repeat": 1
108111
},
109112
{
110113
"destination": "10.255.255.7",
111114
"source": "10.255.255.6",
115+
"description": "dc1-wan2_Ethernet2",
112116
"vrf": "default",
113117
"repeat": 1
114118
}
@@ -118,7 +122,7 @@
118122
{
119123
"VerifyReachability": {
120124
"result_overwrite": {
121-
"description": "Verifies reachability to BGP neighbors with an update source configured.",
125+
"description": "Verifies reachability to BGP neighbors. Some neighbor destinations might already be covered in other reachability tests.",
122126
"custom_field": "Generated by AVD"
123127
},
124128
"filters": {
@@ -130,12 +134,20 @@
130134
{
131135
"destination": "10.255.0.1",
132136
"source": "Loopback0",
137+
"description": "dc1-spine1_Loopback0",
133138
"vrf": "default",
134139
"repeat": 1
135140
},
136141
{
137142
"destination": "10.255.0.2",
138143
"source": "Loopback0",
144+
"description": "dc1-spine2_Loopback0",
145+
"vrf": "default",
146+
"repeat": 1
147+
},
148+
{
149+
"destination": "10.255.1.96",
150+
"description": "dc1-leaf1a_Vlan4093",
139151
"vrf": "default",
140152
"repeat": 1
141153
}

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,21 @@
7676
{
7777
"destination": "10.255.255.8",
7878
"source": "10.255.255.9",
79+
"description": "dc1-spine1_Ethernet3",
7980
"vrf": "default",
8081
"repeat": 1
8182
},
8283
{
8384
"destination": "10.255.255.10",
8485
"source": "10.255.255.11",
86+
"description": "dc1-spine2_Ethernet3",
8587
"vrf": "default",
8688
"repeat": 1
8789
},
8890
{
8991
"destination": "192.168.100.1",
9092
"source": "192.168.100.0",
93+
"description": "dc2-leaf2a_Ethernet6",
9194
"vrf": "default",
9295
"repeat": 1
9396
}
@@ -97,7 +100,7 @@
97100
{
98101
"VerifyReachability": {
99102
"result_overwrite": {
100-
"description": "Verifies reachability to BGP neighbors with an update source configured.",
103+
"description": "Verifies reachability to BGP neighbors. Some neighbor destinations might already be covered in other reachability tests.",
101104
"custom_field": "Generated by AVD"
102105
},
103106
"filters": {
@@ -109,18 +112,21 @@
109112
{
110113
"destination": "10.255.0.1",
111114
"source": "Loopback0",
115+
"description": "dc1-spine1_Loopback0",
112116
"vrf": "default",
113117
"repeat": 1
114118
},
115119
{
116120
"destination": "10.255.0.2",
117121
"source": "Loopback0",
122+
"description": "dc1-spine2_Loopback0",
118123
"vrf": "default",
119124
"repeat": 1
120125
},
121126
{
122127
"destination": "10.255.128.15",
123128
"source": "Loopback0",
129+
"description": "dc2-leaf2a_Loopback0",
124130
"vrf": "default",
125131
"repeat": 1
126132
}

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

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,30 +81,35 @@
8181
{
8282
"destination": "10.33.255.17",
8383
"source": "10.33.255.16",
84+
"description": "dc1-svc-leaf1a_Ethernet1",
8485
"vrf": "default",
8586
"repeat": 1
8687
},
8788
{
8889
"destination": "10.33.255.21",
8990
"source": "10.33.255.20",
91+
"description": "dc1-svc-leaf1b_Ethernet1",
9092
"vrf": "default",
9193
"repeat": 1
9294
},
9395
{
9496
"destination": "10.255.255.1",
9597
"source": "10.255.255.0",
98+
"description": "dc1-leaf1a_Ethernet1",
9699
"vrf": "default",
97100
"repeat": 1
98101
},
99102
{
100103
"destination": "10.255.255.5",
101104
"source": "10.255.255.4",
105+
"description": "dc1-leaf1b_Ethernet1",
102106
"vrf": "default",
103107
"repeat": 1
104108
},
105109
{
106110
"destination": "10.255.255.9",
107111
"source": "10.255.255.8",
112+
"description": "dc1-leaf2a_Ethernet1",
108113
"vrf": "default",
109114
"repeat": 1
110115
}
@@ -114,7 +119,7 @@
114119
{
115120
"VerifyReachability": {
116121
"result_overwrite": {
117-
"description": "Verifies reachability to BGP neighbors with an update source configured.",
122+
"description": "Verifies reachability to BGP neighbors. Some neighbor destinations might already be covered in other reachability tests.",
118123
"custom_field": "Generated by AVD"
119124
},
120125
"filters": {
@@ -126,42 +131,61 @@
126131
{
127132
"destination": "10.33.0.5",
128133
"source": "Loopback0",
134+
"description": "dc1-svc-leaf1a_Loopback0",
129135
"vrf": "default",
130136
"repeat": 1
131137
},
132138
{
133139
"destination": "10.33.0.6",
134140
"source": "Loopback0",
141+
"description": "dc1-svc-leaf1b_Loopback0",
135142
"vrf": "default",
136143
"repeat": 1
137144
},
138145
{
139146
"destination": "10.255.0.3",
140147
"source": "Loopback0",
148+
"description": "dc1-leaf1a_Loopback0",
141149
"vrf": "default",
142150
"repeat": 1
143151
},
144152
{
145153
"destination": "10.255.0.4",
146154
"source": "Loopback0",
155+
"description": "dc1-leaf1b_Loopback0",
147156
"vrf": "default",
148157
"repeat": 1
149158
},
150159
{
151160
"destination": "10.255.0.5",
152161
"source": "Loopback0",
162+
"description": "dc1-leaf2a_Loopback0",
153163
"vrf": "default",
154164
"repeat": 1
155165
},
156166
{
157167
"destination": "123.1.1.10",
158168
"source": "Loopback123",
169+
"description": "External IPv4 BGP peer",
159170
"vrf": "default",
160171
"repeat": 1
161172
},
162173
{
163174
"destination": "123.1.1.11",
164175
"source": "Loopback123",
176+
"description": "External IPv4 BGP peer",
177+
"vrf": "default",
178+
"repeat": 1
179+
},
180+
{
181+
"destination": "fd5a:fe45:8831:6c5::a",
182+
"description": null,
183+
"vrf": "default",
184+
"repeat": 1
185+
},
186+
{
187+
"destination": "fd5a:fe45:8831:6c5::b",
188+
"description": null,
165189
"vrf": "default",
166190
"repeat": 1
167191
}

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

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,30 +81,35 @@
8181
{
8282
"destination": "10.33.255.19",
8383
"source": "10.33.255.18",
84+
"description": "dc1-svc-leaf1a_Ethernet2",
8485
"vrf": "default",
8586
"repeat": 1
8687
},
8788
{
8889
"destination": "10.33.255.23",
8990
"source": "10.33.255.22",
91+
"description": "dc1-svc-leaf1b_Ethernet2",
9092
"vrf": "default",
9193
"repeat": 1
9294
},
9395
{
9496
"destination": "10.255.255.3",
9597
"source": "10.255.255.2",
98+
"description": "dc1-leaf1a_Ethernet2",
9699
"vrf": "default",
97100
"repeat": 1
98101
},
99102
{
100103
"destination": "10.255.255.7",
101104
"source": "10.255.255.6",
105+
"description": "dc1-leaf1b_Ethernet2",
102106
"vrf": "default",
103107
"repeat": 1
104108
},
105109
{
106110
"destination": "10.255.255.11",
107111
"source": "10.255.255.10",
112+
"description": "dc1-leaf2a_Ethernet2",
108113
"vrf": "default",
109114
"repeat": 1
110115
}
@@ -114,7 +119,7 @@
114119
{
115120
"VerifyReachability": {
116121
"result_overwrite": {
117-
"description": "Verifies reachability to BGP neighbors with an update source configured.",
122+
"description": "Verifies reachability to BGP neighbors. Some neighbor destinations might already be covered in other reachability tests.",
118123
"custom_field": "Generated by AVD"
119124
},
120125
"filters": {
@@ -126,30 +131,53 @@
126131
{
127132
"destination": "10.33.0.5",
128133
"source": "Loopback0",
134+
"description": "dc1-svc-leaf1a_Loopback0",
129135
"vrf": "default",
130136
"repeat": 1
131137
},
132138
{
133139
"destination": "10.33.0.6",
134140
"source": "Loopback0",
141+
"description": "dc1-svc-leaf1b_Loopback0",
135142
"vrf": "default",
136143
"repeat": 1
137144
},
138145
{
139146
"destination": "10.255.0.3",
140147
"source": "Loopback0",
148+
"description": "dc1-leaf1a_Loopback0",
141149
"vrf": "default",
142150
"repeat": 1
143151
},
144152
{
145153
"destination": "10.255.0.4",
146154
"source": "Loopback0",
155+
"description": "dc1-leaf1b_Loopback0",
147156
"vrf": "default",
148157
"repeat": 1
149158
},
150159
{
151160
"destination": "10.255.0.5",
152161
"source": "Loopback0",
162+
"description": "dc1-leaf2a_Loopback0",
163+
"vrf": "default",
164+
"repeat": 1
165+
},
166+
{
167+
"destination": "142.112.39.2",
168+
"description": "Primary_ISP_IPv4",
169+
"vrf": "default",
170+
"repeat": 1
171+
},
172+
{
173+
"destination": "142.112.41.2",
174+
"description": "Primary_ISP_EVPN",
175+
"vrf": "default",
176+
"repeat": 1
177+
},
178+
{
179+
"destination": "2001:db8:1::2",
180+
"description": "Primary_ISP_IPv6",
153181
"vrf": "default",
154182
"repeat": 1
155183
}

0 commit comments

Comments
 (0)