.. _junos_get_table: junos_get_table - Retrieve data from a Junos device using Tables/Views ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ :Author: Jason Edelman (@jedelman8) .. contents:: :local: :depth: 1 Synopsis -------- .. versionadded:: 1.9.0 Retrieve data from a Junos device using Tables/Views Options ------- .. raw:: html
parameter | required | default | choices | comments |
---|---|---|---|---|
file | no | None | YAML file that has the table specified in table parameter | |
host | yes | Set to {{ inventory_hostname }} | ||
logfile | no | None | Path on the local server where the progress status is logged for debugging purposes | |
mode | no | None | mode of console connection (telnet/serial). If mode is not provided SSH connection is used. | |
passwd | no | assumes ssh-key active | Login password | |
path | no | op directory in jnpr.junos.op | Path of location of the YAML file | |
port | no | 830 | port number to use when connecting to the device | |
response_type | no | list_of_dicts | Option to change how data is returned from the module. Either list of dictionaries or the Juniper PyEZ default (list of tuples, which becomes lists by the time it gets to Ansible) | |
ssh_private_key_file | no | None | This can be used if you need to provide a private key rather than loading the key into the ssh-key-ring/environment. if your ssh-key requires a password, then you must provide it via **passwd** | |
table | no | None | Name of PyEZ Table | |
user | no | $USER | Login username |