blob: c230722bbcd01653a2d0a83d10ace451f88cb494 (
plain)
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
|
---
anta_title: ANTA check commands
---
<!--
~ Copyright (c) 2023-2024 Arista Networks, Inc.
~ Use of this source code is governed by the Apache License 2.0
~ that can be found in the LICENSE file.
-->
The ANTA check command allow to execute some checks on the ANTA input files.
Only checking the catalog is currently supported.
```bash
anta check --help
Usage: anta check [OPTIONS] COMMAND [ARGS]...
Check commands for building ANTA
Options:
--help Show this message and exit.
Commands:
catalog Check that the catalog is valid
```
## Checking the catalog
```bash
Usage: anta check catalog [OPTIONS]
Check that the catalog is valid.
Options:
-c, --catalog FILE Path to the test catalog file [env var:
ANTA_CATALOG; required]
--catalog-format [yaml|json] Format of the catalog file, either 'yaml' or
'json' [env var: ANTA_CATALOG_FORMAT]
--help Show this message and exit.
```
|