I am working on the following code which simply executes a command on Cisco switch and convert the result to CSV format using textfsm which is working with a template (used this