saltstack / salt

Software to automate the management and configuration of any infrastructure or application at scale. Install Salt from the Salt package repositories here:
https://docs.saltproject.io/salt/install-guide/en/latest/
Apache License 2.0
14.23k stars 5.49k forks source link

[BUG] Textfsm.index / net.cli textfsm_path not working #58499

Closed network-shark closed 3 years ago

network-shark commented 4 years ago

Description

salt '*' textfsm.index 'sh ver' textfsm_path=salt://templates/

This command should automatically lookup the index file inside salt://templates/ folder to find the correct Textfsm template.

This lookup does not happen or is broken ?

When calling the template directly , parsing works, but the goal of the index file is exactly not to memorize the name of the template.

salt '*' net.cli "sh ip int br" textfsm_parse=true textfsm_template=salt://templates/cisco_ios_show_ip_interface_brief.textfsm

Setup

git clone https://github.com/networktocode/ntc-templates

Steps to Reproduce the behavior


╰─ salt '*' net.cli "sh ip int br" textfsm_parse=true  textfsm_path=salt://templates/
r1:
    ----------
    comment:
        Unable to process the output from sh ip int br: TextFSM does not seem that has clitable embedded..
    out:
        ----------
        sh ip int br:
            Interface                  IP-Address      OK? Method Status                Protocol
            GigabitEthernet0/0         172.16.173.136  YES DHCP   up                    up
            GigabitEthernet0/1         172.16.0.2      YES NVRAM  up                    up
            GigabitEthernet0/2         172.17.0.2      YES NVRAM  down                  down
            GigabitEthernet0/3         unassigned      YES NVRAM  administratively down down
    result:
        True

[DEBUG   ] textfsm_path: salt://templates/
[DEBUG   ] TextFSM command-template mapping: {}
[DEBUG   ] index_file: None
[DEBUG   ] platform_grain_name: os
[DEBUG   ] platform_column_name: Platform
[DEBUG   ] Starting to analyse the raw outputs
[DEBUG   ] Output from command: sh ip int br
[DEBUG   ] Interface                  IP-Address      OK? Method Status                Protocol
GigabitEthernet0/0         172.16.173.136  YES DHCP   up                    up
GigabitEthernet0/1         172.16.0.2      YES NVRAM  up                    up
GigabitEthernet0/2         172.17.0.2      YES NVRAM  down                  down
GigabitEthernet0/3         unassigned      YES NVRAM  administratively down down
[DEBUG   ] Using the templates under salt://templates/
[ERROR   ] TextFSM does not seem that has clitable embedded.
[DEBUG   ] Processed CLI output:
[DEBUG   ] {'out': None, 'result': False, 'comment': 'TextFSM does not seem that has clitable embedded.'}
[DEBUG   ] Apparently this did not work, returning the raw output
[ERROR   ]
Unable to process the output from sh ip int br: TextFSM does not seem that has clitable embedded..

salt '*' net.cli "sh ip int br" textfsm_parse=true textfsm_template=salt://templates/cisco_ios_show_ip_interface_brief.textfsm
r1:
    ----------
    comment:
    out:
        ----------
        sh ip int br:
            |_
              ----------
              intf:
                  GigabitEthernet0/0
              ipaddr:
                  172.16.173.136
              proto:
                  up
              status:
                  up
            |_
              ----------
              intf:
                  GigabitEthernet0/1
              ipaddr:
                  172.16.0.2
              proto:
                  up
              status:
                  up
            |_
              ----------
              intf:
                  GigabitEthernet0/2
              ipaddr:
                  172.17.0.2
              proto:
                  down
              status:
                  down
            |_
              ----------
              intf:
                  GigabitEthernet0/3
              ipaddr:
                  unassigned
              proto:
                  down
              status:
                  administratively down
    result:
        True

DEBUG   ] Using salt://templates/cisco_ios_show_ip_interface_brief.textfsm to process the command: sh ip int br
[DEBUG   ] Using the saltenv: base
[DEBUG   ] Caching salt://templates/cisco_ios_show_ip_interface_brief.textfsm using the Salt fileserver
[DEBUG   ] Initializing new AsyncZeroMQReqChannel for ('/Users/sharky/python/salt/salt_proxy/pki/proxy', 'r1', 'tcp://127.0.0.1:4506', 'aes')
[DEBUG   ] Initializing new AsyncAuth for ('/Users/sharky/python/salt/salt_proxy/pki/proxy', 'r1', 'tcp://127.0.0.1:4506')
[DEBUG   ] Connecting the Minion to the Master URI (for the return server): tcp://127.0.0.1:4506
[DEBUG   ] Trying to connect to: tcp://127.0.0.1:4506
[DEBUG   ] In saltenv 'base', looking at rel_path 'templates/cisco_ios_show_ip_interface_brief.textfsm' to resolve 'salt://templates/cisco_ios_show_ip_interface_brief.textfsm'
[DEBUG   ] In saltenv 'base', ** considering ** path '/Users/sharky/python/salt/salt_proxy/var/cache/salt/proxy/r1/files/base/templates/cisco_ios_show_ip_interface_brief.textfsm' to resolve 'salt://templates/cisco_ios_show_ip_interf
ace_brief.textfsm'
[DEBUG   ] Reading TextFSM template from cache path: /Users/sharky/python/salt/salt_proxy/var/cache/salt/proxy/r1/files/base/templates/cisco_ios_show_ip_interface_brief.textfsm
[DEBUG   ] Value INTF (\S+)
Value IPADDR (\S+)
Value STATUS (up|down|administratively down)
Value PROTO (up|down)
Value IPADDR (\S+)
Value STATUS (up|down|administratively down)
Value PROTO (up|down)

Start
  ^${INTF}\s+${IPADDR}\s+\w+\s+\w+\s+${STATUS}\s+${PROTO} -> Record
  # Capture time-stamp if vty line has command time-stamping turned on
  ^Load\s+for\s+
  ^Time\s+source\s+is

[DEBUG   ] Processing the raw text:
[DEBUG   ] Interface                  IP-Address      OK? Method Status                Protocol
GigabitEthernet0/0         172.16.173.136  YES DHCP   up                    up
GigabitEthernet0/1         172.16.0.2      YES NVRAM  up                    up
GigabitEthernet0/2         172.17.0.2      YES NVRAM  down                  down
GigabitEthernet0/3         unassigned      YES NVRAM  administratively down down
[DEBUG   ] Cli Table:
[DEBUG   ] [['GigabitEthernet0/0', '172.16.173.136', 'up', 'up'], ['GigabitEthernet0/1', '172.16.0.2', 'up', 'up'], ['GigabitEthernet0/2', '172.17.0.2', 'down', 'down'], ['GigabitEthernet0/3', 'unassigned', 'administratively down', 'down']]
[DEBUG   ] FSM handler:
[DEBUG   ] Value INTF (\S+)
Value IPADDR (\S+)
Value STATUS (up|down|administratively down)
Value PROTO (up|down)

Start
  ^${INTF}\s+${IPADDR}\s+\w+\s+\w+\s+${STATUS}\s+${PROTO} -> Record
  ^Load\s+for\s+
  ^Time\s+source\s+is

