diff options
Diffstat (limited to 'docs/snippets')
-rw-r--r-- | docs/snippets/anta_help.txt | 12 | ||||
-rw-r--r-- | docs/snippets/anta_nrfu_help.txt | 51 |
2 files changed, 57 insertions, 6 deletions
diff --git a/docs/snippets/anta_help.txt b/docs/snippets/anta_help.txt index 0c3302a..7bc37ad 100644 --- a/docs/snippets/anta_help.txt +++ b/docs/snippets/anta_help.txt @@ -1,6 +1,6 @@ Usage: anta [OPTIONS] COMMAND [ARGS]... - Arista Network Test Automation (ANTA) CLI + Arista Network Test Automation (ANTA) CLI. Options: --version Show the version and exit. @@ -13,8 +13,8 @@ Options: --help Show this message and exit. Commands: - check Commands to validate configuration files - debug Commands to execute EOS commands on remote devices - exec Commands to execute various scripts on EOS devices - get Commands to get information from or generate inventories - nrfu Run ANTA tests on devices + check Commands to validate configuration files. + debug Commands to execute EOS commands on remote devices. + exec Commands to execute various scripts on EOS devices. + get Commands to get information from or generate inventories. + nrfu Run ANTA tests on selected inventory devices. diff --git a/docs/snippets/anta_nrfu_help.txt b/docs/snippets/anta_nrfu_help.txt new file mode 100644 index 0000000..87e5195 --- /dev/null +++ b/docs/snippets/anta_nrfu_help.txt @@ -0,0 +1,51 @@ +Usage: anta nrfu [OPTIONS] COMMAND [ARGS]... + + Run ANTA tests on selected inventory devices. + +Options: + -u, --username TEXT Username to connect to EOS [env var: + ANTA_USERNAME; required] + -p, --password TEXT Password to connect to EOS that must be + provided. It can be prompted using '-- + prompt' option. [env var: ANTA_PASSWORD] + --enable-password TEXT Password to access EOS Privileged EXEC mode. + It can be prompted using '--prompt' option. + Requires '--enable' option. [env var: + ANTA_ENABLE_PASSWORD] + --enable Some commands may require EOS Privileged + EXEC mode. This option tries to access this + mode before sending a command to the device. + [env var: ANTA_ENABLE] + -P, --prompt Prompt for passwords if they are not + provided. [env var: ANTA_PROMPT] + --timeout FLOAT Global API timeout. This value will be used + for all devices. [env var: ANTA_TIMEOUT; + default: 30.0] + --insecure Disable SSH Host Key validation. [env var: + ANTA_INSECURE] + --disable-cache Disable cache globally. [env var: + ANTA_DISABLE_CACHE] + -i, --inventory FILE Path to the inventory YAML file. [env var: + ANTA_INVENTORY; required] + --tags TEXT List of tags using comma as separator: + tag1,tag2,tag3. [env var: ANTA_TAGS] + -c, --catalog FILE Path to the test catalog YAML file [env + var: ANTA_CATALOG; required] + -d, --device TEXT Run tests on a specific device. Can be + provided multiple times. + -t, --test TEXT Run a specific test. Can be provided + multiple times. + --ignore-status Exit code will always be 0. [env var: + ANTA_NRFU_IGNORE_STATUS] + --ignore-error Exit code will be 0 if all tests succeeded + or 1 if any test failed. [env var: + ANTA_NRFU_IGNORE_ERROR] + --hide [success|failure|error|skipped] + Group result by test or device. + --help Show this message and exit. + +Commands: + json ANTA command to check network state with JSON result. + table ANTA command to check network states with table result. + text ANTA command to check network states with text result. + tpl-report ANTA command to check network state with templated report. |