netcopa icon indicating copy to clipboard operation
netcopa copied to clipboard

Not able to generate into yaml format

Open mmihir82 opened this issue 7 years ago • 1 comments

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...',

mmihir82 avatar Feb 05 '18 22:02 mmihir82

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)

suajthabalaraman avatar Jan 08 '19 19:01 suajthabalaraman