[DEBUG   ] Extraction result:
[DEBUG   ] [{'intf': 'GigabitEthernet0/0', 'ipaddr': '172.16.173.136', 'status': 'up', 'proto': 'up'}, {'intf': 'GigabitEthernet0/1', 'ipaddr': '172.16.0.2', 'status': 'up', 'proto': 'up'}, {'intf': 'GigabitEthernet0/2', 'ipaddr': '172.17.0.2', 'status': 'down', 'proto': 'down'}, {'intf': 'GigabitEthernet0/3', 'ipaddr': 'unassigned', 'status': 'administratively down', 'proto': 'down'}]
[DEBUG   ] Processed CLI output:
[DEBUG   ] {'result': True, 'comment': '', 'out': [{'intf': 'GigabitEthernet0/0', 'ipaddr': '172.16.173.136', 'status': 'up', 'proto': 'up'}, {'intf': 'GigabitEthernet0/1', 'ipaddr': '172.16.0.2', 'status': 'up', 'proto': 'up'}, {'intf': 'GigabitEthernet0/2', 'ipaddr': '172.17.0.2', 'status': 'down', 'proto': 'down'}, {'intf': 'GigabitEthernet0/3', 'ipaddr': 'unassigned', 'status': 'administratively down', 'proto': 'down'}]}
[DEBUG   ] All good, sh ip int br has a nice output!
[DEBUG   ] Minion return retry timer set to 8 seconds (randomized)

Expected behavior A clear and concise description of what you expected to happen.

Versions Report

─ salt -V
Salt Version:
           Salt: 3001.1

Dependency Versions:
           cffi: 1.12.2
       cherrypy: unknown
       dateutil: 2.8.0
      docker-py: Not Installed
          gitdb: 2.0.6
      gitpython: 2.1.15
         Jinja2: 2.10.1
        libgit2: Not Installed
       M2Crypto: Not Installed
           Mako: 1.0.7
   msgpack-pure: Not Installed
 msgpack-python: 1.0.0
   mysql-python: Not Installed
      pycparser: 2.19
       pycrypto: Not Installed
   pycryptodome: 3.9.7
         pygit2: Not Installed
         Python: 3.6.8 (default, Nov  8 2019, 21:16:45)
   python-gnupg: 0.4.4
         PyYAML: 5.3.1
          PyZMQ: 18.0.1
          smmap: 3.0.4
        timelib: 0.2.4
        Tornado: 4.5.3
            ZMQ: 4.3.1

System Versions:
           dist: darwin 19.6.0
         locale: UTF-8
        machine: x86_64
        release: 19.6.0
         system: Darwin
        version: 10.15.6 x86_64
dmurphy18 commented 4 years ago

@network-shark What version of textfsm are you using ?, presuming it is pip installed

dmurphy18 commented 4 years ago

@network-shark Also wondering about the error

[ERROR   ] TextFSM does not seem that has clitable embedded.

Is there something that should have been also installed and is not.

network-shark commented 4 years ago

@dmurphy18

I don't know what clitable does... but it seems related to Textfsm / jtextfsm

