This repository has been archived by the owner on Aug 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tests.yaml
189 lines (189 loc) · 9.35 KB
/
tests.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
---
##################################
########### Software #############
##################################
'01.01':
name: verify_eos_version # Verifies the device is running one of the allowed EOS version.
versions: # List of allowed EOS versions.
- 4.25.4M
- 4.26.1F
'01.02':
name: verify_terminattr_version # Verifies the device is running one of the allowed TerminAttr version.
versions: # List of allowed TerminAttr versions.
- v1.13.6
- v1.8.0
'01.03':
name: verify_eos_extensions # Verifies all EOS extensions installed on the device are enabled for boot persistence.
'01.04':
name: verify_field_notice_44_resolution # Verifies the device is using an Aboot version that fix the bug discussed in the field notice 44 (Aboot manages system settings prior to EOS initialization).
##################################
############# System #############
##################################
'02.01':
name: verify_uptime # Verifies the device uptime is higher than a value.
minimum: 86400 # Minimum uptime in seconds.
'02.02':
name: verify_reload_cause # Verifies the last reload of the device was requested by a user.
'02.03':
name: verify_coredump # Verifies there is no core file.
'02.04':
name: verify_agent_logs # Verifies there is no agent crash reported on the device.
'02.05':
name: verify_syslog # Verifies the device had no syslog message with a severity of warning (or a more severe message) during the last 7 days.
'02.06':
name: verify_cpu_utilization # Verifies the CPU utilization is less than 75%.
'02.07':
name: verify_memory_utilization # Verifies the memory utilization is less than 75%.
'02.08':
name: verify_filesystem_utilization # Verifies each partition on the disk is used less than 75%.
##################################
############ Hardware ############
##################################
'03.01':
name: verify_transceivers_manufacturers # Verifies the device is only using transceivers from supported manufacturers.
manufacturers: # List of allowed transceivers manufacturers.
- Not Present
- Arista Networks
- Arastra, Inc.
'03.02':
name: verify_system_temperature # Verifies the device temperature is currently OK and the device did not report any temperature alarm in the past.
'03.03':
name: verify_transceiver_temperature # Verifies the transceivers temperature is currently OK and the device did not report any alarm in the past for its transceivers temperature.
'03.04':
name: verify_environment_cooling # Verifies the fans status is OK.
'03.05':
name: verify_environment_power # Verifies the power supplies status is OK.
##################################
######### Configuration ##########
##################################
'04.01':
name: verify_zerotouch # Verifies ZeroTouch is disabled.
'04.02':
name: verify_running_config_diffs # Verifies there is no difference between the running-config and the startup-config.
##################################
############ Profiles ############
##################################
'05.01':
name: verify_unified_forwarding_table_mode # Verifies the device is using the expected Unified Forwarding Table mode.
mode: 3 # Expected UFT mode.
'05.02':
name: verify_tcam_profile # Verifies the configured TCAM profile is the expected one.
profile: vxlan-routing # Expected TCAM profile.
##################################
############# ASICS ##############
##################################
'06.01':
name: verify_adverse_drops # Verifies there is no adverse drops on DCS-7280E and DCS-7500E switches.
##################################
########### Management ###########
##################################
'07.01':
name: verify_ntp # Verifies NTP is synchronised.
##################################
########### Interfaces ###########
##################################
'08.01':
name: verify_interface_utilization # Verifies interfaces utilization are below 75%.
'08.02':
name: verify_interface_errors # Verifies interfaces error counters are equal to zero.
'08.03':
name: verify_interface_discards # Verifies interfaces packet discard counters are equal to zero.
'08.04':
name: verify_interface_errdisabled # Verifies there is no interface in error disable state.
'08.05':
name: verify_interfaces_status # Verifies the number of Ethernet interfaces up/up on the device is higher or equal than a value.
minimum: 4 # Expected minimum number of Ethernet interfaces up/up.
'08.06':
name: verify_storm_control_drops # Verifies the device did not drop packets due its to storm-control configuration.
##################################
####### Links aggregation ########
##################################
'09.01':
name: verify_portchannels # Verifies there is no inactive port in port channels.
'09.02':
name: verify_illegal_lacp # Verifies there is no illegal LACP packets received.
'09.03':
name: verify_mlag_status # Verifies MLAG status: state is active, negotiation status is connected, local int is up, peer link is up.
'09.04':
name: verify_mlag_interfaces # Verifies there is no inactive or active-partial MLAG interfaces.
'09.05':
name: verify_mlag_config_sanity # Verifies there are no mlag config-sanity warnings
##################################
########### Loopbacks ############
##################################
'10.01':
name: verify_loopback_count # Verifies the number of loopback interfaces on the device is the one we expect. And if none of the loopback is down.
number: 3 # Number of loopback interfaces expected to be present.
##################################
############# VXLAN ##############
##################################
'11.01':
name: verify_vxlan # Verifies the interface vxlan 1 status is up/up.
'11.02':
name: verify_vxlan_config_sanity # Verifies there is no VXLAN config-sanity warnings.
##################################
############## SVI ###############
##################################
'12.01':
name: verify_svi # Verifies there is no interface vlan down.
##################################
############## STP ###############
##################################
'13.01':
name: verify_spanning_tree_blocked_ports # Verifies there is no spanning-tree blocked ports.
##################################
########### Routing #############
##################################
'14.01':
name: verify_routing_protocol_model # Verifies the configured routing protocol model is the one we expect. And if there is no mismatch between the configured and operating routing protocol model.
model: multi-agent # Expected routing protocol model (multi-agent or ribd).
'14.02':
name: verify_routing_table_size # Verifies the size of the IP routing table (default VRF) (should be between the two provided thresholds).
minimum: 2 # Expected minimum number of IP routes in default VRF
maximum: 20 # Expected maximum number of IP routes in default VRF
##################################
############## BFD ###############
##################################
'15.01':
name: verify_bfd # Verifies there is no BFD peer in down state (all VRF, IPv4 neighbors).
##################################
############## BGP ###############
##################################
'16.01':
name: verify_bgp_ipv4_unicast_state # Verifies all IPv4 unicast BGP sessions are established (for all VRF) and all BGP messages queues for these sessions are empty (for all VRF).
'16.02':
name: verify_bgp_ipv4_unicast_count # Verifies all IPv4 unicast BGP sessions are established and all BGP messages queues for these sessions are empty and the actual number of BGP IPv4 unicast neighbors is the one we expect.
number: 2 # The expected number of BGP IPv4 unicast neighbors.
vrf: default # VRF to verify.
'16.03':
name: verify_bgp_ipv6_unicast_state # Verifies all IPv6 unicast BGP sessions are established (for all VRF) and all BGP messages queues for these sessions are empty (for all VRF).
'16.04':
name: verify_bgp_evpn_state # Verifies all EVPN BGP sessions are established (default VRF).
'16.05':
name: verify_bgp_evpn_count # Verifies all EVPN BGP sessions are established (default VRF) and the actual number of BGP EVPN neighbors is the one we expect (default VRF).
number: 2 # The expected number of BGP EVPN neighbors in the default VRF.
'16.06':
name: verify_bgp_rtc_state # Verifies all RTC BGP sessions are established (default VRF).
'16.07':
name: verify_bgp_rtc_count # Verifies all RTC BGP sessions are established (default VRF) and the actual number of BGP RTC neighbors is the one we expect (default VRF).
number: 2 # The expected number of BGP RTC neighbors (default VRF).
##################################
############## OSPF ##############
##################################
'17.01':
name: verify_ospf_state # Verifies all OSPF neighbors are in FULL state.
'17.02':
name: verify_ospf_count # Verifies the number of OSPF neighbors in FULL state is the one we expect.
number: 3 # The expected number of OSPF neighbors in FULL state.
##################################
######## Multicast ###############
##################################
'18.01':
name: verify_igmp_snooping_vlans # Verifies the IGMP snooping configuration for some VLANs.
configuration: disabled # Expected IGMP configuration (enabled or disabled) for these VLANs.
vlans: # List of VLANs.
- 10
- 12
'18.02':
name: verify_igmp_snooping_global # Verifies the IGMP snooping global configuration.
configuration: enabled # Expected global IGMP configuration (enabled or disabled).