s_eigrp_topology_to_csv

s_eigrp_topology_to_csv.script_main(session, ask_vrf=True, vrf=None)
SINGLE device script
Author: Jamie Caesar

This script will grab the EIGRP topology table from a Cisco IOS or NXOS device and export it as a CSV file.

Parameters:
  • session (sessions.Session) – A subclass of the sessions.Session object that represents this particular script session (either SecureCRTSession or DirectSession)
  • ask_vrf (bool) – A boolean that specifies if we should prompt for which VRF. The default is true, but when this module is called from other scripts, we may want avoid prompting and supply the VRF with the “vrf” input.
  • vrf (str) – The VRF that we should get the route table from. This is used only when ask_vrf is False.