─ pip uninstall textfsm
Uninstalling textfsm-1.1.0:
  Would remove:
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/testdata/clitable_templateA
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/testdata/clitable_templateB
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/testdata/clitable_templateC
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/testdata/clitable_templateD
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/testdata/default_index
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/testdata/nondefault_index
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/testdata/parseindex_index
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/testdata/parseindexfail1_index
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/testdata/parseindexfail2_index
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/testdata/parseindexfail3_index
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/textfsm-1.1.0.dist-info/*
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/textfsm/*
╰─ pip uninstall jtextfsm
Uninstalling jtextfsm-0.3.1:
  Would remove:
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/clitable.py
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/copyable_regex_object.py
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/jtextfsm-0.3.1.dist-info/*
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/jtextfsm.py
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/textfsm.py
    /Users/sharky/.pyenv/versions/3.6.8/envs/isalt/lib/python3.6/site-packages/texttable.py
Proceed (y/n)? ^COperation cancelled by user

I switched to jtextfsm , but the problem is the same....

 pip list | grep textfsm
jtextfsm                                          0.3.1
salt '*' net.cli "show ip int brief" textfsm_parse=true  textfsm_path=salt://templates/
r1:
    ----------
    comment:
        Unable to process the output from show ip int brief: TextFSM does not seem that has clitable embedded..
    out:
        ----------
        show ip int brief:
            Interface                  IP-Address      OK? Method Status                Protocol
            GigabitEthernet0/0         172.16.173.136  YES DHCP   up                    up
            GigabitEthernet0/1         172.16.0.2      YES NVRAM  up                    up
            GigabitEthernet0/2         1.1.1.1         YES manual down                  down
            GigabitEthernet0/3         unassigned      YES NVRAM  administratively down down
    result:
        True

 OSX  sharkys-mbp  sharky  ~/python/salt/salt_proxy  isalt                                                                                                                                                                                        10355
╰─ salt-run fileserver.file_list
- alcatel_aos_show_vlan.textfsm
- alcatel_sros_oam_mac-ping.textfsm
- alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm
- alcatel_sros_show_service_id_base.textfsm
- arista_eos_bash_df_-h.textfsm
- arista_eos_dir_flash.textfsm
- arista_eos_show_boot-config.textfsm
- arista_eos_show_clock.textfsm
- arista_eos_show_environment_cooling.textfsm
- arista_eos_show_environment_temperature.textfsm
- arista_eos_show_hostname.textfsm
- arista_eos_show_interfaces.textfsm
- arista_eos_show_interfaces_status.textfsm
- arista_eos_show_interfaces_transceiver.textfsm
- arista_eos_show_interfaces_transceiver_detail.textfsm
- arista_eos_show_inventory.textfsm
- arista_eos_show_ip_access-lists.textfsm
- arista_eos_show_ip_arp.textfsm
- arista_eos_show_ip_bgp.textfsm
- arista_eos_show_ip_bgp_summary.textfsm
- arista_eos_show_ip_helper-address.textfsm
- arista_eos_show_ip_interface_brief.textfsm
- arista_eos_show_ip_ospf_database.textfsm
- arista_eos_show_ip_ospf_neighbor.textfsm
- arista_eos_show_ip_route.textfsm
- arista_eos_show_isis_neighbors.textfsm
- arista_eos_show_lldp_neighbors.textfsm
- arista_eos_show_lldp_neighbors_detail.textfsm
- arista_eos_show_mac_address-table.textfsm
- arista_eos_show_mac_security_interface.textfsm
- arista_eos_show_mac_security_mka_counters.textfsm
- arista_eos_show_mac_security_participants_detail.textfsm
- arista_eos_show_mlag.textfsm
- arista_eos_show_module.textfsm
- arista_eos_show_reload_cause.textfsm
- arista_eos_show_snmp_community.textfsm
- arista_eos_show_version.textfsm
- arista_eos_show_vlan.textfsm
- arista_eos_show_vrf.textfsm
- aruba_os_show_arp.textfsm
- aruba_os_show_ip_interface_brief.textfsm
- aruba_os_show_ipv6_interface_brief.textfsm
- avaya_ers_show_interface_name.textfsm
- avaya_ers_show_logging_config.textfsm
- avaya_ers_show_mac-address-table.textfsm
- avaya_ers_show_mlt.textfsm
- avaya_ers_show_mlt_all-members.textfsm
- avaya_ers_show_sys-info.textfsm
- avaya_ers_show_vlan.textfsm
- avaya_vsp_show_software.textfsm
- brocade_fastiron_show_arp.textfsm
- brocade_fastiron_show_interfaces.textfsm
- brocade_fastiron_show_interfaces_brief.textfsm
- brocade_fastiron_show_lag_brief.textfsm
- brocade_fastiron_show_lldp_neighbors.textfsm
- brocade_fastiron_show_lldp_neighbors_detail.textfsm
- brocade_fastiron_show_mac-address.textfsm
- brocade_fastiron_show_metro.textfsm
- brocade_fastiron_show_monitor.textfsm
- brocade_fastiron_show_running-config_vlan.textfsm
- brocade_fastiron_show_span.textfsm
- brocade_fastiron_show_topo.textfsm
- brocade_fastiron_show_trunk.textfsm
- brocade_fastiron_show_version.textfsm
- brocade_netiron_show_interfaces.textfsm
- brocade_netiron_show_interfaces_brief.textfsm
- brocade_netiron_show_lag_brief.textfsm
- brocade_netiron_show_lldp_neighbors_detail.textfsm
- brocade_netiron_show_metro.textfsm
- brocade_netiron_show_monitor_actual.textfsm
- brocade_netiron_show_running-config_interface.textfsm
- brocade_netiron_show_running-config_vlan.textfsm
- brocade_netiron_show_span.textfsm
- brocade_netiron_show_topo.textfsm
- checkpoint_gaia_fw_stat.textfsm
- checkpoint_gaia_show_arp_dynamic_all.textfsm
- checkpoint_gaia_show_asset_all.textfsm
- checkpoint_gaia_show_dns.textfsm
- checkpoint_gaia_show_domainname.textfsm
- checkpoint_gaia_show_interfaces_all.textfsm
- checkpoint_gaia_show_ipv6_route.textfsm
- checkpoint_gaia_show_lom.textfsm
- checkpoint_gaia_show_ntp_servers.textfsm
- checkpoint_gaia_show_route.textfsm
- checkpoint_gaia_show_version_all.textfsm
- ciena_saos_chassis_show_temperature.textfsm
- ciena_saos_port_show.textfsm
- ciena_saos_rstp_show.textfsm
- ciena_saos_software_show.textfsm
- ciena_saos_ssh_server_show_key.textfsm
- ciena_saos_vlan_show.textfsm
- cisco_asa_dir.textfsm
- cisco_asa_ping.textfsm
- cisco_asa_show_access-list.textfsm
- cisco_asa_show_arp.textfsm
- cisco_asa_show_asp_drop.textfsm
- cisco_asa_show_asp_table_vpn-context_detail.textfsm
- cisco_asa_show_bgp_summary.textfsm
- cisco_asa_show_crypto_ikev1_sa_detail.textfsm
- cisco_asa_show_crypto_ipsec_sa.textfsm
- cisco_asa_show_failover.textfsm
- cisco_asa_show_interface.textfsm
- cisco_asa_show_interface_detail.textfsm
- cisco_asa_show_inventory.textfsm
- cisco_asa_show_license_all.textfsm
- cisco_asa_show_logging.textfsm
- cisco_asa_show_name.textfsm
- cisco_asa_show_nat.textfsm
- cisco_asa_show_object-group_network.textfsm
- cisco_asa_show_resource_usage.textfsm
- cisco_asa_show_route.textfsm
- cisco_asa_show_running-config_crypto_ikev1.textfsm
- cisco_asa_show_running-config_crypto_map.textfsm
- cisco_asa_show_running-config_ipsec.textfsm
- cisco_asa_show_running-config_object_network.textfsm
- cisco_asa_show_running-config_tunnel-group.textfsm
- cisco_asa_show_version.textfsm
- cisco_asa_show_vpn-sessiondb.textfsm
- cisco_asa_show_vpn-sessiondb_anyconnect.textfsm
- cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm
- cisco_asa_show_xlate.textfsm
- cisco_ios_dir.textfsm
- cisco_ios_show_access-list.textfsm
- cisco_ios_show_adjacency.textfsm
- cisco_ios_show_aliases.textfsm
- cisco_ios_show_archive.textfsm
- cisco_ios_show_authentication_sessions.textfsm
- cisco_ios_show_boot.textfsm
- cisco_ios_show_capability_feature_routing.textfsm
- cisco_ios_show_cdp_neighbors.textfsm
- cisco_ios_show_cdp_neighbors_detail.textfsm
- cisco_ios_show_clock.textfsm
- cisco_ios_show_controller_t1.textfsm
- cisco_ios_show_dmvpn.textfsm
- cisco_ios_show_dot1x_all.textfsm
- cisco_ios_show_environment_power_all.textfsm
- cisco_ios_show_environment_temperature.textfsm
- cisco_ios_show_etherchannel_summary.textfsm
- cisco_ios_show_hosts_summary.textfsm
- cisco_ios_show_interface_transceiver.textfsm
- cisco_ios_show_interfaces.textfsm
- cisco_ios_show_interfaces_description.textfsm
- cisco_ios_show_interfaces_status.textfsm
- cisco_ios_show_interfaces_switchport.textfsm
- cisco_ios_show_inventory.textfsm
- cisco_ios_show_ip_access-lists.textfsm
- cisco_ios_show_ip_arp.textfsm
- cisco_ios_show_ip_bgp.textfsm
- cisco_ios_show_ip_bgp_neighbors.textfsm
- cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm
- cisco_ios_show_ip_bgp_summary.textfsm
- cisco_ios_show_ip_cef.textfsm
- cisco_ios_show_ip_cef_detail.textfsm
- cisco_ios_show_ip_device_tracking_all.textfsm
- cisco_ios_show_ip_eigrp_neighbors.textfsm
- cisco_ios_show_ip_eigrp_topology.textfsm
- cisco_ios_show_ip_flow_toptalkers.textfsm
- cisco_ios_show_ip_interface.textfsm
- cisco_ios_show_ip_interface_brief.textfsm
- cisco_ios_show_ip_mroute.textfsm
- cisco_ios_show_ip_ospf_database.textfsm
- cisco_ios_show_ip_ospf_database_network.textfsm
- cisco_ios_show_ip_ospf_database_router.textfsm
- cisco_ios_show_ip_ospf_interface_brief.textfsm
- cisco_ios_show_ip_ospf_neighbor.textfsm
- cisco_ios_show_ip_prefix-list.textfsm
- cisco_ios_show_ip_route.textfsm
- cisco_ios_show_ip_route_summary.textfsm
- cisco_ios_show_ip_source_binding.textfsm
- cisco_ios_show_ip_vrf_interfaces.textfsm
- cisco_ios_show_ipv6_interface_brief.textfsm
- cisco_ios_show_ipv6_neighbors.textfsm
- cisco_ios_show_isdn_status.textfsm
- cisco_ios_show_isis_neighbors.textfsm
- cisco_ios_show_license.textfsm
- cisco_ios_show_lldp_neighbors.textfsm
- cisco_ios_show_lldp_neighbors_detail.textfsm
- cisco_ios_show_logging.textfsm
- cisco_ios_show_mac-address-table.textfsm
- cisco_ios_show_module.textfsm
- cisco_ios_show_module_online_diag.textfsm
- cisco_ios_show_module_status.textfsm
- cisco_ios_show_module_submodule.textfsm
- cisco_ios_show_mpls_interfaces.textfsm
- cisco_ios_show_platform_diag.textfsm
- cisco_ios_show_power_available.textfsm
- cisco_ios_show_power_status.textfsm
- cisco_ios_show_power_supplies.textfsm
- cisco_ios_show_processes_cpu.textfsm
- cisco_ios_show_processes_memory_sorted.textfsm
- cisco_ios_show_redundancy.textfsm
- cisco_ios_show_route-map.textfsm
- cisco_ios_show_running-config_partition_access-list.textfsm
- cisco_ios_show_running-config_partition_route-map.textfsm
- cisco_ios_show_snmp_community.textfsm
- cisco_ios_show_snmp_user.textfsm
- cisco_ios_show_spanning-tree.textfsm
- cisco_ios_show_standby.textfsm
- cisco_ios_show_standby_brief.textfsm
- cisco_ios_show_switch_detail.textfsm
- cisco_ios_show_switch_detail_stack_ports.textfsm
- cisco_ios_show_tacacs.textfsm
- cisco_ios_show_version.textfsm
- cisco_ios_show_vlan.textfsm
- cisco_ios_show_vrf.textfsm
- cisco_ios_show_vtp_status.textfsm
- cisco_ios_traceroute.textfsm
- cisco_nxos_show_access-lists.textfsm
- cisco_nxos_show_cdp_neighbors.textfsm
- cisco_nxos_show_cdp_neighbors_detail.textfsm
- cisco_nxos_show_clock.textfsm
- cisco_nxos_show_configuration_session_summary.textfsm
- cisco_nxos_show_cts_interface_all.textfsm
- cisco_nxos_show_cts_interface_brief.textfsm
- cisco_nxos_show_environment_temperature.textfsm
- cisco_nxos_show_environments.textfsm
- cisco_nxos_show_feature.textfsm
- cisco_nxos_show_fex.textfsm
- cisco_nxos_show_fex_id.textfsm
- cisco_nxos_show_flogi_database.textfsm
- cisco_nxos_show_forwarding_ipv4_route.textfsm
- cisco_nxos_show_hostname.textfsm
- cisco_nxos_show_interface.textfsm
- cisco_nxos_show_interface_brief.textfsm
- cisco_nxos_show_interface_status.textfsm
- cisco_nxos_show_interface_transceiver.textfsm
- cisco_nxos_show_interface_transceiver_details.textfsm
- cisco_nxos_show_interfaces_switchport.textfsm
- cisco_nxos_show_inventory.textfsm
- cisco_nxos_show_ip_adjacency.textfsm
- cisco_nxos_show_ip_arp.textfsm
- cisco_nxos_show_ip_arp_detail.textfsm
- cisco_nxos_show_ip_bgp.textfsm
- cisco_nxos_show_ip_bgp_neighbors.textfsm
- cisco_nxos_show_ip_bgp_summary.textfsm
- cisco_nxos_show_ip_bgp_summary_vrf.textfsm
- cisco_nxos_show_ip_community-list.textfsm
- cisco_nxos_show_ip_dhcp_relay_address.textfsm
- cisco_nxos_show_ip_interface_brief.textfsm
- cisco_nxos_show_ip_ospf_database.textfsm
- cisco_nxos_show_ip_ospf_neighbor.textfsm
- cisco_nxos_show_ip_route.textfsm
- cisco_nxos_show_ipv6_interface_brief.textfsm
- cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm
- cisco_nxos_show_lldp_neighbors.textfsm
- cisco_nxos_show_lldp_neighbors_detail.textfsm
- cisco_nxos_show_mac_address-table.textfsm
- cisco_nxos_show_module.textfsm
- cisco_nxos_show_port-channel_summary.textfsm
- cisco_nxos_show_processes_cpu.textfsm
- cisco_nxos_show_route-map.textfsm
- cisco_nxos_show_vdc.textfsm
- cisco_nxos_show_version.textfsm
- cisco_nxos_show_vlan.textfsm
- cisco_nxos_show_vpc.textfsm
- cisco_nxos_show_vrf.textfsm
- cisco_nxos_show_vrf_interface.textfsm
- cisco_s300_show_interfaces_status.textfsm
- cisco_s300_show_lldp_neighbors.textfsm
- cisco_s300_show_mac_address-table.textfsm
- cisco_s300_show_version.textfsm
- cisco_wlc_ssh_show_802.11a.textfsm
- cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm
- cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm
- cisco_wlc_ssh_show_ap_config_general.textfsm
- cisco_wlc_ssh_show_ap_summary.textfsm
- cisco_wlc_ssh_show_band-select.textfsm
- cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm
- cisco_wlc_ssh_show_client_detail.textfsm
- cisco_wlc_ssh_show_exclusionlist.textfsm
- cisco_wlc_ssh_show_interface_summary.textfsm
- cisco_wlc_ssh_show_inventory.textfsm
- cisco_wlc_ssh_show_mobility_sum.textfsm
- cisco_wlc_ssh_show_rf-profile_summary.textfsm
- cisco_wlc_ssh_show_sysinfo.textfsm
- cisco_wlc_ssh_show_wlan_sum.textfsm
- cisco_xr_admin_show_controller_fabric_health.textfsm
- cisco_xr_admin_show_environment_fan.textfsm
- cisco_xr_admin_show_environment_power.textfsm
- cisco_xr_admin_show_inventory.textfsm
- cisco_xr_admin_show_platform.textfsm
- cisco_xr_admin_show_vm.textfsm
- cisco_xr_show_arp.textfsm
- cisco_xr_show_asic-errors_all_location.textfsm
- cisco_xr_show_bfd_sessions.textfsm
- cisco_xr_show_bgp.textfsm
- cisco_xr_show_bgp_neighbors.textfsm
- cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.textfsm
- cisco_xr_show_cdp_neighbors_detail.textfsm
- cisco_xr_show_cef_drops_location.textfsm
- cisco_xr_show_configuration_commit_list.textfsm
- cisco_xr_show_controller_fabric_plane_all.textfsm
- cisco_xr_show_controllers_HundredGigabitEthernet.textfsm
- cisco_xr_show_controllers_all_phy.textfsm
- cisco_xr_show_controllers_fabric_fia_drops_egress_location.textfsm
- cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm
- cisco_xr_show_controllers_fabric_fia_errors_egress_location.textfsm
- cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm
- cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm
- cisco_xr_show_drops_np_all.textfsm
- cisco_xr_show_hsrp.textfsm
- cisco_xr_show_interface_brief.textfsm
- cisco_xr_show_interfaces.textfsm
- cisco_xr_show_interfaces_summary.textfsm
- cisco_xr_show_ip_bgp_summary.textfsm
- cisco_xr_show_ip_interface_brief.textfsm
- cisco_xr_show_ip_route.textfsm
- cisco_xr_show_ipv6_neighbors.textfsm
- cisco_xr_show_isis_neighbors.textfsm
- cisco_xr_show_lldp_neighbors.textfsm
- cisco_xr_show_lpts_pifib_hardware_police_location.textfsm
- cisco_xr_show_mpls_ldp_neighbor_brief.textfsm
- cisco_xr_show_ospf_neighbor.textfsm
- cisco_xr_show_pim_neighbor.textfsm
- cisco_xr_show_processes_cpu.textfsm
- cisco_xr_show_redundancy_summary.textfsm
- cisco_xr_show_rsvp_neighbors.textfsm
- cisco_xr_show_version.textfsm
- dell_force10_show_arp.textfsm
- dell_force10_show_version.textfsm
- dell_force10_show_vlan.textfsm
- dell_force10_show_vlan_brief.textfsm
- fortinet_fortios_get_router_info_bgp_summary.textfsm
- fortinet_fortios_get_system_interface.textfsm
- fortinet_fortios_get_system_status.textfsm
- hp_comware_display_arp.textfsm
- hp_comware_display_clock.textfsm
- hp_comware_display_counters_bound_interface.textfsm
- hp_comware_display_device_manuinfo.textfsm
- hp_comware_display_ip_interface.textfsm
- hp_comware_display_ip_routing-table.textfsm
- hp_comware_display_lldp_neighbor-information_verbose.textfsm
- hp_comware_display_mac-address.textfsm
- hp_comware_display_vlan_brief.textfsm
- hp_procurve_show_arp.textfsm
- hp_procurve_show_lldp_info_remote-device.textfsm
- hp_procurve_show_lldp_info_remote-device_detail.textfsm
- hp_procurve_show_mac-address.textfsm
- hp_procurve_show_system.textfsm
- hp_procurve_show_tech_buffers.textfsm
- hp_procurve_show_trunks.textfsm
- hp_procurve_show_vlans.textfsm
- huawei_vrp_display_interface_brief.textfsm
- huawei_vrp_display_lldp_neighbor.textfsm
- huawei_vrp_display_temperature.textfsm
- huawei_vrp_display_version.textfsm
- index
- index_
- index_file
- index_testing
- juniper_junos_show_arp_no-resolve.textfsm
- juniper_junos_show_chassis_cluster_interfaces.textfsm
- juniper_junos_show_chassis_cluster_status.textfsm
- juniper_junos_show_chassis_firmware.textfsm
- juniper_junos_show_ethernet-switching_table.textfsm
- juniper_junos_show_interfaces.textfsm
- juniper_junos_show_isis_adjacency.textfsm
- juniper_junos_show_lacp_interfaces.textfsm
- juniper_junos_show_ospf_neighbor.textfsm
- juniper_junos_show_version.textfsm
- juniper_screenos_get_route.textfsm
- paloalto_panos_debug_swm_status.textfsm
- paloalto_panos_show_arp_all.textfsm
- paloalto_panos_show_counter_global.textfsm
- paloalto_panos_show_high-availability_all.textfsm
- paloalto_panos_show_interface_hardware.textfsm
- paloalto_panos_show_interface_logical.textfsm
- paloalto_panos_show_interface_management.textfsm
- paloalto_panos_show_jobs_all.textfsm
- paloalto_panos_show_mac_all.textfsm
- paloalto_panos_show_running_nat-policy.textfsm
- paloalto_panos_show_running_security-policy.textfsm
- paloalto_panos_show_system_info.textfsm
- ruckus_fastiron_show_arp.textfsm
- templates/alcatel_aos_show_vlan.textfsm
- templates/alcatel_sros_oam_mac-ping.textfsm
- templates/alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm
- templates/alcatel_sros_show_service_id_base.textfsm
- templates/arista_eos_bash_df_-h.textfsm
- templates/arista_eos_dir_flash.textfsm
- templates/arista_eos_show_boot-config.textfsm
- templates/arista_eos_show_clock.textfsm
- templates/arista_eos_show_environment_cooling.textfsm
- templates/arista_eos_show_environment_temperature.textfsm
- templates/arista_eos_show_hostname.textfsm
- templates/arista_eos_show_interfaces.textfsm
- templates/arista_eos_show_interfaces_status.textfsm
- templates/arista_eos_show_interfaces_transceiver.textfsm
- templates/arista_eos_show_interfaces_transceiver_detail.textfsm
- templates/arista_eos_show_inventory.textfsm
- templates/arista_eos_show_ip_access-lists.textfsm
- templates/arista_eos_show_ip_arp.textfsm
- templates/arista_eos_show_ip_bgp.textfsm
- templates/arista_eos_show_ip_bgp_summary.textfsm
- templates/arista_eos_show_ip_helper-address.textfsm
- templates/arista_eos_show_ip_interface_brief.textfsm
- templates/arista_eos_show_ip_ospf_database.textfsm
- templates/arista_eos_show_ip_ospf_neighbor.textfsm
- templates/arista_eos_show_ip_route.textfsm
- templates/arista_eos_show_isis_neighbors.textfsm
- templates/arista_eos_show_lldp_neighbors.textfsm
- templates/arista_eos_show_lldp_neighbors_detail.textfsm
- templates/arista_eos_show_mac_address-table.textfsm
- templates/arista_eos_show_mac_security_interface.textfsm
- templates/arista_eos_show_mac_security_mka_counters.textfsm
- templates/arista_eos_show_mac_security_participants_detail.textfsm
- templates/arista_eos_show_mlag.textfsm
- templates/arista_eos_show_module.textfsm
- templates/arista_eos_show_reload_cause.textfsm
- templates/arista_eos_show_snmp_community.textfsm
- templates/arista_eos_show_version.textfsm
- templates/arista_eos_show_vlan.textfsm
- templates/arista_eos_show_vrf.textfsm
- templates/aruba_os_show_arp.textfsm
- templates/aruba_os_show_ip_interface_brief.textfsm
- templates/aruba_os_show_ipv6_interface_brief.textfsm
- templates/avaya_ers_show_interface_name.textfsm
- templates/avaya_ers_show_logging_config.textfsm
- templates/avaya_ers_show_mac-address-table.textfsm
- templates/avaya_ers_show_mlt.textfsm
- templates/avaya_ers_show_mlt_all-members.textfsm
- templates/avaya_ers_show_sys-info.textfsm
- templates/avaya_ers_show_vlan.textfsm
- templates/avaya_vsp_show_software.textfsm
- templates/brocade_fastiron_show_arp.textfsm
- templates/brocade_fastiron_show_interfaces.textfsm
- templates/brocade_fastiron_show_interfaces_brief.textfsm
- templates/brocade_fastiron_show_lag_brief.textfsm
- templates/brocade_fastiron_show_lldp_neighbors.textfsm
- templates/brocade_fastiron_show_lldp_neighbors_detail.textfsm
- templates/brocade_fastiron_show_mac-address.textfsm
- templates/brocade_fastiron_show_metro.textfsm
- templates/brocade_fastiron_show_monitor.textfsm
- templates/brocade_fastiron_show_running-config_vlan.textfsm
- templates/brocade_fastiron_show_span.textfsm
- templates/brocade_fastiron_show_topo.textfsm
- templates/brocade_fastiron_show_trunk.textfsm
- templates/brocade_fastiron_show_version.textfsm
- templates/brocade_netiron_show_interfaces.textfsm
- templates/brocade_netiron_show_interfaces_brief.textfsm
- templates/brocade_netiron_show_lag_brief.textfsm
- templates/brocade_netiron_show_lldp_neighbors_detail.textfsm
- templates/brocade_netiron_show_metro.textfsm
- templates/brocade_netiron_show_monitor_actual.textfsm
- templates/brocade_netiron_show_running-config_interface.textfsm
- templates/brocade_netiron_show_running-config_vlan.textfsm
- templates/brocade_netiron_show_span.textfsm
- templates/brocade_netiron_show_topo.textfsm
- templates/checkpoint_gaia_fw_stat.textfsm
- templates/checkpoint_gaia_show_arp_dynamic_all.textfsm
- templates/checkpoint_gaia_show_asset_all.textfsm
- templates/checkpoint_gaia_show_dns.textfsm
- templates/checkpoint_gaia_show_domainname.textfsm
- templates/checkpoint_gaia_show_interfaces_all.textfsm
- templates/checkpoint_gaia_show_ipv6_route.textfsm
- templates/checkpoint_gaia_show_lom.textfsm
- templates/checkpoint_gaia_show_ntp_servers.textfsm
- templates/checkpoint_gaia_show_route.textfsm
- templates/checkpoint_gaia_show_version_all.textfsm
- templates/ciena_saos_chassis_show_temperature.textfsm
- templates/ciena_saos_port_show.textfsm
- templates/ciena_saos_rstp_show.textfsm
- templates/ciena_saos_software_show.textfsm
- templates/ciena_saos_ssh_server_show_key.textfsm
- templates/ciena_saos_vlan_show.textfsm
- templates/cisco_asa_dir.textfsm
- templates/cisco_asa_ping.textfsm
- templates/cisco_asa_show_access-list.textfsm
- templates/cisco_asa_show_arp.textfsm
- templates/cisco_asa_show_asp_drop.textfsm
- templates/cisco_asa_show_asp_table_vpn-context_detail.textfsm
- templates/cisco_asa_show_bgp_summary.textfsm
- templates/cisco_asa_show_crypto_ikev1_sa_detail.textfsm
- templates/cisco_asa_show_crypto_ipsec_sa.textfsm
- templates/cisco_asa_show_failover.textfsm
- templates/cisco_asa_show_interface.textfsm
- templates/cisco_asa_show_interface_detail.textfsm
- templates/cisco_asa_show_inventory.textfsm
- templates/cisco_asa_show_license_all.textfsm
- templates/cisco_asa_show_logging.textfsm
- templates/cisco_asa_show_name.textfsm
- templates/cisco_asa_show_nat.textfsm
- templates/cisco_asa_show_object-group_network.textfsm
- templates/cisco_asa_show_resource_usage.textfsm
- templates/cisco_asa_show_route.textfsm
- templates/cisco_asa_show_running-config_crypto_ikev1.textfsm
- templates/cisco_asa_show_running-config_crypto_map.textfsm
- templates/cisco_asa_show_running-config_ipsec.textfsm
- templates/cisco_asa_show_running-config_object_network.textfsm
- templates/cisco_asa_show_running-config_tunnel-group.textfsm
- templates/cisco_asa_show_version.textfsm
- templates/cisco_asa_show_vpn-sessiondb.textfsm
- templates/cisco_asa_show_vpn-sessiondb_anyconnect.textfsm
- templates/cisco_asa_show_vpn-sessiondb_detail_l2l.textfsm
- templates/cisco_asa_show_xlate.textfsm
- templates/cisco_ios_dir.textfsm
- templates/cisco_ios_show_access-list.textfsm
- templates/cisco_ios_show_adjacency.textfsm
- templates/cisco_ios_show_aliases.textfsm
- templates/cisco_ios_show_archive.textfsm
- templates/cisco_ios_show_authentication_sessions.textfsm
- templates/cisco_ios_show_boot.textfsm
- templates/cisco_ios_show_capability_feature_routing.textfsm
- templates/cisco_ios_show_cdp_neighbors.textfsm
- templates/cisco_ios_show_cdp_neighbors_detail.textfsm
- templates/cisco_ios_show_clock.textfsm
- templates/cisco_ios_show_controller_t1.textfsm
- templates/cisco_ios_show_dmvpn.textfsm
- templates/cisco_ios_show_dot1x_all.textfsm
- templates/cisco_ios_show_environment_power_all.textfsm
- templates/cisco_ios_show_environment_temperature.textfsm
- templates/cisco_ios_show_etherchannel_summary.textfsm
- templates/cisco_ios_show_hosts_summary.textfsm
- templates/cisco_ios_show_interface_transceiver.textfsm
- templates/cisco_ios_show_interfaces.textfsm
- templates/cisco_ios_show_interfaces_description.textfsm
- templates/cisco_ios_show_interfaces_status.textfsm
- templates/cisco_ios_show_interfaces_switchport.textfsm
- templates/cisco_ios_show_inventory.textfsm
- templates/cisco_ios_show_ip_access-lists.textfsm
- templates/cisco_ios_show_ip_arp.textfsm
- templates/cisco_ios_show_ip_bgp.textfsm
- templates/cisco_ios_show_ip_bgp_neighbors.textfsm
- templates/cisco_ios_show_ip_bgp_neighbors_advertised-routes.textfsm
- templates/cisco_ios_show_ip_bgp_summary.textfsm
- templates/cisco_ios_show_ip_cef.textfsm
- templates/cisco_ios_show_ip_cef_detail.textfsm
- templates/cisco_ios_show_ip_device_tracking_all.textfsm
- templates/cisco_ios_show_ip_eigrp_neighbors.textfsm
- templates/cisco_ios_show_ip_eigrp_topology.textfsm
- templates/cisco_ios_show_ip_flow_toptalkers.textfsm
- templates/cisco_ios_show_ip_interface.textfsm
- templates/cisco_ios_show_ip_interface_brief.textfsm
- templates/cisco_ios_show_ip_mroute.textfsm
- templates/cisco_ios_show_ip_ospf_database.textfsm
- templates/cisco_ios_show_ip_ospf_database_network.textfsm
- templates/cisco_ios_show_ip_ospf_database_router.textfsm
- templates/cisco_ios_show_ip_ospf_interface_brief.textfsm
- templates/cisco_ios_show_ip_ospf_neighbor.textfsm
- templates/cisco_ios_show_ip_prefix-list.textfsm
- templates/cisco_ios_show_ip_route.textfsm
- templates/cisco_ios_show_ip_route_summary.textfsm
- templates/cisco_ios_show_ip_source_binding.textfsm
- templates/cisco_ios_show_ip_vrf_interfaces.textfsm
- templates/cisco_ios_show_ipv6_interface_brief.textfsm
- templates/cisco_ios_show_ipv6_neighbors.textfsm
- templates/cisco_ios_show_isdn_status.textfsm
- templates/cisco_ios_show_isis_neighbors.textfsm
- templates/cisco_ios_show_license.textfsm
- templates/cisco_ios_show_lldp_neighbors.textfsm
- templates/cisco_ios_show_lldp_neighbors_detail.textfsm
- templates/cisco_ios_show_logging.textfsm
- templates/cisco_ios_show_mac-address-table.textfsm
- templates/cisco_ios_show_module.textfsm
- templates/cisco_ios_show_module_online_diag.textfsm
- templates/cisco_ios_show_module_status.textfsm
- templates/cisco_ios_show_module_submodule.textfsm
- templates/cisco_ios_show_mpls_interfaces.textfsm
- templates/cisco_ios_show_platform_diag.textfsm
- templates/cisco_ios_show_power_available.textfsm
- templates/cisco_ios_show_power_status.textfsm
- templates/cisco_ios_show_power_supplies.textfsm
- templates/cisco_ios_show_processes_cpu.textfsm
- templates/cisco_ios_show_processes_memory_sorted.textfsm
- templates/cisco_ios_show_redundancy.textfsm
- templates/cisco_ios_show_route-map.textfsm
- templates/cisco_ios_show_running-config_partition_access-list.textfsm
- templates/cisco_ios_show_running-config_partition_route-map.textfsm
- templates/cisco_ios_show_snmp_community.textfsm
- templates/cisco_ios_show_snmp_user.textfsm
- templates/cisco_ios_show_spanning-tree.textfsm
- templates/cisco_ios_show_standby.textfsm
- templates/cisco_ios_show_standby_brief.textfsm
- templates/cisco_ios_show_switch_detail.textfsm
- templates/cisco_ios_show_switch_detail_stack_ports.textfsm
- templates/cisco_ios_show_tacacs.textfsm
- templates/cisco_ios_show_version.textfsm
- templates/cisco_ios_show_vlan.textfsm
- templates/cisco_ios_show_vrf.textfsm
- templates/cisco_ios_show_vtp_status.textfsm
- templates/cisco_ios_traceroute.textfsm
- templates/cisco_nxos_show_access-lists.textfsm
- templates/cisco_nxos_show_cdp_neighbors.textfsm
- templates/cisco_nxos_show_cdp_neighbors_detail.textfsm
- templates/cisco_nxos_show_clock.textfsm
- templates/cisco_nxos_show_configuration_session_summary.textfsm
- templates/cisco_nxos_show_cts_interface_all.textfsm
- templates/cisco_nxos_show_cts_interface_brief.textfsm
- templates/cisco_nxos_show_environment_temperature.textfsm
- templates/cisco_nxos_show_environments.textfsm
- templates/cisco_nxos_show_feature.textfsm
- templates/cisco_nxos_show_fex.textfsm
- templates/cisco_nxos_show_fex_id.textfsm
- templates/cisco_nxos_show_flogi_database.textfsm
- templates/cisco_nxos_show_forwarding_ipv4_route.textfsm
- templates/cisco_nxos_show_hostname.textfsm
- templates/cisco_nxos_show_interface.textfsm
- templates/cisco_nxos_show_interface_brief.textfsm
- templates/cisco_nxos_show_interface_status.textfsm
- templates/cisco_nxos_show_interface_transceiver.textfsm
- templates/cisco_nxos_show_interface_transceiver_details.textfsm
- templates/cisco_nxos_show_interfaces_switchport.textfsm
- templates/cisco_nxos_show_inventory.textfsm
- templates/cisco_nxos_show_ip_adjacency.textfsm
- templates/cisco_nxos_show_ip_arp.textfsm
- templates/cisco_nxos_show_ip_arp_detail.textfsm
- templates/cisco_nxos_show_ip_bgp.textfsm
- templates/cisco_nxos_show_ip_bgp_neighbors.textfsm
- templates/cisco_nxos_show_ip_bgp_summary.textfsm
- templates/cisco_nxos_show_ip_bgp_summary_vrf.textfsm
- templates/cisco_nxos_show_ip_community-list.textfsm
- templates/cisco_nxos_show_ip_dhcp_relay_address.textfsm
- templates/cisco_nxos_show_ip_interface_brief.textfsm
- templates/cisco_nxos_show_ip_ospf_database.textfsm
- templates/cisco_nxos_show_ip_ospf_neighbor.textfsm
- templates/cisco_nxos_show_ip_route.textfsm
- templates/cisco_nxos_show_ipv6_interface_brief.textfsm
- templates/cisco_nxos_show_l2rib_internal_permanently-frozen-list.textfsm
- templates/cisco_nxos_show_lldp_neighbors.textfsm
- templates/cisco_nxos_show_lldp_neighbors_detail.textfsm
- templates/cisco_nxos_show_mac_address-table.textfsm
- templates/cisco_nxos_show_module.textfsm
- templates/cisco_nxos_show_port-channel_summary.textfsm
- templates/cisco_nxos_show_processes_cpu.textfsm
- templates/cisco_nxos_show_route-map.textfsm
- templates/cisco_nxos_show_vdc.textfsm
- templates/cisco_nxos_show_version.textfsm
- templates/cisco_nxos_show_vlan.textfsm
- templates/cisco_nxos_show_vpc.textfsm
- templates/cisco_nxos_show_vrf.textfsm
- templates/cisco_nxos_show_vrf_interface.textfsm
- templates/cisco_s300_show_interfaces_status.textfsm
- templates/cisco_s300_show_lldp_neighbors.textfsm
- templates/cisco_s300_show_mac_address-table.textfsm
- templates/cisco_s300_show_version.textfsm
- templates/cisco_wlc_ssh_show_802.11a.textfsm
- templates/cisco_wlc_ssh_show_802.11a_cleanair_config.textfsm
- templates/cisco_wlc_ssh_show_advanced_802.11a_channel.textfsm
- templates/cisco_wlc_ssh_show_ap_config_general.textfsm
- templates/cisco_wlc_ssh_show_ap_summary.textfsm
- templates/cisco_wlc_ssh_show_band-select.textfsm
- templates/cisco_wlc_ssh_show_cdp_neighbors_detail.textfsm
- templates/cisco_wlc_ssh_show_client_detail.textfsm
- templates/cisco_wlc_ssh_show_exclusionlist.textfsm
- templates/cisco_wlc_ssh_show_interface_summary.textfsm
- templates/cisco_wlc_ssh_show_inventory.textfsm
- templates/cisco_wlc_ssh_show_mobility_sum.textfsm
- templates/cisco_wlc_ssh_show_rf-profile_summary.textfsm
- templates/cisco_wlc_ssh_show_sysinfo.textfsm
- templates/cisco_wlc_ssh_show_wlan_sum.textfsm
- templates/cisco_xr_admin_show_controller_fabric_health.textfsm
- templates/cisco_xr_admin_show_environment_fan.textfsm
- templates/cisco_xr_admin_show_environment_power.textfsm
- templates/cisco_xr_admin_show_inventory.textfsm
- templates/cisco_xr_admin_show_platform.textfsm
- templates/cisco_xr_admin_show_vm.textfsm
- templates/cisco_xr_show_arp.textfsm
- templates/cisco_xr_show_asic-errors_all_location.textfsm
- templates/cisco_xr_show_bfd_sessions.textfsm
- templates/cisco_xr_show_bgp.textfsm
- templates/cisco_xr_show_bgp_neighbors.textfsm
- templates/cisco_xr_show_bgp_vrf_all_ipv4_unicast_summary.textfsm
- templates/cisco_xr_show_cdp_neighbors_detail.textfsm
- templates/cisco_xr_show_cef_drops_location.textfsm
- templates/cisco_xr_show_configuration_commit_list.textfsm
- templates/cisco_xr_show_controller_fabric_plane_all.textfsm
- templates/cisco_xr_show_controllers_HundredGigabitEthernet.textfsm
- templates/cisco_xr_show_controllers_all_phy.textfsm
- templates/cisco_xr_show_controllers_fabric_fia_drops_egress_location.textfsm
- templates/cisco_xr_show_controllers_fabric_fia_drops_ingress_location.textfsm
- templates/cisco_xr_show_controllers_fabric_fia_errors_egress_location.textfsm
- templates/cisco_xr_show_controllers_fabric_fia_errors_ingress_location.textfsm
- templates/cisco_xr_show_dhcp_ipv4_proxy_binding.textfsm
- templates/cisco_xr_show_drops_np_all.textfsm
- templates/cisco_xr_show_hsrp.textfsm
- templates/cisco_xr_show_interface_brief.textfsm
- templates/cisco_xr_show_interfaces.textfsm
- templates/cisco_xr_show_interfaces_summary.textfsm
- templates/cisco_xr_show_ip_bgp_summary.textfsm
- templates/cisco_xr_show_ip_interface_brief.textfsm
- templates/cisco_xr_show_ip_route.textfsm
- templates/cisco_xr_show_ipv6_neighbors.textfsm
- templates/cisco_xr_show_isis_neighbors.textfsm
- templates/cisco_xr_show_lldp_neighbors.textfsm
- templates/cisco_xr_show_lpts_pifib_hardware_police_location.textfsm
- templates/cisco_xr_show_mpls_ldp_neighbor_brief.textfsm
- templates/cisco_xr_show_ospf_neighbor.textfsm
- templates/cisco_xr_show_pim_neighbor.textfsm
- templates/cisco_xr_show_processes_cpu.textfsm
- templates/cisco_xr_show_redundancy_summary.textfsm
- templates/cisco_xr_show_rsvp_neighbors.textfsm
- templates/cisco_xr_show_version.textfsm
- templates/dell_force10_show_arp.textfsm
- templates/dell_force10_show_version.textfsm
- templates/dell_force10_show_vlan.textfsm
- templates/dell_force10_show_vlan_brief.textfsm
- templates/fortinet_fortios_get_router_info_bgp_summary.textfsm
- templates/fortinet_fortios_get_system_interface.textfsm
- templates/fortinet_fortios_get_system_status.textfsm
- templates/hp_comware_display_arp.textfsm
- templates/hp_comware_display_clock.textfsm
- templates/hp_comware_display_counters_bound_interface.textfsm
- templates/hp_comware_display_device_manuinfo.textfsm
- templates/hp_comware_display_ip_interface.textfsm
- templates/hp_comware_display_ip_routing-table.textfsm
- templates/hp_comware_display_lldp_neighbor-information_verbose.textfsm
- templates/hp_comware_display_mac-address.textfsm
- templates/hp_comware_display_vlan_brief.textfsm
- templates/hp_procurve_show_arp.textfsm
- templates/hp_procurve_show_lldp_info_remote-device.textfsm
- templates/hp_procurve_show_lldp_info_remote-device_detail.textfsm
- templates/hp_procurve_show_mac-address.textfsm
- templates/hp_procurve_show_system.textfsm
- templates/hp_procurve_show_tech_buffers.textfsm
- templates/hp_procurve_show_trunks.textfsm
- templates/hp_procurve_show_vlans.textfsm
- templates/huawei_vrp_display_interface_brief.textfsm
- templates/huawei_vrp_display_lldp_neighbor.textfsm
- templates/huawei_vrp_display_temperature.textfsm
- templates/huawei_vrp_display_version.textfsm
- templates/index
- templates/index_
- templates/index_file
- templates/index_testing
- templates/juniper_junos_show_arp_no-resolve.textfsm
- templates/juniper_junos_show_chassis_cluster_interfaces.textfsm
- templates/juniper_junos_show_chassis_cluster_status.textfsm
- templates/juniper_junos_show_chassis_firmware.textfsm
- templates/juniper_junos_show_ethernet-switching_table.textfsm
- templates/juniper_junos_show_interfaces.textfsm
- templates/juniper_junos_show_isis_adjacency.textfsm
- templates/juniper_junos_show_lacp_interfaces.textfsm
- templates/juniper_junos_show_ospf_neighbor.textfsm
- templates/juniper_junos_show_version.textfsm
- templates/juniper_screenos_get_route.textfsm
- templates/paloalto_panos_debug_swm_status.textfsm
- templates/paloalto_panos_show_arp_all.textfsm
- templates/paloalto_panos_show_counter_global.textfsm
- templates/paloalto_panos_show_high-availability_all.textfsm
- templates/paloalto_panos_show_interface_hardware.textfsm
- templates/paloalto_panos_show_interface_logical.textfsm
- templates/paloalto_panos_show_interface_management.textfsm
- templates/paloalto_panos_show_jobs_all.textfsm
- templates/paloalto_panos_show_mac_all.textfsm
- templates/paloalto_panos_show_running_nat-policy.textfsm
- templates/paloalto_panos_show_running_security-policy.textfsm
- templates/paloalto_panos_show_system_info.textfsm
- templates/ruckus_fastiron_show_arp.textfsm
- templates/ubiquiti_edgeswitch_show_arp.textfsm
- templates/ubiquiti_edgeswitch_show_vlan.textfsm
- templates/vmware_nsxv_show_ip_bgp_neighbors.textfsm
- templates/vmware_nsxv_show_ip_route.textfsm
- templates/vyatta_vyos_show_arp.textfsm
- templates/vyatta_vyos_show_interfaces.textfsm
- templates/watchguard_firebox_show_arp.textfsm
- top.sls
- ubiquiti_edgeswitch_show_arp.textfsm
- ubiquiti_edgeswitch_show_vlan.textfsm
- vmware_nsxv_show_ip_bgp_neighbors.textfsm
- vmware_nsxv_show_ip_route.textfsm
- vyatta_vyos_show_arp.textfsm
- vyatta_vyos_show_interfaces.textfsm
- watchguard_firebox_show_arp.textfsm
ScriptAutomate commented 4 years ago

For reference:

https://github.com/saltstack/salt/blob/570ed6ae42f4b824c78e758b2e7113a1589f9306/salt/modules/textfsm_mod.py#L35-L40

https://github.com/saltstack/salt/blob/570ed6ae42f4b824c78e758b2e7113a1589f9306/salt/modules/textfsm_mod.py#L392-L395

garethgreenaway commented 4 years ago

@network-shark Can you verify with a pip freeze that the Python library clitable is installed where you're attempting to run this module? This is a separate install from the textfsm library.

network-shark commented 4 years ago

Good point.

Clitable is not installed and I can't force to install it . It seems to be removed from pypi.

https://pypi.org/search/?q=clitable

From the textfsm docs I could find this information.

There are different ways to import clitable depending on textfsm version:

import clitable for version <= 0.4.1
from textfsm import clitable for version >= 1.1.0
See textfsm version: pip show textfsm.

Maybe we just have to add the import and remove the check for clitable ? @garethgreenaway @ScriptAutomate

garethgreenaway commented 4 years ago

Yup! Looks like we need to update the module to import from the updated place.

network-shark commented 4 years ago

🚀 🥳

Changed the following lines

#    import clitable
    from textfsm import clitable
─ salt 'r1' net.cli "show clock" textfsm_parse=true  textfsm_path=salt://templates/ index_file=index
r1:
    ----------
    comment:
    out:
        ----------
        show clock:
            |_
              ----------
              day:
                  3
              dayweek:
                  Tue
              month:
                  Nov
              time:
                  21:29:02.954
              timezone:
                  UTC
              year:
                  2020
    result:
        True
garethgreenaway commented 4 years ago

@network-shark Awesome!