Debian Codegraph @

docs/snippets/anta_get_inventory_help.txt

raw
1 $ anta get inventory --help
2 Usage: anta get inventory [OPTIONS]
3
4 Show inventory loaded in ANTA.
5
6 Options:
7 -u, --username TEXT Username to connect to EOS [env var:
8 ANTA_USERNAME; required]
9 -p, --password TEXT Password to connect to EOS that must be
10 provided. It can be prompted using '--
11 prompt' option. [env var: ANTA_PASSWORD]
12 --enable-password TEXT Password to access EOS Privileged EXEC mode.
13 It can be prompted using '--prompt' option.
14 Requires '--enable' option. [env var:
15 ANTA_ENABLE_PASSWORD]
16 --enable Some commands may require EOS Privileged
17 EXEC mode. This option tries to access this
18 mode before sending a command to the device.
19 [env var: ANTA_ENABLE]
20 -P, --prompt Prompt for passwords if they are not
21 provided. [env var: ANTA_PROMPT]
22 --timeout FLOAT Global API timeout. This value will be used
23 for all devices. [env var: ANTA_TIMEOUT;
24 default: 30.0]
25 --insecure Disable SSH Host Key validation. [env var:
26 ANTA_INSECURE]
27 --disable-cache Disable cache globally. [env var:
28 ANTA_DISABLE_CACHE]
29 --use-session-auth / --no-session-auth
30 Enable or explicitly disable eAPI session
31 authentication globally. When unset, per-
32 device inventory values apply. [env var:
33 ANTA_USE_SESSION_AUTH]
34 -i, --inventory FILE Path to the inventory YAML file. [env var:
35 ANTA_INVENTORY; required]
36 --inventory-format [yaml|json] Format of the inventory file, either 'yaml'
37 or 'json' [env var: ANTA_INVENTORY_FORMAT]
38 --tags TEXT List of tags using comma as separator:
39 tag1,tag2,tag3. [env var: ANTA_TAGS]
40 --connected / --not-connected Display inventory after connection has been
41 created
42 --help Show this message and exit.