Commit Graph

13 Commits (5ab1a6f88dea24eafa6e61114e5687fc7f2b7704)

Author SHA1 Message Date
Peter Sprygada cbcb90e112 fixes error when calling load_config() with session keyword
The session keyword is no longer needed or supported in the load_config()
method for eos.  This fixes an issue in eos_template where the session
keyword was still being sent.
8 years ago
Peter Sprygada e464599632 minor bug fixes in eos_template
* fixes issue where configuration was not being loaded (#4704)
* fixes issue where defaults were not included when argument was set to True

tested on EOS 4.15.4F
8 years ago
Peter Sprygada 12122952db Merge pull request #3950 from grybak-arista/eos_exit_fix
Move call to filter_exit out of command execution block
8 years ago
Peter Sprygada 074273dbb4 update eos_template for network shared module
This updates the eos_template module to work with the changes introduced
in the network shared module in Ansible 2.2

Tested on EOS 4.15.4F
8 years ago
John Barker 79c55534fc General EOS documentation improvements
Typos, formatting, choices.
8 years ago
Gary Rybak dc21c211e3 Move call to filter_exit out of command execution block
to prevent setting 'changed' on a command list that is
completely filtered (empty).
8 years ago
Peter Sprygada 6b8a92045f handles config replace properly in eos_template
fixes 3366
9 years ago
Peter Sprygada ad519c2f5c refactors eos_template to remove diff functions
replaces functions with netcfg shared library for handling configuration
diffs
9 years ago
James Cammarata d7422c02ad Merge pull request #3010 from grybak-arista/exit-filter
Filter exit commands when no other commands are included
9 years ago
Peter Sprygada 416dd73b09 bugfix in eos_template for backing up config
eos_template would connect to the remote device to get the running config
for backup even if backup is not needed.
9 years ago
Gary Rybak 373961da04 Add filter to eos_template to remove configuration mode command
followed immediately by an exit command indented one level.
9 years ago
Peter Sprygada d66a0cbe3f update eos_template doc string and return values
This updates the return values form eos_template to be consistent
across all template modules.  This change now returns updates and
respones
9 years ago
Peter Sprygada d29db07fab initial add of new module eos_template
The eos_template module works by allowing configurations to be pushed
to Arista EOS devices that can be templated by the Ansible Jinja2
template engine
9 years ago