summaryrefslogtreecommitdiff
path: root/network
Commit message (Collapse)AuthorAgeFilesLines
* Refreshed metadata for core modulesToshio Kuratomi2016-12-06124-0/+501
|
* Unquote urls in YAML - network (#5792)Fabio Alessandro Locati2016-12-023-5/+5
|
* Missing space between key:value (#5785)John R Barker2016-12-011-1/+1
|
* doc: network: fix syntax errors in examples (#5780)René Moser2016-12-0121-98/+98
|
* Examples syntax batch7 (#5624)Sam Doran2016-11-2213-85/+234
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change example syntax on nxos_feature module * Change example syntax on nxos_hsrp module * Change example syntax on nxos_igmp module * Change example syntax on nxos_interface module * Change example syntax on nxos_interface_ospf module * Change example syntax on nxos_ip_interface module * Change example syntax on nxos_ping module * Change example syntax on nxos_switchport module * Change example syntax on nxos_vlan module * Change example syntax on nxos_vrf module * Change example syntax on nxos_vrf_interface module * Change example syntax on nxos_vrrp module * Change example syntax on meta module * Change example syntax on set_fact module * Change example syntax on win_copy module * Change example syntax on win_file module * Change example syntax on win_get_url module Remove escaping of \ characeter in Windows paths since it's no longer required for single quoted or unquoted values when using multi-line YAML syntax. * Change example syntax on win_lineinfile module * Change example syntax on win_msi module * Change example syntax on win_stat module * Remove nxos_bgp example from nxos_igmp module * Mark examples as regexp to avoid syntax error * Cleanup win_copy.py examples * Cleanup win_file.py examples * Remove quotes in win_get_url.py examples * Cleanup quotes and languare in win_lineinfile.py * Cleanup examples in win_group.py * Cleanup examples in win_service.py * Don't use : in documentation because it breaks the YAML syntax check * Cleanup win_copy.py examples * Cleanup win_copy.py examples * Minor change to fix test failure * Use single quotes
* vyos_command Document ANSIBLE_VYOS_TERMINAL_LENGTH (#5676)Sam Doran2016-11-221-3/+11
| | | | | | | | | | | * Update documentation for vyos_command Add information on new environment variable added in #18546. Add note on command that should not be run via Ansible. * White space changes Two spaces after period.
* Remove set from junos_facts as it errors out (#5670)Kevin Kirsche2016-11-221-8/+8
| | | Fix #5636 per @ganeshnalawade
* Fix 5646 junos_config issue if config format is text (#5658)Ganesh Nalawade2016-11-221-1/+1
| | | | | | | If 'src_format' is not mentioned in playbook and config is in text format a list object is passed to 'guess_format' function instead of string, hence TypeError execption is seen. Fix is to pass string object instead of list.
* Ensure proper error when fetch_url returns status -1Dag Wieers2016-11-211-1/+5
| | | | | | | When using a file:// or ftp:// URL the normal provisions that a non-200 status code means error have been disabled. But the common error status -1 from fetch_url is not properly returning an error message. This fix ensures that if the status code returns -1, we return a proper error message. This fixes #3563
* Revert "ios_mods - added stdout to exception output. Removed to_lines()" (#5663)Peter Sprygada2016-11-182-4/+9
|
* Performance improvement using in-operator on dictsDag Wieers2016-11-177-8/+8
| | | | | | | Just a small cleanup for the existing occurrences. Using the in-operator for hash lookups is faster than using .keys() http://stackoverflow.com/questions/29314269/why-do-key-in-dict-and-key-in-dict-keys-have-the-same-output
* Examples syntax batch6 (#5623)Sam Doran2016-11-167-127/+168
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Change example syntax on os_auth module * Change example syntax on os_client_config module * Change example syntax on os_image_facts module * Change example syntax on os_networks_facts module * Change example syntax on os_nova_flavor module * Change example syntax on os_object module * Change example syntax on os_server module * Change example syntax on os_subnet_facts module * Change example syntax on rax_files module * Change example syntax on rax_files_objects module * Change example syntax on mysql_db module * Change example syntax on file module * Change example syntax on uri module * Change example syntax on cl_bond module * Change example syntax on cl_bridge module * Change example syntax on cl_img_install module * Change example syntax on cl_interface module * Change example syntax on cl_license module * Change example syntax on cl_ports module * Remove trailing colon
* Fix bare variable references in docs (#5554)Andrew Gaffney2016-11-103-3/+3
|
* ios_config : Set multiline_delimiter version to 2.3 (#5525)mrLarbi2016-11-081-1/+1
|
* roll up of more fixes for ios_config multiline banners (#5524)Peter Sprygada2016-11-071-7/+31
| | | | | | * now works for any banner in the config * provides a configurable delimiter link #5318
* ios_mods - added stdout to exception output. Removed to_lines() (#5428)bdowling2016-11-072-9/+4
| | | | | | | | | | | | stdout lines are now available when certain exceptions occur (Ref ansible/ansible#18241) Also noticed that to_lines was essentially handled in lib/ansible/plugins/action/__init__.py -- only difference was it didn't handle a list. to_lines() could be removed across network modules now, but this commit is only for ios_command. Also adds disconnect() to ios_command that was added to ios_config in #5247
* fixes problem when trying load banner into ios device (#5494)Peter Sprygada2016-11-031-6/+50
| | | | | | | this fix will now handle loading a multiline banner on ios based devices without hanging. It separates the processing of banners from the remainder of the config link #5318
* ios_facts module will no longer error on missing command (#5491)Peter Sprygada2016-11-031-60/+56
| | | | | | | | | | | | The module will error if it tries to use a cli command that is not available on a given platform. This fix will address that problem. If the cli command is not available, then the command is silently discarded and the facts that the command output is based on is not returned. Any failed commands are provided in the module return under the failed_commands key. This fix also updates the Examples docstring to make it consistent with other ios_* modules fixes #5444 fixes #5372
* Correct typos in docs strings (#5233)John R Barker2016-11-022-3/+3
|
* Fix uri for change in case in responseToshio Kuratomi2016-10-241-9/+5
| | | | | | | | | In python3, response fields are title cased whereas in python2 they were not. We return these fields to the module's caller so we need to normalize all of them to be lower case. This reverts the lowercase check from 454f741ef5b56cccd123e12d7b2e6fe31d47c755 as that one was only targetted as a single field.
* First set of fixes for uri module to work with py3.Toshio Kuratomi2016-10-231-21/+27
| | | | | This fix handles changes in the response headers (no longer all lowercased) and switches from unicode() to to_text().
* Do not leak the vtp_password in log (#5199)Michael Scherer2016-10-131-1/+1
|
* fixes bug introduced in 3670215 in junos_config (#5251)Peter Sprygada2016-10-131-1/+3
| | | The previous fix created a new bug that this PR resolves
* Bulk spelling improvement to modules-core (#5225)John R Barker2016-10-1347-72/+73
| | | | | | | | | | * Correct spelling mistakes * Correct more spelling issues * merge conflict * Revert typo in parms
* fixes issue with collecting all filesystems in ios (#5248)Peter Sprygada2016-10-131-2/+2
| | | | | | earlier versions of ios do not provide the all-filesystems argument. This fix will now only report on the flash filesystem for ios_facts fixes #4712
* ios_config will now explicitly disconnect from remote host (#5247)Peter Sprygada2016-10-121-0/+2
| | | | | | The ios_config module will now explicitly send a disconnect to the remote host at the conclusion of the module run ref #5181
* Update pn_vlan (#5223)amitsi2016-10-121-2/+0
| | | removed name from an older file which got left out
* removes automated backup of ios to flash due to errors (#5245)Peter Sprygada2016-10-121-20/+0
| | | | The feature is extremely unstable right now and decision to pull it out for 2.2. Workaround is to do the same in the playbook
* fixes issue with pushing config to versions that do not support sessions (#5236)Peter Sprygada2016-10-121-2/+9
| | | | | | | earlier versions of eos do not support configuration sessions. this change will now check if sessions are supported and if not will fallback to not using config sessions fixes #4909
* Correct functional typosJohn Barker2016-10-113-3/+3
|
* fixes bug with junos_config module not properly loading config (#5213)Peter Sprygada2016-10-101-12/+13
| | | | | | This fixes two issues. First, it fixes an issue with the junos_config module not properly recognizing a file with set commands. The second bug would cause the diff_config() function to raise an exception due to a blank line when splitting the config
* nxos module cleanup (#5065)Nathaniel Case2016-10-0816-86/+55
| | | | | | | | | | | | | | | | | | | | | | | | | * Fix imports on nxos_bgp* modules * Fix imports on nxos_evpn* modules * Cleanup issues for nxos_facts * Shuffle imports for nxos_template * Fix imports on nxos_ospf* modules * Fix nxos_hsrp As get_hsrp_groups_in_devices is not actually called anywhere, I presume this change is reasonable. * Fix imports on nxos_interface* modules * Update nxos_static_route imports * update nxos_vrf * Update nxos_config imports
* updates docstring for sros modules (#5197)Peter Sprygada2016-10-073-11/+11
|
* Fix deprecation notices. (#5180)Bill Nottingham2016-10-065-5/+5
|
* Fixing docstring (#5130)Gabriele2016-10-041-2/+2
|
* checks commit comment to make sure it doesn't exceed 60 characters (#5155)Peter Sprygada2016-10-041-0/+3
| | | | | | | The comment argument can be at most 60 characters per the IOS XR command line. If a comment is > 60 characters, the module will now gracefully error and return a well formed message. fixes 5146
* Remove reference to parents parameter which doesn't exist (#5143)John R Barker2016-10-041-2/+1
|
* Remove docs for commit which no longer exists (#5152)John R Barker2016-10-041-12/+1
|
* adds exception handling for adding an invalid condition (#5125)Peter Sprygada2016-10-021-3/+3
| | | | This change will now handle a problem adding a condition that raises an AddConditionError and return a well formed error to the user.
* Adding more details on DOCSTRING about how to use the module (#5121)Gabriele2016-10-021-1/+11
|
* adds exception handling for AddConditionError (#5124)Peter Sprygada2016-10-021-3/+7
| | | | AddConditionErrors are now handled by nxos_command and a well formed error is returned from the module
* adds check for AddConditionError when adding conditional statements (#5123)Peter Sprygada2016-10-021-3/+8
| | | | | The Conditional instance will now raise the AddConditionError and this change instructs eos_command to catch the error and return a nicely formed error message
* Improving nxos_igmp_snooping (#5011)Gabriele2016-10-011-0/+2
|
* Fixing nxos_igmp_interface (#5010)Gabriele2016-10-011-2/+13
|
* Fixing nxos_hsrp (#5009)Gabriele2016-10-011-3/+14
| | | | | | * Fixing nxos_hsrp * Adding space after =
* Remove the dellosX_template module (#5110)Senthil Kumar Ganesan2016-10-013-540/+0
|
* roll up of unicode fixes in junos modules (#5113)Peter Sprygada2016-09-302-2/+2
| | | | * fixes junos_template (fixes #3962) * fixes junos_config
* Add ethernet-link-oam mapping to nxos_feature (#4956)Gabriele2016-09-301-2/+7
| | | | | | | | * Add ethernet-link-oam mapping * Adding port-secutiry mapping * Fixing command output format
* Fixing nxos_vlan (#5005)Gabriele2016-09-301-3/+13
| | | | | | | | * Fixing nxos_vlan * Fixing docstring * Fixing docstring
* Fixing nxos_aaa_server (#5002)Gabriele2016-09-301-2/+4
| | | | | | * Fixing command output formatting * Fixing cmds