Commit Graph

328 Commits (0bb0c1b2d8d87b4bf31d1ddeed971dd04ffd6e68)

Author SHA1 Message Date
Peter Sprygada 0bb0c1b2d8 Merge pull request #4323 from Qalthos/ios_config_bugfix
Fix ios_config broken logic
8 years ago
Peter Sprygada 1a71fff02b Merge pull request #4341 from gundalow/docs-vyos
vyos: Docs fixes
8 years ago
Peter Sprygada 3d37d5c835 Merge pull request #4338 from gundalow/docs-openswitch
openswitch: Docs fixes
8 years ago
Peter Sprygada 56a59824b2 Merge pull request #4336 from gundalow/docs-nxos
NXOS Docs update
8 years ago
Peter Sprygada 04b200059d Merge pull request #4326 from gundalow/docs-junos
junos: Docs update
8 years ago
Alvaro Aleman 12b579f92d Make ios_command example working 8 years ago
John R Barker d05ed8e2d8 ios & iosxr Documentation improvements (#4321) 8 years ago
John R Barker 4148b74433 Update junos_config.py 8 years ago
John R Barker 5f02f54ff9 Update junos_config.py 8 years ago
John Barker 4d0f5cc3f5 vyos: Docs fixes 8 years ago
John Barker d45a75bc01 openswitch: Docs fixes 8 years ago
John Barker d319328d03 NXOS Docs update 8 years ago
John Barker bd08631e58 junos: Docs update 8 years ago
Nathaniel Case 8bb4b9818c Fix ios_config broken logic 8 years ago
Nathaniel Case 104d753730 Quick fix to nxos_command and minify imports 8 years ago
John R Barker 4ebcdf3efd Merge pull request #4115 from bordeltabernacle/fix/network_module_typos
Fix/network module typos
8 years ago
Kevin Kirsche 9a369b3f1f Update junos_config.py 8 years ago
Kevin Kirsche 9f8bc0158c Fix typo in "ssantaize" typo
ssantaize to santaize
8 years ago
John R Barker 280522914c State runnng v running
Fix typo
8 years ago
Rob Phoenix aedf21b285 various typo corrections to ios network modules 8 years ago
Peter Sprygada 3d65c82d7c Merge pull request #4196 from privateip/ios_config
adds update_config argument to ios_config
8 years ago
Peter Sprygada fb3916f002 adds update_config argument to ios_config
New argument controls whether or not configuration is applied to the
remote device.
8 years ago
Peter Sprygada fe76a74e8c initial add of new module vyos_config
New module for sending configuration commands to remote devices running
the VyOS operating system.
8 years ago
Peter Sprygada 800bd92026 Merge pull request #4187 from privateip/vyos_facts
WIP initial add of new module vyos_facts
8 years ago
Peter Sprygada 77f6c34ee4 initial add of new module vyos_facts
* adds collection of default facts
* adds collection of configuration facts
* adds collection of lldp neighbors
8 years ago
Peter Sprygada f7bd0f4dfb initial commit of vyos_command module
This adds a new module, vyos_command for sending CLI commands to remote
devices running VyOS operating system.
8 years ago
Peter Sprygada 1240529613 Merge pull request #4180 from privateip/ios_command
removes unneeded check_args function from ios_command
8 years ago
Peter Sprygada 6a8750fe4b Merge pull request #4181 from privateip/ios_config
bug fix in ios_config module for handling config contents
8 years ago
Peter Sprygada 601bb9fad3 bug fix in ios_config module for handling config contents
Config contents when passed via argument were returning a string but
the module expects an instance of NetworkConfig.  This fixes that
problem.
8 years ago
Peter Sprygada daaafb68ab removes unneeded check_args function from ios_command
The module would raise a KeyError trying to find the save_config key
which is not present in the argument_spec.  This was caused by the
check_args() function.  Since the ios shared argument spec isn't used
the check_args function is not needed and has been removed.
8 years ago
Peter Sprygada d8d69904a7 fixup ios_template module to use NetworkModule
This removes the get_module() factory function and directly creates
an instance of NetworkModule.  This commit includes some minor clean
up to transition to the ios shared module for 2.2
8 years ago
Peter Sprygada 359f1747be Merge pull request #4153 from privateip/ios_command
fix up ios_command to use NetworkModule
8 years ago
Peter Sprygada ebc9f092ad fix up ios_command to use NetworkModule
* using check mode will now block all commands except show commands
* module will no longer allow config mode commands
* check args for unused values and issue warning
8 years ago
Peter Sprygada 5f08277eb4 refactor ios_config for network module
This refactors the ios_config module to use the network module added
in 2.2 to simplify common network functions

new features

* add src, dest arguments for working with config
* results now return flag if the config was saved or not
* adds append argument for updating the dest file (when dest is used)
8 years ago
Peter Sprygada b2202c6da8 update ios_facts module to use NetworkModule
minor update to ios_facts to remove get_module() in favor of NetworkModule
8 years ago
Peter Sprygada 25e98e869f Merge pull request #4124 from privateip/ios_facts
initial add of ios_facts module
8 years ago
Peter Sprygada 8655dc4aaf Merge pull request #4123 from privateip/ios_command
refactor ios_command to use CommandRunner class
8 years ago
Peter Sprygada 1ba45c1d03 Merge pull request #4065 from privateip/eos_command
refactor the eos_command module to use the CommandRunner
8 years ago
Peter Sprygada 4f8f8f1998 initial add of ios_facts module
This adds the new module ios_facts for collect fact information from
ios devices
8 years ago
Peter Sprygada 11efe33730 refactor the eos_command module to use the CommandRunner
* This adds support the CommandRunner to handle executing commands on
the remote device.
* It also changes the waitfor argument to wait_for to remain compatable
with other modules and adds an alias for waitfor.
* Restricts commands to show commands only when check mode is specified.
* add version_added to wait_for doc string
8 years ago
Peter Sprygada 2be917851d refactor ios_command to use CommandRunner class
* fixes running commands in check mode.  now only show commands are allowd
* renamed waitfor to wait_for with alias to waitfor for consistency
8 years ago
Stian Vikan 1e74d4c9a6 Fixed delete statement for juniper_config.py #4007 #3984 8 years ago
Brian Coca 46d6bead71 document that get_url also takes file params
has for a long time, but was never documented, mode,group, owner can all be set here
8 years ago
Brian Coca 172bd21f41 Revert "Add mode option to the list" (#3946) 8 years ago
Victor Bocharsky 3573223aeb Add mode option to docstring for get_url (#3630)
Add mode option to the list
8 years ago
jctanner 4a3916bd46 Use the six import for urlsplit instead of importing directly. (#3902)
Fixes https://github.com/ansible/ansible/issues/16191
8 years ago
Peter Sprygada e7e295b693 removes requirement for config argument to be specified in junos_facts
The config argument is optional and should not be required.  This
removes the required attribute from the config argument.

fixes #3878
8 years ago
Toshio Kuratomi cb1093e085 Fix the six import 8 years ago
Toshio Kuratomi 469169f654 Be sure to import urllib.parse from somewhere 8 years ago
Gabriele 8cb463d250 Fixing bug, added missing param (#3737) 8 years ago