Matt Clay
98fdbf6a13
Fix test_oneview_ethernet_network unit test.
...
Use yaml.safe_load since yaml.load without a loader is deprecated.
2019-03-20 22:13:26 -07:00
Matt Clay
3ea05f7757
Add pypsrp to unit tests and disable failing test.
2019-03-20 14:10:21 -07:00
Felix Fontein
4ced1c693c
Docker: mention Docker SDK for Python instead of docker/docker-py ( #53917 )
...
* Mention Docker SDK for Python instead of docker-py / docker.
* Docs fixes.
* Add myself as docker_container author.
* Use array syntax for running command.
* Break long lines.
* Avoid failure when docker_version is None.
* Improve docker-py vs. docker note in requirements.
* Canonicalize Docker SDK for Python upgrade instructions.
* Split long line.
* Make it clearer which hostnames are meant.
2019-03-20 13:27:44 -04:00
Chris Archibald
e3b6a07f6e
Adds Gather Subset Feature to na_ontap_gather_facts ( #53993 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a.
* Revert "documentation changes"
This reverts commit 02c369d0414fdff492d90865c903bdade3174261.
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a.
* Revert "documentation changes"
This reverts commit 02c369d0414fdff492d90865c903bdade3174261.
* Revert "Revert "documentation changes""
This reverts commit fffeb974104f2da047435021e0dce94311e945b1.
* Gather facts
* Revert "Gather facts"
This reverts commit 67bfd54f6780818854b5e5d99db52afef89ac4f2.
* Revert "Revert "Gather facts""
This reverts commit 199c27c520bdfce1fc2dfa685dc953cb56381de2.
* Revert "Gather facts"
This reverts commit fc6d21418123d03af3cedd1903175277b1612856.
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a.
* Revert "documentation changes"
This reverts commit 02c369d0414fdff492d90865c903bdade3174261.
* Gather facts
* Revert "Gather facts"
This reverts commit 67bfd54f6780818854b5e5d99db52afef89ac4f2.
* Revert "Revert "Gather facts""
This reverts commit 199c27c520bdfce1fc2dfa685dc953cb56381de2.
* Revert "Gather facts"
This reverts commit fc6d21418123d03af3cedd1903175277b1612856.
* revert
* Revert "Revert "documentation changes""
This reverts commit fffeb974104f2da047435021e0dce94311e945b1.
* fix conflicts
2019-03-20 13:56:23 +00:00
Anil Kumar Muraleedharan
7a24ecde86
Lenovo cnos system module ( #53764 )
...
* Adding cnos_system module to Ansible.
* Adding UT, Functional test required for cnos_system. Bugs came up are fixed
* Adding more files to the cnos_system suit.
2019-03-20 08:50:45 -04:00
Anil Kumar Muraleedharan
e4a1473a8f
Lenovo cnos static route ( #53736 )
...
* Adding new module to Ansible viz. cnos_static_route.
2019-03-20 08:47:45 -04:00
Toshio Kuratomi
f5f4948480
Remove nose from unittests ( #54055 )
...
* Remove nose from unittests
This PR migrates the last of our unittests from using nose to using
pytest. We don't need to install nose in our testing environments
anymore
2019-03-19 18:36:45 -07:00
Wojciech Wypior
dcf833d31c
adds new module to manage bigip devices on the BIGIQ ( #53987 )
2019-03-19 15:15:43 -07:00
Wojciech Wypior
e13cb29e23
Refactors main() function and module manager in multiple modules in line with recent changes ( #53954 )
...
Adds variable types to docs
Refactors unit tests to remove deprecated parameters
Adds missing Return values to documentation
Removes deprecated modules unit tests
2019-03-19 14:59:14 +00:00
Wojciech Wypior
dcf40d43ea
deprecates the old module name ( #53972 )
...
adds ha order, ha group and ha load as failover types
refactors main() function and module manager to accomodate new patterns
updates docs
refactors unit tests
2019-03-19 14:58:39 +00:00
Wojciech Wypior
cd1ff016ef
deprecates the old package name bigip_iapplx_package ( #53988 )
...
Refactors main() function and module manager in multiple modules in line with recent changes
Adds variable types to docs
Refactors unit tests to remove deprecated parameters
2019-03-19 14:57:57 +00:00
Chris Archibald
309f7e59a3
Add ability to run in Privileged mode to Na_ontap_command ( #52343 )
...
* update command
* doc update
* fix review comments
2019-03-19 14:49:58 +00:00
Chris Archibald
3ff20436b6
Modify port would remove and re-add ports on a modify which can results in an error ( #53341 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a.
* documentation changes
* Revert "documentation changes"
This reverts commit 02c369d0414fdff492d90865c903bdade3174261.
* Issue with port being removed and added on modify
2019-03-19 14:47:24 +00:00
Wojciech Wypior
9a007799d4
Refactors main() function and module manager in multiple modules in line with recent changes ( #53984 )
...
Adds variable types to docs
Refactors unit tests to remove deprecated parameters
2019-03-18 23:30:58 -07:00
Wojciech Wypior
1e4dab822b
BIGIP: Bugfix.bigiqapplication ( #53986 )
...
* adds function to do version checks for bigiq
* adds version limitation to bigiq application modules
Refactors main() function and module manager in multiple modules in line with recent changes
Adds variable types to docs
Refactors unit tests to remove deprecated parameters
2019-03-18 23:13:06 -07:00
Wojciech Wypior
648ac17be3
Refactors main() function and module manager in multiple modules in line with recent changes ( #53983 )
...
Adds variable types to docs
Refactors unit tests to remove deprecated parameters
2019-03-18 23:12:34 -07:00
Wojciech Wypior
348b6e7da9
Refactors main() function and module manager in multiple modules in line with recent changes ( #53982 )
...
Adds variable types to docs
Refactors unit tests to remove deprecated parameters
2019-03-18 23:12:17 -07:00
Wojciech Wypior
1a411e9c6b
Refactors main() function and module manager in multiple modules in line with recent changes ( #53981 )
...
Adds variable types to docs
Refactors unit tests to remove deprecated parameters
2019-03-18 22:57:00 -07:00
Wojciech Wypior
739df1c348
Refactors main() function and module manager in multiple modules in line with recent changes ( #53979 )
...
Adds variable types to docs
Refactors unit tests to remove deprecated parameters
2019-03-18 22:40:40 -07:00
Wojciech Wypior
9744ef80a0
BIGIP: Bugfix.multiple modules 3 ( #53969 )
...
* Moving comparision functions to compare.py from common.py
* Refactors main() function and module manager in multiple modules in line with recent changes
Adds variable types to docs
Refactors unit tests to remove deprecated parameters
2019-03-18 22:03:47 -07:00
Wojciech Wypior
284565c39e
Refactors main() function and module manager in multiple modules in line with recent changes ( #53974 )
...
Adds variable types to docs
Refactors unit tests to remove deprecated parameters
2019-03-18 21:45:18 -07:00
Wojciech Wypior
313e07dfd3
BIGIP: Bugfix.bigip.data.group ( #53968 )
...
* Moving comparision functions to compare.py from common.py
* fixes issue with data group elements containing IPs with Route Domains
refactors main() function and module_manager to accomodate new patterns
updates doc variables
2019-03-18 21:25:54 -07:00
Wojciech Wypior
2b00cb592d
Adds new module to manage and create ha groups ( #53967 )
2019-03-18 21:11:24 -07:00
Wojciech Wypior
5be1348081
Fixes issue with sub collection for pool members ( #53955 )
...
Refactors main() function and module manager in multiple modules in line with recent changes
Adds variable types to docs
Refactors unit tests to remove deprecated parameters
2019-03-18 20:49:21 -07:00
Wojciech Wypior
fbc8ee0288
Refactors main() function and module manager in multiple modules ( #53948 )
...
Improves docs
2019-03-18 20:28:54 -07:00
Chris Archibald
baf255e4c1
Allow comment for na_ontap_svm ( #52300 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* updates
* doc changes
* Revert "Revert "changes to clusteR""
This reverts commit 8e56b999e6cf6a65de339e516f7134a6b6b39cba.
2019-03-18 16:53:48 +00:00
Abhijeet Kasurde
3fa39ac818
ec2_vpc_vpn: Add delay and wait_timeout parameter ( #53940 )
...
* ec2_vpc_vpn: Add delay and wait_timeout parameter
Fixes : #53481
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
* Fix unit tests
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-03-18 11:05:51 -05:00
MonsieurBon
eb790cd3c6
Added support for iptables module iprange ( #53732 ) ( #53732 )
2019-03-18 13:05:04 +00:00
Olivier Bourdon
668f014b3c
Add more tests for method option change ( #52228 )
2019-03-15 09:53:32 +00:00
Lindsay Hill
b92d81cc01
Update slxos_vlan for new SLX-OS versions, linting fixes ( #52956 )
2019-03-15 08:55:50 +00:00
rajaspachipulusu17
e2d92e82c4
Pluribus Networks network cli terminal and cliconf plugins ( #53735 )
...
* Pluribus Networks network cli terminal and cliconf plugins
* Changes in Unit tests and modules according to network_cli connection
* Changes in Unit tests and modules according to network_cli connection
2019-03-15 13:51:50 +05:30
Sam Doran
43a44e6f35
Move utility functions out of basic.py ( #51715 )
...
Move the following methods to lib/anisble/module_utils/common/validation.py:
- _count_terms()
- _check_mutually_exclusive()
- _check_required_one_of()
- _check_required_together()
- _check_required_by()
- _check_required_arguments()
- _check_required_if
- fail_on_missing_params() --> create check_missing_parameters()
2019-03-14 21:29:55 -04:00
Sloane Hertel
87ebc56de6
Allow parent groups to be variables or literal ( #53649 )
...
* Allow parent groups to be variables or literal, requires {{ }}
* Check strict before failing on templating errors
* Don't add a group if an invalid parent group was provided
2019-03-14 14:22:18 -04:00
Alan Rominger
8c2037aaa9
do not error in case of empty list constructed group ( #53748 )
2019-03-14 12:27:56 -04:00
Chris Archibald
14d670573a
Ability to add port in portset ( #52734 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a.
* add ports
2019-03-14 15:39:11 +00:00
Chris Archibald
b5144a36ab
New Module: na_elementsw_initiators ( #52375 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b42886aebb4d2b2ab27c91c96d97858a.
* new module
* update author
* update copyright
* fixes
2019-03-14 15:38:49 +00:00
Brian Coca
e280f2f7b0
Try to get correct buffer size to avoid races ( #53547 )
...
* Try to get correct buffer size to avoid races
fixes #51393
* fix test, mock buffer function since all is mocked
2019-03-14 11:04:56 -04:00
Sam Doran
55306906cf
Correctly count processors on ARM systems. ( #52884 )
...
- Add unit tests for Linux CPU info
- Add cpuinfo output from several systems for unit tests
Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-03-14 10:31:47 -04:00
Chris Archibald
fa2e8d8fe1
New Module: na_ontap_snapshot_policy.py ( #52299 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* add snapshot policy
* Revert "Revert "changes to clusteR""
This reverts commit 8e56b999e6cf6a65de339e516f7134a6b6b39cba.
* review change
2019-03-14 13:30:51 +00:00
Bojan Vitnik
edcd921258
XenServer: Fix wrong FakeXenAPI module import in unit tests ( #53634 )
2019-03-14 17:03:52 +05:30
Chris Archibald
0e77eeb205
Merging of broadcast domain and Broadcast domain port ( #51978 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Add domain ports in to broadcast domain
* ansibot fixes
* Revert "Revert "changes to clusteR""
This reverts commit 2713c75f31cbf81ef1785d6ab9ea5d0d4db9af60.
* Fix author
2019-03-13 18:32:54 +00:00
albinpopote
473596a472
New module: na_ontap_net_subnet ( #50491 )
...
* New module: na_ontap_net_subnet
* Sanity tests Fix
* Fix: correct examples
* Fix: examples syntax
* Correction: Sanity 1
* Code review
* Code review + Bugfix
* Add Unit Tests
* Fix Sanity Indentation tests
* FIX: Validator change request
* FIX : Change unit test json fail message
* FIX: Typo ip_ranges in example section
* FIX: Remove NetApp copyright
2019-03-13 18:31:55 +00:00
Chris Archibald
2e47e9fffa
Modify na_ontap_net_port NetAppModule module format, allow for multiple ports, unit tests ( #52286 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* add update to netport
* Revert "Revert "changes to clusteR""
This reverts commit 8e56b999e6cf6a65de339e516f7134a6b6b39cba.
* fix docs
* fix option
2019-03-13 13:06:37 +00:00
Abhijeet Kasurde
8d4343b94c
iptables: implement log_level parameter ( #52880 )
...
Fixes : #25100
Based upon https://github.com/ansible/ansible/pull/25118
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-03-13 18:10:59 +05:30
Abhijeet Kasurde
f0ef4dae05
iptables: Add support for gateway parameter ( #53465 )
...
When user specifies the JUMP value to 'tee', gateway is required.
This fix adds new parameter 'gateway' to support this functionality.
Fixes : #53170
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-03-13 17:47:44 +05:30
Felix Fontein
c2cb82ec14
ACME: add support for IP identifiers ( #53660 )
...
* Adding support for IP identifiers according to https://tools.ietf.org/html/draft-ietf-acme-ip-05 .
* Add changelog.
* Make sure that the authorizations return value is unchanged for CSRs with DNS-only SANs.
* Remove unneeded import.
* type -> identifier_type
* Python 2.6 compatibility.
* Fix unit tests.
* Add IP address normalization.
* Extend tests.
* Move data into fixtures.
* Adjust BOTMETA.
2019-03-13 10:16:56 +01:00
krisvasudevan
651fc88303
Added support for infoblox member object ( #53174 )
...
* changes for member module
2019-03-12 17:48:51 +05:30
Nilashish Chakraborty
9365c0f468
New module for BGP configuration management in Arista EOS ( #52722 )
...
* New module for BGP in EOS
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Add function to validate input
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix line indentation
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Add integration tests
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix CI
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix sanity test failure
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Remove unused code
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-03-12 17:31:58 +05:30
Jordan Borean
c8c326d88e
Use unicode string for auto interpreter warnings ( #53671 )
...
* Use unicode string for auto interpreter warnings
* Added some unit tests for interpreter selection
* Fix python 3 syntax issues
2019-03-12 14:16:49 +10:00
Brian Coca
f73e03632f
remove obsolete set_play on play_context ( #47934 )
...
* remove redundant assignments from play
- fix unit tests
2019-03-11 18:25:48 -04:00