Commit graph

46951 commits

Author SHA1 Message Date
Felix Fontein
185a1fcb07 Online: rename _facts -> _info (#61091)
* Rename online _facts -> _info

* Add changelog.
2019-08-27 16:36:55 -04:00
Kevin Breit
489156378c Meraki - Enable API call rate limiting for requests (#54827)
* Initial commit for rate limiting
- Detects if error code is 429
- Pauses for random time between .5 and 5 seconds before retrying
- If it fails 10 times, give up and tell user

* Redo structure of request() to support rate limiting

* Hold down timer is now a sliding scale
- 3 * number of retries
- Fails after the 30 second wait

* Whitespace fixes

* Redo implementation using decorators
- Errors aren't tested but code works for regular calls

* Unit tests work for error handling

* Add integration tests for successful retries

* Add condition for 502 errors and retry

* Move _error_report out of the class

* PEP8 fixes

* Add changelog entry
2019-08-27 16:32:09 -04:00
Paul Belanger
5ee81338fc
Remove unused import in junos/utils/utils.py (#61384)
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-08-27 15:56:39 -04:00
Paul Belanger
5a60bdd308
Remove unsed / duplicate imports for iosxr module_utils (#61385)
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-08-27 15:55:31 -04:00
Sam Doran
32eeeab831
Revert "Disable Hetzner Cloud integration tests due to authentication issues (#61375)" (#61383)
This reverts commit 31b49334b9.
2019-08-27 15:30:28 -04:00
Felix Fontein
1906c05348
vertica_facts: rename to vertica_info (#60916)
* Rename vertica_facts -> vertica_info

* Add changelog.

* Fix porting guide.
2019-08-27 21:28:36 +02:00
thetriforce
0696fcacf0 Update _ios_l2_interface.py (#61401)
Add support for TwoGigabitEthernet switchports in IOS-XE
2019-08-28 00:51:15 +05:30
Gonéri Le Bouder
e7a9d71ac0
ansible-test: async deployment w/ vcenter provider (#59984)
ansible-test: async deployment w/ vcenter provider

So far, `ansible-test`'s vcenter provider was trigger by a blocking POST
call. Since the depoyment take a lot of time (> 8m), we decided to use
an async call instead and poll the API server until the deployment
is ready.
2019-08-27 14:56:43 -04:00
Nathaniel Case
e8586114ad
Move instantiation of terminal plugin earlier (#61261)
* Move instantiation of terminal plugin earlier

* Move test for invalid network_os to where the failure now lives
2019-08-27 14:33:05 -04:00
Nilashish Chakraborty
36f4af203c
Add iosxr_lag_interfaces resource module (#61303)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-08-27 23:01:05 +05:30
Strahinja Kustudic
a213b9160c Fix extended loop_control with includes (#61231)
* Fix extended loop_control with includes

* Use assert for testing extended loop_control

* fix typo
2019-08-27 12:09:56 -05:00
Jack Parsons
80b73712a9 Template value of debugger and then check for validity (#53587)
* Template value of debugger and then check for validity

* Removed if/else and forcing failure on undefined as per comments

* Added changelog

* changed colon to brackets so it appears as a string
2019-08-27 12:02:26 -05:00
aperigault
c1c6e9f008 Add kernel version in ansible facts (#40069) 2019-08-27 11:57:44 -05:00
Ahmed Hassan
b47988a8a4 Added more explanation to keypair. (#52766)
* Added more explanation to keypair. 

<!--- Your description here -->

+label: docsite_pr

* Update ec2.py

* Update ec2.py
2019-08-27 11:25:52 -05:00
ygelfand
36b7baca4d getent - add service support(#60295) 2019-08-27 11:58:37 -04:00
Felix Fontein
c91929b2b3 OpenStack: rename _facts -> _info (#61197)
* Rename openstack _facts -> _info

* Add new module names to module_defaults.yml.
2019-08-27 11:50:14 -04:00
Miguel Angel Muñoz González
5e4e32b45e FortiOS modules for 2.9 - 10 (#61367)
* FortiOS modules for 2.9 - 10

* Fortios User Device was wrongly set to 2.8 instead of 2.9

* Retriggering shippable due to random failure
2019-08-27 21:07:39 +05:30
Gonéri Le Bouder
d29aaffb16 vmware_guest_disk_info/test: ensure the test VM is running
`vmware_guest_disk_info` expects the VM to be running. Since
964783fbd2, `prepare_vmware_tests`
creates the test VM with the `powered-off` state. This to increase
the performance.

This commit ensures the test-suite actually run against a running VM,
as expected.
2019-08-27 11:31:14 -04:00
Gonéri Le Bouder
ef69f3a3b5 vmware/test: clean up dvswitch_0001 and dvswitch_0002
Ensure `dvswitch_0001` and `dvswitch_0002` won't remain after
`vmware_dvswitch` test execution.
2019-08-27 11:30:44 -04:00
Jason Lee
9f8a0f4ace Added vserver to lun_info field to ensure unique LUN dict keys (#61357) 2019-08-27 11:14:59 -04:00
Sam Doran
31b49334b9
Disable Hetzner Cloud integration tests due to authentication issues (#61375) 2019-08-27 10:47:08 -04:00
Matt Clay
8a7b89c66f Support delegation testing collections with deps.
All collections in the same collection root as the collection being tested will be sent to the remote system/container.
2019-08-27 07:29:42 -07:00
Jordan Webb
27cac742ca Fix pipelining in buildah connection plugin (#59745)
* Fix pipelining in buildah plugin

* Add changelog fragment
2019-08-27 10:11:47 -04:00
sig9org
b563f7f880 Add aci_l3out_extsubnet.py (#58087)
* Add aci_extsubnet.py

* Fix aliases of network option

* Shorten the sentence

* Rename to aci_l3out_extsubnet

As suggested during review.

* Rename module
2019-08-27 15:55:46 +02:00
Derrick Johnson
f3bde056b5 aci_maintenance_group_node - Fix "target_filter" (#58675)
* aci_maintenance_group_node - Fix "target_filter"

##### SUMMARY
Fixes target_filter issue that causes the module to fail.

##### ISSUE TYPE

* Use the correct target_filter syntax

So we did not just rename `filter_target` to `target_filter`, the content is also different.
2019-08-27 15:10:47 +02:00
Chris Archibald
36add6e86f New Module: na_ontap_ndmp (#59815)
* new module

* fixes

* fixes

* fix unit tests

* update tests

* fixes
2019-08-27 09:06:59 -04:00
Chris Archibald
0e906b0865 bug fixes for group (#60887)
* bug fixes for group

* trigger rebuild

* fixes
2019-08-27 09:05:20 -04:00
Nathan Swartz
37dd373c6b Volume dev upstream new options (#59660)
* Add controller ownership and cache without batteries option

* Add unit test for new netapp_e_volume options

* Add integration tests for netapp_e_volume module.

* Changed default read_ahead_enable option to true in netapp_e_volume module.

* Fix off-segment aligned volume size in netapp_e_volume module.
2019-08-27 09:04:02 -04:00
Andrey Klychkov
61a2dab2ff postgresql modules: add seealso section (#61368) 2019-08-27 13:20:34 +01:00
jasonjuenger
dfd1b29777 Add aci_vmm_credential.py (#60910)
* add module to create aci VMM credential objects
add initial remove and add integration tests for VMM credential objects

* update 'credential' var name to 'name'

* move vmware tests to domain type specific file

* move vmware tests to domain type specific file
add include task in main file to reference domain type specific tests

* update task names
add test to remove credential prior to first credential add
add tests for querying individual credentials
add tests for query all credentials
add additional tests for removing credentials

* update version added to 2.9
remove invalid module references from 'seealso' section

* fix list reference in query all assertions

* add reference to VM_PROVIDER_MAPPING keys for vm_provider arg
2019-08-27 14:08:24 +02:00
Sumit Jaiswal
b53bc94cc5
Resource module for iosxr_l2_interfaces (#59964)
* iosxr_l2 resource
2019-08-27 17:20:47 +05:30
Nirav Katarmal
dbd3ace53e added resources to associate domain to EPG (#60571) 2019-08-27 13:41:13 +02:00
Don Yao
d77697e4d5 FortiOS System Fimrware Upgrade Module (#59213)
* FortiOS System Fimrware Upgrade Module

* default timeout 12 seconds is not enough for large firmware or slow connection, increase it to 300 seconds

* update fortios system firmware upgrade module together with unit test

* minor updates based on the new templates

* minor updates and remove fortiosapi dependency in unit test module

* add author, remove unused method, fix descriptions, apply some sanity fixes
2019-08-27 15:58:07 +05:30
Miguel Angel Muñoz González
e62fb1e2f9 FortiOS modules for 2.9 - 9 (#61320)
* FortiOS modules for 2.9 - 9

* Undo ignore file

* Remove non valid identifiers

* Leave fortios_switch_controller_lldp_profile and fortios_switch_controller_managed_switch out of this PR

* Updated fortios_switch_controller_lldp_profile and fortios_switch_controller_managed_switch
2019-08-27 15:57:34 +05:30
Simeon Filipov
0074fa5672 Fix typo in postgresql_privs.py (#61365)
##### SUMMARY
Change 'default_prives' to 'default_privs'


##### ISSUE TYPE
- Docs Pull Request

+label: docsite_pr
2019-08-27 06:05:39 -04:00
Rohit
b24e1c0077
lag config changes (#61361)
Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
2019-08-27 15:26:12 +05:30
Adharsh Srivats R
ee05d6bde2 Added nxos_lldp_global resource module (#60072)
* Added nxos_lldp_global module

Tests

Correction

remove q

* Added tests

* Corrections

Changes

Last few changes please

Final

Finall

Finalll

* Key error and punctuation changes

* .gitignore edit

* Facts file edit

* Changed facts collection and 'replaced' state

Changed facts collection and replaced state

Changed facts collection and replaced state

* Spacing and module error correction

* return facts as empty dict not list

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-08-27 14:52:24 +05:30
Andrey Klychkov
233a3088f4 postgresql_db: add seealso section (#61360) 2019-08-27 09:11:09 +02:00
Andrey Klychkov
cca95e323d postgresql_copy: add seealso section (#61314) 2019-08-27 09:10:59 +02:00
Don Yao
c0046e7f52 adding 3 new methods, get to retrieve configurational data, monitor to retreieve operational data, execute to perform action (#61331) 2019-08-27 12:24:07 +05:30
rajaspachipulusu17
adb8a0ddc6 Pluribus Networks log audit exception module with unit test cases (#60456)
* Pluribus Networks log audit exception module with unit test cases

* Documentation fix
2019-08-27 11:31:54 +05:30
rajaspachipulusu17
e7cb2ddc9c Pluribus Networks vtep module with unit test cases (#60455) 2019-08-27 11:26:13 +05:30
Ganesh Nalawade
2a13ad7adf
Fix junos resource modules group based config and minor updates (#61224)
* Fix junos resource modules group based config and minor updates

Fixes https://github.com/ansible/ansible/issues/61183

*  Add support to get inherited configuration for resource
   modules to handle group based configuration
*  Add task input check for merged, replaced and overridden
   states in junos resource modules
*  Integration test for group based configuration

* Fix CI test failures

* Fix test failures
2019-08-27 11:06:06 +05:30
Simon Dodsley
f2c4875fbe Remove unnecessary code (#61350) 2019-08-27 01:27:59 -04:00
Yuwei Zhou
b4732dd2e6 Support Azure IoT hub and related module (#55121)
* Support iothub creation

* raise errordetailexception rather than clouderror

* add facts

* change requirement

* compare endpoint

* add documentation

* add documentation

* add iot device facts

* modify line ending

* add auth method

* add iot module

* add consumer group

* add the test

* enhencement of  doc

* add list consumer groups

* fix lint

* fix lint

* fix doc

* fix doc

* Update auzre_rm_iothub related document

* changed paramter's type

* update type

* rename facts -> info

* fixed sanity

* missed during merge
2019-08-27 13:18:28 +08:00
Fortinet Core CSE NA
6fb7073adc Fortinet: FortiAnalyzer Plugin and Module Utils and FAZ_DEVICE update. (#58882)
* FortiAnalyzer Plugin and Module Utils and FAZ_DEVICE update.

* Updated Version Added for plugin.

* Removed stray characters (new keyboard... leaned on a key to hard...). DOH!

* Minor fix to documentation

* Added __metaclass__ = type per Sanity/1 test failure of last test.

* Minor PEP8... should be last one

* Same PEP8 Fix for Common...

* Minor change to kick off another shippable after an obscure OS X error.

* Last Shippable showed "unstable" but didn't give any other reasons. Kicking off YET ANOTHER.

* Once again, shippable is erroring on unrelated issues and modules. Minor Docs change to kick it off again.

* Shippable, again, failed to find the commit. Minor doc change to kick it off again.

* Small doc change to kick off shippable. A single test is ending up "unstable" for RHEL...
2019-08-27 10:22:42 +05:30
sushma-alethea
b09db0ba9e icx: new module icx_user (#60007)
* new module

* new terminal

* new terminal

* new cliconf

* cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx units module

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* removed icx rst

* new changes

* deleted icx rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* test

* Revert "test"

This reverts commit 99b72c6614.

* new module icx_user

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* changes

* changes

* new fixes

* new changes

* notes updated
2019-08-27 09:25:56 +05:30
frankshen01
a68d91d0a7 Fortinet's new module for fortios_wireless_controller_hotspot20_hs_profile (#61163)
* Fortinet's new module for fortios_wireless_controller_hotspot20_hs_profile

* Update fortios_wireless_controller_hotspot20_hs_profile.py and test_fortios_wireless_controller_hotspot20_hs_profile.py
2019-08-27 09:24:28 +05:30
Matt Clay
cca4eb71e3
Update sanity tests for collections. (#61352)
* Remove pointless sanity tests on `bin` dir.

* Update action-plugin-docs test for collections.

* Update no-main-display test for collections.

* Update empty-init test for collections.

* Update no-assert test for collections.

* Move required-and-default-attributes test.

This test only applies to Ansible itself.

* Update use-argspec-type-path test for collections.
2019-08-26 20:40:53 -07:00
sushma-alethea
b6290e1d15 icx: new module icx_logging (#60036)
* new module

* new terminal

* new terminal

* new cliconf

* cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx units module

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* removed icx rst

* new changes

* deleted icx rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* test

* Revert "test"

This reverts commit 99b72c6614.

* new module icx_logging

* new fixes

* new fix

* new fix

* new fix

* new changes

* notes updated
2019-08-27 08:58:32 +05:30