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

Cli textfsm fixes #51

Merged
merged 3 commits into from
Dec 3, 2018
Merged

Conversation

jwoogee
Copy link
Contributor

@jwoogee jwoogee commented Nov 23, 2018

Currently there's no way to get textfsm_parser to populate ansible_facts with this role. We need to pass name to the parser to set the dictionary key facts will be added to. I have a separate pull request for ansible-network.network-engine to take in this argument to the cli module.
I also fixed issue where cli would fail when terminal.yaml would pass a blank line showing up from jinja render, now terminal.yaml just skips those blank lines.

Signed-off-by: jwoogee jswoods1@gmail.com

…g of cisco ios

Signed-off-by: jwoogee <jswoods1@gmail.com>
Signed-off-by: jwoogee <jswoods1@gmail.com>
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

@softwarefactory-project-zuul
Copy link
Contributor

Build failed.

Signed-off-by: z003gn3 <jonathon.woods@target.com>
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@gdpak gdpak merged commit 77d42b9 into ansible-network:devel Dec 3, 2018
NilashishC pushed a commit to NilashishC/cisco_ios that referenced this pull request Jan 7, 2019
* pass name argument for textfsm, and fix blank lines applying to config of cisco ios

Signed-off-by: jwoogee <jswoods1@gmail.com>

* fixed duplicate and

Signed-off-by: jwoogee <jswoods1@gmail.com>

* changed vars to 'name' to match text_fsm naming

Signed-off-by: z003gn3 <jonathon.woods@target.com>
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

Successfully merging this pull request may close these issues.

3 participants