anta_inventory:
hosts:
- host: 192.168.0.10
name: s1-spine1
tags: ['spine']
- host: 192.168.0.11
name: s1-spine2
tags: ['spine']
- host: 192.168.0.12
name: s1-leaf1
tags: ['leaf']
- host: 192.168.0.13
name: s1-leaf2
tags: ['leaf']
- host: 192.168.0.14
name: s1-leaf3
tags: ['leaf']
- host: 192.168.0.15
name: s1-leaf4
tags: ['leaf']
- host: 192.168.0.100
name: s1-brdr1
tags: ['border']
- host: 192.168.0.101
name: s1-brdr2
tags: ['border']
anta nrfu --hide skipped table
anta nrfu table --group-by device
anta nrfu --tags leaf table
anta nrfu --tags leaf table --group-by device
anta nrfu --tags leaf,spine table
anta.tests.system:
- VerifyUptime:
minimum: 600
anta.tests.hardware:
- VerifyEnvironmentCooling:
states:
- ok
anta.tests.software:
- VerifyTerminAttrVersion:
versions:
- v1.32.0
- v1.35.0
anta.tests.routing:
generic:
- VerifyRoutingProtocolModel:
model: multi-agent
bgp:
- VerifyBGPPeerCount:
address_families:
- afi: "evpn"
num_peers: 2
- afi: "ipv4"
safi: "unicast"
vrf: "OVERLAY"
num_peers: 1
- afi: "ipv4"
safi: "unicast"
vrf: "default"
num_peers: 3
filters:
tags: ["leaf"]
- VerifyBGPPeerCount:
address_families:
- afi: "evpn"
num_peers: 6
- afi: "ipv4"
safi: "unicast"
vrf: "default"
num_peers: 6
filters:
tags: ["spine"]
- VerifyBGPPeerCount:
address_families:
- afi: "evpn"
num_peers: 2
- afi: "ipv4"
safi: "unicast"
vrf: "OVERLAY"
num_peers: 1
- afi: "ipv4"
safi: "unicast"
vrf: "default"
num_peers: 3
filters:
tags: ["border"]