summaryrefslogtreecommitdiffstats
path: root/examples/tests.yaml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 08:35:51 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-14 08:35:51 +0000
commit641d0d615623d4818993e1967fc96af1eefc4605 (patch)
treec40f205eb559c8a495489262190a0be4f1829740 /examples/tests.yaml
parentAdding upstream version 0.13.0. (diff)
downloadanta-641d0d615623d4818993e1967fc96af1eefc4605.tar.xz
anta-641d0d615623d4818993e1967fc96af1eefc4605.zip
Adding upstream version 0.14.0.upstream/0.14.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'examples/tests.yaml')
-rw-r--r--examples/tests.yaml66
1 files changed, 53 insertions, 13 deletions
diff --git a/examples/tests.yaml b/examples/tests.yaml
index 6b5875f..e4445aa 100644
--- a/examples/tests.yaml
+++ b/examples/tests.yaml
@@ -1,7 +1,7 @@
---
anta.tests.aaa:
- VerifyTacacsSourceIntf:
- intf: Management0
+ intf: Management1
vrf: default
- VerifyTacacsServers:
servers:
@@ -79,10 +79,10 @@ anta.tests.configuration:
anta.tests.connectivity:
- VerifyReachability:
hosts:
- - source: Management0
+ - source: Management1
destination: 1.1.1.1
vrf: MGMT
- - source: Management0
+ - source: Management1
destination: 8.8.8.8
vrf: MGMT
- VerifyLLDPNeighbors:
@@ -98,6 +98,10 @@ anta.tests.field_notices:
- VerifyFieldNotice44Resolution:
- VerifyFieldNotice72Resolution:
+anta.tests.greent:
+ - VerifyGreenT:
+ - VerifyGreenTCounters:
+
anta.tests.hardware:
- VerifyTransceiversManufacturers:
manufacturers:
@@ -117,18 +121,19 @@ anta.tests.hardware:
anta.tests.interfaces:
- VerifyInterfaceUtilization:
+ threshold: 70.0
- VerifyInterfaceErrors:
- VerifyInterfaceDiscards:
- VerifyInterfaceErrDisabled:
- VerifyInterfacesStatus:
interfaces:
- - interface: Ethernet1
- state: up
- - interface: Port-Channel100
- state: down
+ - name: Ethernet1
+ status: up
+ - name: Port-Channel100
+ status: down
line_protocol_status: lowerLayerDown
- - interface: Ethernet49/1
- state: adminDown
+ - name: Ethernet49/1
+ status: adminDown
line_protocol_status: notPresent
- VerifyStormControlDrops:
- VerifyPortChannels:
@@ -144,8 +149,8 @@ anta.tests.interfaces:
- Ethernet1: 2500
- VerifyIPProxyARP:
interfaces:
- - Ethernet1
- - Ethernet2
+ - Ethernet1/1
+ - Ethernet2/1
- VerifyL2MTU:
mtu: 1500
ignored_interfaces:
@@ -155,7 +160,7 @@ anta.tests.interfaces:
- Ethernet1/1: 1500
- VerifyInterfaceIPv4:
interfaces:
- - name: Ethernet2
+ - name: Ethernet2/1
primary_ip: 172.30.11.0/31
secondary_ips:
- 10.10.10.0/31
@@ -163,10 +168,13 @@ anta.tests.interfaces:
- VerifyIpVirtualRouterMac:
mac_address: 00:1c:73:00:dc:01
+anta.tests.lanz:
+ - VerifyLANZ:
+
anta.tests.logging:
- VerifyLoggingPersistent:
- VerifyLoggingSourceIntf:
- interface: Management0
+ interface: Management1
vrf: default
- VerifyLoggingHosts:
hosts:
@@ -208,6 +216,14 @@ anta.tests.profiles:
- VerifyTcamProfile:
profile: vxlan-routing
+anta.tests.ptp:
+ - VerifyPtpModeStatus:
+ - VerifyPtpGMStatus:
+ gmid: 0xec:46:70:ff:fe:00:ff:a9
+ - VerifyPtpLockStatus:
+ - VerifyPtpOffset:
+ - VerifyPtpPortModeStatus:
+
anta.tests.security:
- VerifySSHStatus:
- VerifySSHIPv4Acl:
@@ -264,6 +280,17 @@ anta.tests.security:
action: permit icmp any any
- sequence: 20
action: permit tcp any any range 5900 5910
+ - VerifyIPSecConnHealth:
+ - VerifySpecificIPSecConn:
+ ip_security_connections:
+ - peer: 10.255.0.1
+ - peer: 10.255.0.2
+ vrf: default
+ connections:
+ - source_address: 100.64.3.2
+ destination_address: 100.64.2.2
+ - source_address: 172.18.3.2
+ destination_address: 172.18.2.2
anta.tests.services:
- VerifyHostname:
@@ -331,6 +358,18 @@ anta.tests.stp:
- 10
- 20
+anta.tests.stun:
+ - VerifyStunClient:
+ stun_clients:
+ - source_address: 172.18.3.2
+ public_address: 172.18.3.21
+ source_port: 4500
+ public_port: 6006
+ - source_address: 100.64.3.2
+ public_address: 100.64.3.21
+ source_port: 4500
+ public_port: 6006
+
anta.tests.system:
- VerifyUptime:
minimum: 86400
@@ -475,3 +514,4 @@ anta.tests.routing:
- VerifyOSPFNeighborState:
- VerifyOSPFNeighborCount:
number: 3
+ - VerifyOSPFMaxLSA: