summaryrefslogtreecommitdiffstats
path: root/docs/api/models.md
blob: b0c1e916f1c65b5b31fe6e0ba7fd9ceb2c7d587e (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
<!--
  ~ 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.
  -->

# Test definition

## UML Diagram

![](../imgs/uml/anta.models.AntaTest.jpeg)

### ::: anta.models.AntaTest
    options:
        filters: ["!^_[^_]", "!__init_subclass__", "!update_progress"]

# Command definition

## UML Diagram

![](../imgs/uml/anta.models.AntaCommand.jpeg)
### ::: anta.models.AntaCommand

!!! warning
    CLI commands are protected to avoid execution of critical commands such as `reload` or `write erase`.

      - Reload command: `^reload\s*\w*`
      - Configure mode: `^conf\w*\s*(terminal|session)*`
      - Write: `^wr\w*\s*\w+`

# Template definition

## UML Diagram

![](../imgs/uml/anta.models.AntaTemplate.jpeg)

### ::: anta.models.AntaTemplate