cidrblock / netcopa

Network Configuration Parser
GNU General Public License v3.0
135 stars 31 forks source link

Not able to generate into yaml format #12

Open mmihir82 opened 6 years ago

mmihir82 commented 6 years ago

Hello I got the configuration file which I upload into /configuration folder. I ran "python runparse.py" Some reason its not parse into the .yaml format.. output: [root@networktool01 netcopa]# python runparse.py Loading configurations c6509 [ok] Copy host_vars entry to temp directory c6509 [fail] host_vars file missing. Retrieving OS Loading OS removers Loading OS parsers Run pre-parse removers Running parsers and comparing template output to actual Persist vars to temp directory Copy temp directory to host_vars entry Run post-parse removers Report extraction success Remove temp directory localhost [ok] ['Building configuration...',

suajthabalaraman commented 5 years ago

The error message is right there, ***** Copy host_vars entry to temp directory c6509 [fail] host_vars file missing.

Create a file called c6509.yml in the host_vars directory and append the following line to the file os: cisco_nxos (Or any other OS)