Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to generate into yaml format #12

Open
mmihir82 opened this issue Feb 5, 2018 · 1 comment
Open

Not able to generate into yaml format #12

mmihir82 opened this issue Feb 5, 2018 · 1 comment

Comments

@mmihir82
Copy link

mmihir82 commented Feb 5, 2018

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
Copy link

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants