netcopa
netcopa copied to clipboard
Not able to generate into yaml format
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...',
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)