Commit graph

2801 commits

Author SHA1 Message Date
Toshio Kuratomi
4cad7e479c
Galaxy publish fix (#63580)
* Handle galaxy v2/v3 API diffs for artifact publish response

For publishing a collection artifact
(POST /v3/collections/artifacts/), the response
format is different between v2 and v3.

For v2 galaxy, the 'task' url returned is
a full url with scheme:

        {"task": "https://galaxy-dev.ansible.com/api/v2/collection-imports/35573/"}

For v3 galaxy, the task url is relative:

        {"task": "/api/automation-hub/v3/imports/collections/838d1308-a8f4-402c-95cb-7823f3806cd8/"}

So check which API we are using and update the task url approriately.

* Use full url for all wait_for_import messages

Update unit tests to parameterize the expected
responses and urls.

* update explanatory comment

* Rename n_url to full_url.

* Fix issue with overwrite of the complete path

* Fixes overwrite of the complete path in case there's extra path stored
  in self.api_sever
* Normalizes the input to the wait_import_task function so it receives
  the same value on both v2 and v3

Builds on #63523

* Update unittests for new call signature

* Add changelog for ansible-galaxy publish API fixes.
2019-10-16 15:23:12 -07:00
Matt Clay
20be8693ba Revert "Remove top-level arguments from network modules (#62603)"
This reverts commit d5ac3f7e77.
2019-10-15 12:53:51 -07:00
Nathaniel Case
d5ac3f7e77
Remove top-level arguments from network modules (#62603)
Eh, 2.10 is close enough

* drop top-level authorize

* Remove from documentation

* Remove load_params

* nxos_hsrp: I don't think this is an actual module parameter

* Move local params to provider

* Promote 'timeout' to a real parameter for eos_eapi

* Provider now always has auth_pass
2019-10-15 11:41:35 -04:00
Sam Doran
e9d29b1fe4 Properly mask no_log values is sub parameters during failure (#63405)
* Get no_log parameters from subspec

* Add changelog and unit tests

* Handle list of dicts in suboptions

Add fancy error message (this will probably haunt me)

* Update unit tests to test for list of dicts in suboptions

* Add integration tests

* Validate parameters in dict and list

In case it comes in as a string

* Make changes based on feedback, fix tests

* Simplify validators since we only need to validate dicts

Add test for suboptions passed in as strings to ensure they get validated properly and turned into a dictionary.

ci_complete

* Add a few more integration tests
2019-10-14 09:20:07 -07:00
Xu Yuandong
36457bebc9 add a new module ce lacp to manage Eth-Trunk interfaces mode (#58077)
* add a new module to manage lacp

* add a new module to manage lacp

* add a new module to manage lacp

* add a new module to manage lacp

* add a new module to manage lacp

* update for shippable.

* update for shippable

* add units test to module ce_lacp.

* add units test to module ce_lacp.

* add units test to module ce_lacp.

* update

* update

* update

* update

* update

* update

* update for shippable.

* for shippable

* update ignore.txt to reslove conflict

* update for shippable

* update

* update unittest to remove provider.

* update unittest for shipppable.

* use to_native.

* intergration test

* syntax error

* syntax error

* syntax error

* update for `Andersson007` review and thanks.

* update for shippable
2019-10-14 15:14:43 +01:00
Matt Martz
7f4befdea7
Wrap CLI Passwords with AnsibleUnsafeText, ensure unsafe context is not lost during encode/decode (#63351)
* Wrap .encode and .decode on AnsibleUnsafe objects

* runme.sh needs to be executable

* ci_complete

* Update changelog with CVE
2019-10-11 09:17:10 -05:00
Adrian Likins
bad72693e4 Stop appending '/api' to galaxy server url (#63238)
* Stop appending '/api' to configured galaxy server url

Since not all galaxy REST api server URLs live
at '/api', stop always appending it to the
'url' value loaded from config.

* Add note about manually migrated galaxy configs and /api

* Add '/api/' to galaxy url and guessing if galaxy API

* Fix most unit tests (update to expect /api/)

* Fix test_initialise_unknown unit test

Since we retry now with an added /api/, mock it as well.

* Update fallback default avail_ver to new format
2019-10-08 15:09:19 -07:00
Pedro Magalhães
67d9cc45bd maven_artifact.py - add support for version ranges by using spec (#54309) (#61813) 2019-10-08 15:24:50 +01:00
Adrian Likins
239d639fee Add support for automation-hub authentication to ansible-galaxy (#63031)
Adds support for token authentication in Automation Hub. Fixes: ansible/galaxy-dev#96
2019-10-04 17:57:37 -04:00
Mike Wiebe
918f768890 [stable-2.9] Fix nxos_l3_interfaces module and tests (#62545)
* Fix nxos_l3_interfaces module and tests

* Use get_interface_type

* get_interface_type in utils lib
2019-10-02 13:43:17 -04:00
Will Smith
50d1cbd30a fix issue #60237 when non-ascii is returned from the WLC (#60243)
* fix issue #60237 when non-ascii is returned from the WLC

* update test to work with python3 through use of six library

* remove trailing white space
2019-10-01 16:52:35 -04:00
Dag Wieers
7fa1e4f70f Fix sanity checks (#62782)
This PR fixes all new ACI sanity issues.
2019-09-24 09:00:00 -04:00
David
a2846613b8 Apcon modules (#62028)
* Add APCON modules

* Fix cli regex

* revise for passing sanity tests

* Add unit test for apcon_command module
Remove apconos_config.py apconos_update.py apconos_cert.py for now

* Fix for santiy test

* test

* Ignore action-plugin-docs test

* Add apcon_command module

* conflict solved

* merge

* Fix for sanity test

* Revise integration test

* Mark integration test unstable

* Remove integration test temprorily

* 1. Ignored privilege escalation;
2. Ignored get_configure command;
3. Removed doc_fragments;
2019-09-23 16:42:17 -04:00
Sam Doran
987265a6ef
Account for empty strings when splitting the host pattern (#62442)
Improve tests
- add more unit test cases
- add specific integration test with more cases

Testing shows no major downside to calling .strip() twice in a comprehension vs. using a regular for loop and only calling .strip() once. Going with the comprehension for ease of maintenance and because comprehensions are optimized in CPython.
2019-09-20 16:03:51 -04:00
Evgeni Golov
8d0c193b25 allow before/after diff to be NoneType (#62582)
when creating or deleting an object (e.g. via an API), before/after can
be `None` (or at least represented as such by the used library). to
avoid modules havig to do

    diff={'before': before or '', 'after': after or ''}

let's just convert `None` to an empty string that can be diffed properly
2019-09-20 15:47:18 -04:00
Jordan Borean
85eba9d860 Fix test_galaxy failing test 2019-09-19 13:20:43 -07:00
Sloane Hertel
4cc4c44dd0
Add a representer for AnsibleUnsafeBytes (#62598)
* Add a representer for AnsibleUnsafeBytes

* changelog

* Add unit tests

Remove native string test until we have time to evaluate how this the function should work
Add non-ASCII characters to test cases

* Compare to the string on Python 2

Add a comment in the test about this behavior
2019-09-19 14:27:48 -04:00
Christian Clauss
23c7bf6481 Fix access to exception using Python 3 scoping rules (#62268) 2019-09-17 13:28:37 -04:00
Trishna Guha
5cd3be9129
gather_facts action plugin: Fix loading network facts modules for smart gathering (#59856)
* fix smart gathering for network_os in gather_facts action plugin

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* Fix detection of network_os for smart gathering

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* Add unittest

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* make pep8 happy

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-09-17 18:35:44 +05:30
Mike Wiebe
b0668e17ed nxos_telemetry replaced state (#62368) 2019-09-17 16:49:30 +05:30
krisvasudevan
8bc397c229 Bug fixes to the Infoblox NIOS modules (#58521)
* Update nios_ptr_record to fix bug #58378

* Update to api.py to fix bug #58378 and #56856

* Update test_nios_ptr_record.py to fix bug #58378

* Update nios_ptr_record_idempotence.yml to fix bug #58378

*  Update test_nios_ptr_record.py to fix bug ansible#58378
2019-09-17 09:45:50 +05:30
chkp-orso
b4dcd7c835 Network and address range tests (#62338)
* commit network and address_range

* remove test_cp_mgmt_network from ignore.txt
2019-09-16 11:03:03 +02:00
chkp-orso
6bb8861b0e unique tests (#62328) 2019-09-16 11:00:28 +02:00
chkp-orso
47cf4e6565 Commands tests (#62322)
* commands tests

* add space in order to delete it and tun shipable tests again

* delete space in order to run shipable tests again
2019-09-16 13:51:21 +05:30
chkp-orso
ebdf78d6e4 Forth pr 18 tests (#62216)
* Update test_cp_mgmt_network.py

* 18 tests
2019-09-16 13:32:27 +05:30
chkp-orso
3a5c68205c Third pr 18 tests (#62215)
* Update test_cp_mgmt_network.py

* 18 tests
2019-09-14 09:39:21 +05:30
chkp-orso
271825cfaf Add unit tests for check_point ansible modules (#62214)
* Update test_cp_mgmt_network.py

* 18 tests
2019-09-14 09:38:06 +05:30
Matt Martz
5be0668fb0
Ensure we don't erase unsafe context in TaskExecutor.run on bytes (#62287)
* Ensure we don't erase unsafe context in TaskExecutor.run on bytes. Fixes #62237

* Remove unused import

* Add missing import

* use args splatting for to_unsafe_text/bytes

* Add security issue to changelog

* fix yaml linting issue
2019-09-13 13:14:35 -05:00
chkp-orso
c7f9c3f27e Add unit tests for check_point ansible modules (#62213)
* Update test_cp_mgmt_network.py

* 17 tests
2019-09-13 13:54:29 +02:00
Jordan Borean
46ffcd6c44
ansible-galaxy - add config to control the display wheel (#61902)
* ansible-galaxy - add config to control the display wheel

* Fix changelog and make test more stable

* Don't use display thread at all if progress wheel isn't being shown
2019-09-13 11:06:18 +10:00
Mike Wiebe
f582d74f7c Fix bfd cmd order and test issues (#61943) 2019-09-12 21:45:37 +05:30
Matt Clay
cdc4926340
Fix ansible-test collections requirements installation. (#62181)
* Fix location of unit test requirements.

* Preserve ansible-test unit test requirements.

* Remove redundant unit test requirements.

* Fix location of network test requirements.

* Preserve ansible-test network test requirements.

* Remove redundant network test requirements.

* Add missing ordereddict requirements.

* Load collection requirements correctly.

* Add changelog fragment.
2019-09-12 02:00:33 -07:00
minievg
a9d4415657 Several enhancements for Radware modules and their unit testing (#61467)
* Adding support for Plugin runnable type
Adding support for device arrays in vdirect_runnable module.
Adding "output" dictionary to the vdirect_runnable module result dictionary.

* Adding support for Plugin runnable type
Adding support for device arrays in vdirect_runnable module.
Adding "output" dictionary to the vdirect_runnable module result dictionary.
2019-09-11 10:42:26 -04:00
Egor Zaitsev
fa03f438e7 routeros_facts: fix for error when there's more than 10 interfaces (#61376)
* fix: proper regex for preprocessing routeros output

* test: regression test

* test: fix nondeterministic unit test
2019-09-11 19:42:07 +05:30
Daniel Mellado
7173267095 Fix test_cp_mgmt flake8 issues (#62129)
This commit deletes unused imports for the check_point cp_mgmt tests.
2019-09-11 08:53:44 -04:00
Nathaniel Case
50e09be14f
Allow the use of _paramiko_conn even if the connection hasn't been started. (#61570)
* Allow the use of _paramiko_conn even if the connection hasn't been started.

I'm not sure what the benefit is of Noneing paramiko_conn on close, but will keep for now

* Fix test

* Try to fix up net_put & net_get

* Add changelog
2019-09-09 16:59:20 -04:00
Gonéri Le Bouder
3ea8e0a144 VMware: not ssl.SSLContext if validate_certs false (#57185)
Python < 2.7.9 does not have the ssl.SSLContext attribute.
ssl.SSLContext is only required when we want to validate the SSL
connection. If `validate_certs` is false, we don't initialize the
`ssl_context` variable.

Add unit-test coverage and a little refactoring:

- avoid the use of `mocker`, when we can push `monkeypatch` which is
  `pytest`'s default.
- use `mock.Mocker()` when possible

closes: #57072
2019-09-09 21:41:46 +05:30
Mark Chappell
1f38a12057 Fix behaviour of module_utils/ec2 compare_policies when dealing with bare bools and ints. (#61115)
* module_utils/ec2: (unit tests) Move unit tests for module_utils/ec2.py into test/units/module_utils

- compare_policies was refactored from s3_bucket
- "ec2_utils" doesn't seem to have ever existed

* module_utils/ec2: (unit tests) Add unit test for comparing quoted and unquoted bools and numbers within policies

As per https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_grammar.html

"Values are enclosed in quotation marks. Quotation marks are optional for numeric
and Boolean values."

* module_utils/ec2: Explicitly convert bools and ints to strings when comparing policies

See also: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_grammar.html
2019-09-09 12:08:25 -04:00
Paul Belanger
a680ff2ade
Clean up unused imports for nxos related code (#61856)
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-09-08 22:53:24 -04:00
chkp-amiads
6ccb245a2d test_cp_mgmt_address_range module (#61867)
* test_cp_mgmt_address_range module

* fix test issues

- file location
- api_call is missing from facts
- metclass and import items
2019-09-09 06:51:39 +05:30
Jill R
d49d52eb5f
Add tests for new alias deprecation functionality (#61476)
* Add tests for the alias deprecation added in #61245
2019-09-05 15:47:42 -07:00
Nathan Swartz
4c8407fb83 Fix documentation and facts_from_proxy value in the netapp_e_facts module. (#61072) 2019-09-04 14:34:58 -04:00
Simon Legner
7dbd6116d8 Fix typesetting of "GitLab" (#61702) 2019-09-03 09:22:26 -05:00
Roland Wolters
9744ce1e1d Rename checkpoint to check_point due to legal reasons, fix #61145 (#61172)
* Fix #61145

* Fix type keyword

* Removed file fragment
2019-09-03 19:05:50 +05:30
Alexandre Mulatinho
e4d72dd981 luks_device.py: Allow manipulate LUKS containers with label or UUID (#61603)
* luks_device.py: Allow manipulate LUKS containers with label or UUID

- Allow create a LUKS2 container format with label support
- Allow manipulate (open, close, modify) an LUKS container based on
  both label (LUKS2 format) or UUID instead of using devices only.

Fixes: #58973
Signed-off-by: Alexandre Mulatinho <alex@mulatinho.net>

* test_luks_device.py: organizing tests to support labels

- Add label on some tests and fix errors reported by Shippable

Signed-off-by: Alexandre Mulatinho <alex@mulatinho.net>

* luks_device.py: adjusting versions and messages

- Modifying version_added from 2.9 to 2.10
- Fixing some messages
- Created a changelog fragment
- Moving blkid from scope

Fixes #58973
Signed-off-by: Alexandre Mulatinho <alex@mulatinho.net>
2019-09-03 05:40:09 +02:00
Vitalii Kostenko
6f7cd8370a Ansible FTD Module improvements and tests update. (#60640)
* Ansible FTD Module improvements and tests update.

* Fix sanity tests

* Fix formatting
2019-09-03 08:38:11 +05:30
Jordan Borean
a7fd6e99d9
Refactor galaxy collection API for v3 support (#61510)
* Refactor galaxy collection API for v3 support

* Added unit tests for GalaxyAPI and starting to fix other failures

* finalise tests

* more unit test fixes
2019-08-30 11:55:19 +10:00
Paul Belanger
f23bb6f7bd Properly load module_prefix for collections in task_executor.py (#60420)
* Properly load module_prefix for collections

Now that we are using collections for tasks, we need to properly split
the name and load the prefix properly.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>

* Add unit tests for task_executor

This commit adds missing unit tests for action handler in test_task_executor.

Signed-off-by: Daniel Mellado <dmellado@redhat.com>
2019-08-29 09:04:26 -07:00
Nathaniel Case
41e4ece44b
Defer passlib dependency from plugins/filter/network.py (#59304)
* Defer passlib dependency from plugins/filter/network.py to what utils/encrypt.py provides.

* Revert test changes now that passlib is optional
2019-08-29 09:01:30 -04:00
Matt Davis
d81ae27a4a
Collection role relative deps (#61517)
* default collection support

* playbooks run from inside a registered collection will set that collection as the first item in the search order (as will all non-collection roles)
* this allows easy migration of runme.sh style playbook/role integration tests to collections without the playbooks/roles needing to know the name of their enclosing collection

* disable default collection test under Windows

* enable collection search for role dependencies

* unqualified role deps in collection-hosted roles will first search the containing collection
* if the calling role has specified a collections search list in metadata, it will be appended to the search order for unqualified role deps

* disable cycle detection unit test

* failing on 3.7+, needs proper cycle detection
* see #61527
2019-08-29 02:25:44 -07:00
ndclt
649d612d64 keycloak: improve testability of authentification (#57611) 2019-08-29 10:15:47 +02:00
Sam Doran
48a67f4465 Fix race condition in test_sunos_get_uptime_facts
Mock time.time() to return consistent time value.
2019-08-29 00:22:48 -07:00
Chris Archibald
799b0fac52 New module: cvs snapshots for aws (#61023)
* New module: cvs snapshots for aws

* fixeS
2019-08-29 00:24:38 -04:00
Chris Archibald
53b2a261de new module: Cloud Volumes for AWS, active Directory (#61342)
* new module

* fixes

* update
2019-08-29 00:21:45 -04:00
Chris Van Heuveln
f890c9692f nxos_bfd_interfaces: new module (#61407)
* bfd_interfaces: initial commit

* fix state methods, add more UT

* Add integration tests, support for N6K

* minor comment cleanups

* lint 1

* lint 2

* lint 3

* lint 4

* lint 5

* retrigger shippable

* retrigger shippable

* PR review updates: /bfd_echo/echo/, updated tests

* fix overridden logic and integration test
2019-08-29 09:36:10 +05:30
Chris Archibald
9f006dd8c7 new module netapp csv pools for aws (#61340)
* new module cvs pools

* fixes

* updates

* fixes

* fixes

* fixes
2019-08-28 23:30:45 -04:00
Chris Archibald
4879cf8fff new module: Cloud Volume for AWS FileSystems (#61343)
* new module"

* fixes

* updates
2019-08-28 23:02:15 -04:00
James Cammarata
51b33b79c0
T woerner max concurrent (#60702)
* play, block, task: New attribute forks

With this it is possible to limit the number of concurrent task runs.
forks can now be used in play, block and task. If forks is set in different
levels in the chain, then the smallest value will be used for the task.

The attribute has been added to the Base class as a list to easily provide
all the values that have been set in the different levels of the chain.

A warning has been added because of the conflict with run_once. forks will
be ignored in this case.

The forks limitation in StrategyBase._queue_task is not used for the free
strategy.

Signed-off-by: Thomas Woerner <twoerner@redhat.com>

* Handle forks in free strategy

The forks attribute for the free strategy is handled in run in the free
StrategyModule. This is dony by counting the amount of tasks where the uuid
is the same as the current task, that should be queued next. If this amount
is bigger or equal to the forks attribute from the chain (task, block,
play), then it will be skipped to the next host. Like it is also done with
blocked_hosts.

Signed-off-by: Thomas Woerner <twoerner@redhat.com>

* Test cases for forks with linear and free strategy

With ansible_python_interpreter defined in inventory file using
ansible_playbook_python.

Signed-off-by: Thomas Woerner <twoerner@redhat.com>

* Changing forks keyword to throttle and adding some more docs
2019-08-28 18:47:39 -05:00
Milan Zink
7ff7ce0123 New storage/netapp module - na_ontap_kerberos_realm (#59923)
* New module na_ontap_kerberos_realm

* Copyright updated

* Unit test for modules + fixed required_if parameters issue

* reverting state=modify

* fixing test

* Fixing imports section
2019-08-28 18:03:45 -04:00
Matt Clay
8521474f06 Revert "maven_artifact.py - add support for version ranges by using spec (#54309)"
This reverts commit 145a6a8756.
2019-08-28 14:41:11 -07:00
Nathan Swartz
1d9b473e56 Add netapp_e_firmware module (#59529)
* Add na_santricity_firmware module.

Manages NetApp E-Series firmware upgrades.
Includes unit and integration tests.

* Add legacy support to na_santricity_firmware module.

* Rename na_santricity_firmware to netapp_e_firmware

* Improved netapp_e_firmware example documentation.
2019-08-28 17:17:35 -04:00
Nathan Swartz
f02a62db50 Add netapp_e_drive_firmware (#59528)
* Add na_santricity_drive_firmware module

Manage NetApp E-Series drive firmware downloads
Includes unit and integration tests

* Rename na_santricity_drive_firmware to netapp_e_drive_firmware
2019-08-28 17:15:19 -04:00
Adrian Likins
af01cb114c
Support galaxy v3/autohub API in ansible-galaxy (#60982)
* Add galaxy collections API v3 support

Issue: ansible/galaxy-dev#60

- Determine if server supports v3

Use 'available_versions' from `GET /api`
to determine if 'v3' api is available on
the server.

- Support v3 pagination style

ie, 'limit/offset style', with the paginated
responses based on https://jsonapi.org/format/#fetching-pagination

v2 galaxy uses pagination that is more or less
'django rest framework style' or 'page/page_size style',
based on the default drf pagination described
at https://www.django-rest-framework.org/api-guide/pagination/#pagenumberpagination

- Support galaxy v3 style error response

The error objects returned by the galaxy v3 api are based
on the JSONAPI response/errors format
(https://jsonapi.org/format/#errors).

This handles that style response. At least for publish_collection
for now. Needs extracting/generalizing.

Handle HTTPError in CollectionRequirement.from_name()
with _handle_http_error(). It will raise AnsibleError
based on the json in an error response.

- Update unit tests

update test/unit/galaxy/test_collection*
to paramaterize calls to test against
mocked v2 and v3 servers apis.

Update artifacts_versions_json() to tale an
api version paramater.

Add error_json() for generating v3/v3 style error
responses.

So now, the urls generated and the pagination schema
of the response will use the v3 version if
the passed in GalaxyAPI 'galaxy_api' instance
has 'v3' in it's available_api_versions

* Move checking of server avail versions to collections.py

collections.py needs to know the server api versions
supported before it makes collection related calls,
so the 'lazy' server version check in api.GalaxyAPI
is never called and isn't set, so 'v3' servers weren't
found.

Update unit tests to mock the return value of the
request instead of GalaxyAPI itself.
2019-08-28 16:59:34 -04:00
Ujwal Komarla
5e200f2d0a Resource Module for exos_lldp_global (#60988)
* Model->Role->Module.
Yet to import modules/exos_facts.py

* exos_facts refactor

* future-import and metaclass

* Fix unit tests

* Fix openconfig-lldp word and send_request API from Httpapi class

idempotent, json.dumps in base class, send_requests from base exos class

* action file for exos_lldp_global

* Add intergration tests for exos_lldp_global

* Test data field of the request
2019-08-28 13:58:45 -04:00
chkp-orso
c3d37f39b7 Checkpoint Network module (#61309)
* network module

* delete cp_network, cp_network_facts, and change test_cp_network to match the new network module

* Update ignore.txt

* adding state: present

* update example

* list to dict

* Update test_cp_mgmt_network.py

* remove white-space
2019-08-28 21:46:05 +05:30
Chris Archibald
49cff3d4a6 New options to Interface (#60499)
* update to interface

* force ansibot to run again

* fixes
2019-08-28 11:45:15 -04:00
Chris Archibald
c6710ebf6b Auto support logs were not being created (#60901)
* Auto support logs were not being created

* fixes
2019-08-28 11:23:54 -04:00
Don Yao
7a1237781d Files from PR#60621, continue working on fortios_facts modules (#61405)
* Files from PR#60621, continue working on fortios_facts modules

* PR#61405 unit test module test_fortios_facts.py

* sanity fixed in test_fortios_facts unit test module
2019-08-28 19:58:41 +05:30
anas-shami
f4fa4e4e0e Feature/onyx wjh upstream (#61269)
* support wjh module config with testing file

* Fix version, fix enable/disable all groups

* refactor get current group status

* fix indentation and change command_generate function, add test cases and check them

* Update onyx_wjh.py

fix description

* Update onyx_wjh.py

remove extra spaces, add type to choices after run validate-modules

* fix format string - pytest use 2.6.6 format function

* Remove unused imports

* chenge onyx_wjh file permessions

* Fix version, fix enable/disable all groups

* fix indentation and change command_generate function, add test cases and check them

* support wjh module config with testing file

* Fix version, fix enable/disable all groups

* refactor get current group status

* fix indentation and change command_generate function, add test cases and check them

* Update onyx_wjh.py

fix description

* Update onyx_wjh.py

remove extra spaces, add type to choices after run validate-modules

* fix format string - pytest use 2.6.6 format function

* fix format string - pytest use 2.6.6 format function

* chenge onyx_wjh file permessions
2019-08-28 19:41:56 +05:30
sushma-alethea
73767778e0 icx: new module icx_lldp (#61310)
* new module

* icx_cliconf

* icx test units module

* icx units module

* added notes

* new changes

* new module

* new fix

* new changes

* new fixes

* new changes

* Rebase
2019-08-28 18:26:31 +05:30
Miguel Angel Muñoz González
da762018e8 FortiOS modules for 2.9 - 11 (#61387) 2019-08-28 13:24:59 +05:30
sushma-alethea
ee3e8704e8 icx: new module icx_interface (#60037)
* new module

* new module

* new module

* new terminal

* new terminal

* new terminal

* new terminal

* new terminal

* new terminal

* new cliconf

* new cliconf

* cliconf

* cliconf

* icx cliconf

* icx cliconf

* icx_cliconf

* icx_cliconf

* icx test units module

* icx test units module

* icx units module

* icx units module

* icx banner unit test

* icx banner unit test

* icx banner unit test

* PR changes resolved

* PR changes resolved

* changes resolved

* changes resolved

* Changes Resolved

* Changes Resolved

* check_running_config changes resolved

* check_running_config changes resolved

* check_running_config changes resolved

* added notes

* added notes

* new changes

* PR comments resolved

* new module icx_interface

* new module icx_interface

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* new fix

* new fix

* new fix

* new fix

* new fix

* new fix

* new fix

* new fix

* new fix

* new fix

* new fix

* new changes

* new changes

* new changes

* new changes

* new changes

* new changes

* notes updated

* Update icx.py

* Whitespace error
2019-08-28 09:03:50 +05:30
sushma-alethea
746acccc64 Branch icx l3 interface new (#61363)
* new module

* icx_cliconf

* icx test units module

* icx test units module

* icx units module

* icx units module

* icx banner unit test

* added notes

* new changes

* New branch to prevent complex rebase

* Rebase had problems
2019-08-28 08:59:57 +05:30
Matt Clay
f510d59943
Support relative imports in AnsiballZ. (#61196) 2019-08-27 18:11:21 -07:00
Ruben-Bosch
5549788c8d win_updates: Add flag to only download updates without installing them (#58631)
* win_updates: Add flag to only download updates without installing them

* Fix test

* Fixes ansible-test (pep8)

* Fix integration test

* Fix actual fix.
2019-08-28 09:46:59 +10:00
Felix Fontein
c9a9bd9d64
OneView: rename _facts -> _info (#61208)
* Rename OneView _facts modules -> _info

* Adjust PR #.

* Forgot to update test names.

* Remove superfluous blank line.

* Some more things from review.
2019-08-27 23:21:40 +02: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
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
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
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
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
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
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
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
sushma-alethea
b6e71c5ffb icx: new module icx_copy (#59920)
* new cliconf

* cliconf

* icx cliconf
* icx test units module

* icx units module
* icx banner unit test

* PR changes resolved

* check_running_config changes resolved
* added notes

* removed icx rst

* deleted icx rst

* icx .rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

* new module icx_copy

* notes updated
2019-08-27 08:57:31 +05:30
sushma-alethea
fb1094f38d icx: new module icx_system (#60024)
* 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_system

* new changes

* new changes

* new changes

* Fixed bot bugs

* notes updated
2019-08-27 08:55:46 +05:30
sushma-alethea
d2429cbd6a icx: new module icx_vlan (#59985)
* 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_vlan

* new changes

* new fixes

* new fixes

* new fixes

* new fixes

* new fixes

* new fixes

* Fixed bugs

* Fixed bot bugs

* Fixed bot bugs

* Fixed bot bugs

* Fixed bot bugs

* Fixed bot bugs

* Fixed bot bugs

* Fixed bot errors

* notes updated
2019-08-27 08:31:17 +05:30
Josh Edmonds
f62f1ab54c Added comment field to na_ontap_volume module (#59566)
* Added comment field to na_ontap_volume module

* fixed zapi attribute name in create_volume_options(), and fix to ensure comment field can be set back to an empty string
2019-08-26 10:14:39 -04:00
Matt Martz
5941e4c843
Properly JSON encode AnsibleUnsafe, using a pre-processor (#60602)
* Properly JSON encode AnsibleUnsafe, using a pre-processor. Fixes #47295

* Add AnsibleUnsafe json tests

* Require preprocess_unsafe to be enabled for that functionality

* Support older json

* sort keys in tests

* Decouple AnsibleJSONEncoder from isinstance checks in preparation to move to module_utils

* Move AnsibleJSONEncoder to module_utils, consolidate instances

* add missing boilerplate

* remove removed.py from ignore
2019-08-26 09:08:22 -05:00
Chris Archibald
53df4d8186 New options for identity_preserve (#60498)
* new option

* Force ansibot to run again
2019-08-26 10:03:26 -04:00
Miguel Angel Muñoz González
d95a0f235b Fortinet's new module for fortios_user_local (#61054)
* Fortinet's new module for fortios_user_local

* New version of fortios_user_local

* Update unit tests with removal of attribute
2019-08-26 18:56:30 +05:30
Miguel Angel Muñoz González
69fcd771e0 FortiOS modules for 2.9 - 8 (#61308)
* FortiOS modules for 2.9 - 8

* Add missing files

* Fix trailing spaces
2019-08-26 18:55:53 +05:30
sushma-alethea
c729f3ba61 icx: new module icx_facts (#61225)
* new cliconf

* cliconf

* icx cliconf

* icx test units module

* icx units module

* icx banner unit test

* added notes

* new changes

* icx .rst

* modified platform_index.rst

* test

* Revert "test"

This reverts commit 99b72c6614.

* new module icx_facts

* fixtures added

* Rebase causing problem on branch-PR4. So created new PR

* new commit

* new changes
2019-08-26 14:00:00 +05:30
sushma-alethea
7e1a347695 icx: new module icx_linkagg (#59967)
* new module

* new module

* new terminal

* new terminal

* new cliconf

* new cliconf

* cliconf

* cliconf

* icx cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx test units module

* icx units module

* icx units module

* icx banner unit test

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* added notes

* removed icx rst

* new changes

* new changes

* deleted icx rst

* icx .rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* changes resolved

* PR comments resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* Update platform_index.rst

PR comment resolved

* new module icx_linkagg

* bug fixes

* Fixing bot errors

* Trying to fix aggregate document error

* Added options under aggregate in documentation

* Fixed bot error

* Fixed documentation error

* Fix bot error

* notes updated
2019-08-26 09:12:59 +05:30
sushma-alethea
20ec927280 icx: new module icx_static_route (#59978)
* new module

* new module

* new terminal

* new terminal

* new cliconf

* new cliconf

* cliconf

* cliconf

* icx cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx test units module

* icx units module

* icx units module

* icx banner unit test

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* added notes

* removed icx rst

* new changes

* new changes

* deleted icx rst

* icx .rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* changes resolved

* PR comments resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* Update platform_index.rst

PR comment resolved

* new module icx_static_route

* new changes

* new changes

* notes updated
2019-08-26 09:12:10 +05:30
Chris Archibald
265fcaac40 Add Rest API to DNS (#59937)
* add rest to dns

* fix issues with tests

* fixes to netapp.py

* fixes

* fixes

* add updates

* fix issues
2019-08-25 10:52:01 -04:00
Josh Edmonds
25db0c7678 Added NetApp ONTAP Adaptive QoS Policy Module (#58707)
* Added NetApp ONTAP Adaptive QoS Policy Module

* updated documentation to fix validation errors

* Updates to documentation fields and modified logging function to log against the current vserver

* Fixed minor formatting issues

* Documentation update for consistency - author field

* Empty commit to force CI

* fixes
2019-08-25 10:50:34 -04:00
Miguel Angel Muñoz González
a6b124cccc FortiOS modules for 2.9 - 7 (#61217) 2019-08-25 12:54:45 +05:30
sushma-alethea
25053827a5 icx: new module icx_config (#59914)
* 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

* new module

* new cliconf

* cliconf

* icx cliconf

* icx test units module

* icx units module

* icx banner unit test

* added notes

* added notes

* removed icx rst

* new changes

* new changes

* deleted icx rst

* icx .rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* changes resolved

* PR comments resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* Update platform_index.rst

PR comment resolved

* new module icx_config

* new changes

* new changes in icx_config

* PR changes

* PR comments resolved

* PR comments resolved

* new changes

* new changes

* Review comments

* updated notes section
2019-08-23 16:02:51 +05:30
Trishna Guha
f0ef624cff
Add nxos_l3_interfaces resource module (#61021)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-08-23 15:06:26 +05:30
Miguel Angel Muñoz González
9d77d06fa4 Fortinet's new module for fortios_user_password_policy (#61055)
* Fortinet's new module for fortios_user_password_policy

* Retriggering due to Shippable failure
2019-08-23 14:55:47 +05:30
Miguel Angel Muñoz González
a6837609e2 FortiOS modules for 2.9 - 6 (#61170)
* FortiOS modules for 2.9 - 5

* Update fortios_firewall_vip.py

* Update fortios_firewall_vip6.py
2019-08-23 14:54:43 +05:30
frankshen01
30c9abf6e4 Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_ip_address_type (#61088)
* Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_ip_address_type

* Update fortios_wireless_controller_hotspot20_anqp_ip_address_type.py

* Update fortios_wireless_controller_hotspot20_anqp_ip_address_type.py
2019-08-23 12:23:15 +05:30
frankshen01
ec348bb2ac Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_nai_realm (#61089)
* Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_nai_realm

* Update fortios_wireless_controller_hotspot20_anqp_nai_realm.py

* Update fortios_wireless_controller_hotspot20_anqp_nai_realm.py
2019-08-23 12:21:42 +05:30
frankshen01
eb2e0dcc51 Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_network_auth_type (#61109)
* Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_network_auth_type

* Update fortios_wireless_controller_hotspot20_anqp_network_auth_type.py

* Update fortios_wireless_controller_hotspot20_anqp_network_auth_type.py
2019-08-23 12:04:39 +05:30
frankshen01
bb06aed6d8 Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_roaming_consortium (#61110)
* Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_roaming_consortium

* Update fortios_wireless_controller_hotspot20_anqp_roaming_consortium.py
2019-08-23 11:59:20 +05:30
frankshen01
20327589f7 Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_venue_name (#61112) 2019-08-23 11:57:33 +05:30
frankshen01
4449f3a815 Fortinet's new module for fortios_wireless_controller_hotspot20_h2qp_conn_capability (#61114)
* Fortinet's new module for fortios_wireless_controller_hotspot20_h2qp_conn_capability

* Update fortios_wireless_controller_hotspot20_h2qp_conn_capability.py
2019-08-23 11:32:52 +05:30
Miguel Angel Muñoz González
a549969b85 Fortinet's new module for fortios_vpn_certificate_crl (#61124) 2019-08-23 11:28:56 +05:30
frankshen01
81bff01893 Fortinet's new module for fortios_wireless_controller_hotspot20_h2qp_operator_name (#61125) 2019-08-23 11:27:47 +05:30
Miguel Angel Muñoz González
1d43c15c64 Fortinet's new module for fortios_vpn_certificate_local (#61126) 2019-08-23 11:26:08 +05:30
Miguel Angel Muñoz González
f5cc653865 Fortinet's new module for fortios_vpn_certificate_ocsp_server (#61128) 2019-08-23 11:24:56 +05:30
Miguel Angel Muñoz González
ae53e38ceb Fortinet's new module for fortios_vpn_certificate_remote (#61129) 2019-08-23 11:24:01 +05:30
Miguel Angel Muñoz González
8f61e4e39e Fortinet's new module for fortios_vpn_ssl_web_user_bookmark (#61137) 2019-08-23 11:23:02 +05:30
Miguel Angel Muñoz González
e637934e2c Fortinet's new module for fortios_waf_main_class (#61139) 2019-08-23 11:21:35 +05:30
Miguel Angel Muñoz González
d41bf3409d Fortinet's new module for fortios_waf_signature (#61140) 2019-08-23 11:20:22 +05:30
Miguel Angel Muñoz González
af5324b764 Fortinet's new module for fortios_waf_sub_class (#61141) 2019-08-23 11:18:42 +05:30
Miguel Angel Muñoz González
7a8f37f9e8 Fortinet's new module for fortios_wanopt_auth_group (#61142) 2019-08-23 11:17:15 +05:30
Miguel Angel Muñoz González
4b8d32d889 Fortinet's new module for fortios_wanopt_cache_service (#61143) 2019-08-23 11:15:46 +05:30
Miguel Angel Muñoz González
9a53058dda Fortinet's new module for fortios_wanopt_content_delivery_network_rule (#61144) 2019-08-23 11:09:44 +05:30
Miguel Angel Muñoz González
2aa52a42a9 Fortinet's new module for fortios_wanopt_peer (#61146) 2019-08-23 11:06:48 +05:30
Miguel Angel Muñoz González
f3daab328b Fortinet's new module for fortios_wanopt_remote_storage (#61147) 2019-08-23 11:05:48 +05:30
Miguel Angel Muñoz González
8e89306328 Fortinet's new module for fortios_wanopt_webcache (#61148)
* Fortinet's new module for fortios_wanopt_webcache

* Fix minor typo
2019-08-23 11:04:43 +05:30
Miguel Angel Muñoz González
456ca6c817 Fortinet's new module for fortios_web_proxy_debug_url (#61149) 2019-08-23 11:03:11 +05:30
Miguel Angel Muñoz González
b40bab6a11 Fortinet's new module for fortios_web_proxy_forward_server (#61150) 2019-08-23 11:02:16 +05:30
Miguel Angel Muñoz González
c5bc51e365 Fortinet's new module for fortios_web_proxy_forward_server_group (#61152) 2019-08-23 11:00:29 +05:30
Miguel Angel Muñoz González
5b9f40ec1a Fortinet's new module for fortios_web_proxy_url_match (#61153) 2019-08-23 10:43:18 +05:30
Miguel Angel Muñoz González
fa05a7960f Fortinet's new module for fortios_web_proxy_wisp (#61154) 2019-08-23 10:36:23 +05:30
Miguel Angel Muñoz González
be48bb81ce Fortinet's new module for fortios_wireless_controller_ap_status (#61155) 2019-08-23 10:34:01 +05:30
Miguel Angel Muñoz González
81617cf084 Fortinet's new module for fortios_wireless_controller_ble_profile (#61156) 2019-08-23 10:32:55 +05:30
frankshen01
1d5612bd09 Fortinet's new module for fortios_wireless_controller_hotspot20_h2qp_osu_provider (#61158) 2019-08-23 10:31:19 +05:30
Miguel Angel Muñoz González
f0c21c61b3 Fortinet's new module for fortios_wireless_controller_timers (#61159) 2019-08-23 10:29:26 +05:30
Miguel Angel Muñoz González
d4c9d13991 Fortinet's new module for fortios_wireless_controller_vap_group (#61160) 2019-08-23 10:26:31 +05:30
frankshen01
24ffd77fd8 Fortinet's new module for fortios_wireless_controller_hotspot20_h2qp_wan_metric (#61161) 2019-08-23 10:24:38 +05:30
Miguel Angel Muñoz González
999f5ef286 Fortinet's new module for fortios_wireless_controller_wtp_group (#61162) 2019-08-23 10:22:50 +05:30
frankshen01
c9bf39aa09 Fortinet's new module for fortios_wireless_controller_hotspot20_icon (#61164) 2019-08-23 10:20:51 +05:30
frankshen01
18a0fc701a Fortinet's new module for fortios_wireless_controller_hotspot20_qos_map (#61165) 2019-08-23 10:19:14 +05:30
Miguel Angel Muñoz González
a1a8ccfd00 Fortinet's new module for fortios_alertemail_setting (#61166) 2019-08-23 10:17:36 +05:30
frankshen01
4a90563c64 Fortinet's new module for fortios_wireless_controller_qos_profile (#61167) 2019-08-23 10:15:19 +05:30
frankshen01
cabad4e0a1 Fortinet's new module for fortios_wireless_controller_inter_controller (#61169) 2019-08-23 10:12:51 +05:30
Miguel Angel Muñoz González
bc9be2b63a Fortinet's new module for fortios_user_setting (#61122)
* Fortinet's new module for fortios_user_setting

* Update fortios_user_setting.py
2019-08-23 10:09:07 +05:30
Felix Fontein
18f7c3b850
Netapp: rename _facts -> _info (#60980)
* Rename na_ontap_gather_facts -> na_ontap_info
Rename netapp_e_facts -> netapp_e_info

* Add changelog.

* Fix sanity.

* Forgot test.

* Forgot to remove 'gather'.

* Fix sanity ignore.

* Remove netapp_e_facts from PR.

* Remove superfluous version_added.
2019-08-22 22:51:45 +02:00
Jordan Borean
e04b2a9697
ansible-galaxy - Add timeout and progress indicator for publish and install (#60660)
* ansible-galaxy - Add timeout and progress indicator for publish

* add progress indicator to install phase as well
2019-08-23 06:27:28 +10:00
Matt Martz
c81a1057e1
Speed up a few more tests by mocking time.sleep (#61186) 2019-08-22 14:33:34 -05:00
Matt Martz
0ff9978bc5
Ensure has_dead_workers functions (#60653)
* Ensure has_dead_workers functions

* Fix up tests

* Add changelog. Fixes #29124
2019-08-22 14:32:49 -05:00
frankshen01
d86968991f Fortinet's new module for fortios_wireless_controller_hotspot20_anqp_3gpp_cellular (#61087) 2019-08-22 19:30:53 +05:30
Miguel Angel Muñoz González
da1f35f494 Fortinet's new module for fortios_wireless_controller_bonjour_profile (#61157) 2019-08-22 19:21:52 +05:30
Miguel Angel Muñoz González
81f7034ee3 Fortinet's new module for fortios_user_security_exempt_list (#61108) 2019-08-22 19:13:57 +05:30
Miguel Angel Muñoz González
3033482f0b Fortinet's new module for fortios_user_quarantine (#61061) 2019-08-22 19:13:25 +05:30
Miguel Angel Muñoz González
dbc4166e82 Fortinet's new module for fortios_user_pop3 (#61058)
* Fortinet's new module for fortios_user_pop3

* Fix chars in documentation not parseable by Ansible

* Update fortios_user_pop3.py
2019-08-22 19:11:24 +05:30
Miguel Angel Muñoz González
82d3a2e826 Fortinet's new module for fortios_user_peergrp (#61057) 2019-08-22 19:10:21 +05:30
Miguel Angel Muñoz González
4e768e2697 Fortinet's new module for fortios_user_peer (#61056)
* Fortinet's new module for fortios_user_peer

* Update fortios_user_peer.py
2019-08-22 19:08:59 +05:30
Miguel Angel Muñoz González
2684635f7f Fortinet's new module for fortios_user_ldap (#61053)
* Fortinet's new module for fortios_user_ldap

* Update fortios_user_ldap.py
2019-08-22 19:02:39 +05:30
Miguel Angel Muñoz González
4130fdbc8a Fortinet's new module for fortios_user_krb_keytab (#61052) 2019-08-22 18:58:29 +05:30
Miguel Angel Muñoz González
f1a24da774 Fortinet's new module for fortios_user_group (#61051) 2019-08-22 18:57:24 +05:30
Miguel Angel Muñoz González
e4f393e643 Fortinet's new module for fortios_vpn_ssl_web_user_group_bookmark (#61138) 2019-08-22 18:55:46 +05:30
Miguel Angel Muñoz González
35ed1fbe8d Fortinet's new module for fortios_user_fsso_polling (#61050) 2019-08-22 18:53:33 +05:30
Miguel Angel Muñoz González
cfecaba9b5 Fortinet's new module for fortios_user_fsso (#61049) 2019-08-22 18:52:59 +05:30
Miguel Angel Muñoz González
eeb2fd35d1 Fortinet's new module for fortios_user_fortitoken (#61048) 2019-08-22 18:49:22 +05:30
Miguel Angel Muñoz González
88e5365019 Fortinet's new module for fortios_user_domain_controller (#61047) 2019-08-22 18:47:54 +05:30
Miguel Angel Muñoz González
22c8d74e74 Fortinet's new module for fortios_user_device_group (#61046) 2019-08-22 18:47:15 +05:30
Miguel Angel Muñoz González
24fe418115 Fortinet's new module for fortios_user_device_category (#61044) 2019-08-22 18:45:46 +05:30
Miguel Angel Muñoz González
7e4c41cf1d Fortinet's new module for fortios_user_device_access_list (#61042) 2019-08-22 18:43:33 +05:30
Miguel Angel Muñoz González
9f9a741e19 Fortinet's new module for fortios_system_zone (#61041) 2019-08-22 18:42:44 +05:30
Miguel Angel Muñoz González
11b7b40b61 Fortinet's new module for fortios_system_wccp (#61040) 2019-08-22 18:41:18 +05:30
Miguel Angel Muñoz González
80897be42d Fortinet's new module for fortios_system_vxlan (#61039) 2019-08-22 18:40:16 +05:30
Miguel Angel Muñoz González
7c38fc7d07 Fortinet's new module for fortios_system_virtual_wire_pair (#61038) 2019-08-22 18:38:39 +05:30
Miguel Angel Muñoz González
4bd296c6fe Fortinet's new module for fortios_system_sit_tunnel (#60954) 2019-08-22 18:38:02 +05:30
Miguel Angel Muñoz González
aefe31e6d9 Fortinet's new module for fortios_vpn_certificate_setting (#61130) 2019-08-22 18:22:35 +05:30
Miguel Angel Muñoz González
48fe854511 Fortinet's new module for fortios_vpn_ssl_web_realm (#61135) 2019-08-22 18:22:23 +05:30
Miguel Angel Muñoz González
a5bab18986 Fortinet's new module for fortios_system_sflow (#60953) 2019-08-22 18:19:46 +05:30
Miguel Angel Muñoz González
3ea55fc254 Fortinet's new module for fortios_system_settings (#60952)
* Fortinet's new module for fortios_system_settings

* Avoid warnings on E336 a E336 for system settings
2019-08-22 18:19:02 +05:30
Miguel Angel Muñoz González
55979cd0f4 Fortinet's new module for fortios_vpn_ssl_web_host_check_software (#61134) 2019-08-22 18:18:25 +05:30
Miguel Angel Muñoz González
0a5c11f4da Fortinet's new module for fortios_system_session_ttl (#60951) 2019-08-22 18:18:05 +05:30
Miguel Angel Muñoz González
b57bf08f09 Fortinet's new module for fortios_vpn_l2tp (#61131) 2019-08-22 18:17:45 +05:30
Miguel Angel Muñoz González
f9e8dc042b Fortinet's new module for fortios_vpn_pptp (#61133) 2019-08-22 18:17:16 +05:30
Miguel Angel Muñoz González
2b90ef19d2 Fortinet's new module for fortios_system_replacemsg_webproxy (#60878) 2019-08-22 18:16:53 +05:30
Miguel Angel Muñoz González
426eea7014 Fortinet's new module for fortios_system_replacemsg_utm (#60877) 2019-08-22 18:16:23 +05:30
Miguel Angel Muñoz González
b325c488e3 Fortinet's new module for fortios_system_replacemsg_traffic_quota (#60876) 2019-08-22 18:15:37 +05:30
Miguel Angel Muñoz González
8e493021a1 Fortinet's new module for fortios_system_replacemsg_sslvpn (#60875) 2019-08-22 18:14:42 +05:30
Miguel Angel Muñoz González
8fb4878906 Fortinet's new module for fortios_system_replacemsg_spam (#60874) 2019-08-22 18:14:19 +05:30
Miguel Angel Muñoz González
bf6212b23d Fortinet's new module for fortios_system_replacemsg_nntp (#60873) 2019-08-22 18:13:51 +05:30
Miguel Angel Muñoz González
1ab09778fb Fortinet's new module for fortios_router_access_list6 (#61132) 2019-08-22 18:13:17 +05:30
Miguel Angel Muñoz González
00d2e541b9 Fortinet's new module for fortios_vpn_certificate_ca (#61123) 2019-08-22 18:13:07 +05:30
Miguel Angel Muñoz González
267ce70818 Fortinet's new module for fortios_system_replacemsg_nac_quar (#60872) 2019-08-22 18:12:20 +05:30
Miguel Angel Muñoz González
628aa3a808 FortiOS modules for 2.9 - 5 (#61062)
* FortiOS modules for 2.9 - 5

* Update fortios_firewall_vip.py

* Update fortios_firewall_vip6.py
2019-08-22 17:44:17 +05:30
Miguel Angel Muñoz González
3373a2518a Fortinet's new module for fortios_system_replacemsg_mail (#60871) 2019-08-22 17:17:23 +05:30
Miguel Angel Muñoz González
4506371611 Fortinet's new module for fortios_system_replacemsg_image (#60870) 2019-08-22 17:08:32 +05:30
Miguel Angel Muñoz González
ab023b5276 Fortinet's new module for fortios_system_replacemsg_icap (#60869) 2019-08-22 17:08:11 +05:30
Miguel Angel Muñoz González
e887f1247f Fortinet's new module for fortios_system_replacemsg_http (#60868) 2019-08-22 17:06:31 +05:30
Miguel Angel Muñoz González
b2c65f20d8 Fortinet's new module for fortios_system_replacemsg_group (#60867) 2019-08-22 17:06:24 +05:30
Miguel Angel Muñoz González
c4500bffbb Fortinet's new module for fortios_system_replacemsg_ftp (#60866) 2019-08-22 16:53:12 +05:30
Miguel Angel Muñoz González
8fad5e3081 Fortinet's new module for fortios_system_replacemsg_fortiguard_wf (#60864) 2019-08-22 16:49:37 +05:30
Miguel Angel Muñoz González
bb09bdb309 Fortinet's new module for fortios_system_replacemsg_ec (#60863) 2019-08-22 16:37:29 +05:30
Miguel Angel Muñoz González
c041b6e9ca Fortinet's new module for fortios_system_replacemsg_device_detection_portal (#60862) 2019-08-22 16:36:29 +05:30
Fortinet Core CSE NA
df6d46fed3 Fortinet: fmgr_fwpol_ipv4 update/behavioral option fix (#58154)
* PR Update to fmgr_fwpol_ipv4 -- now allows for failure or skip behavior option upon missing dependencies

* fmgr_fwpol_ipv4 minor docs fix

* Removed "system_package_print" line from test/sanity/ignore.txt as instructed by failed shippable test.

Actual PR module isn't affected.
2019-08-22 15:54:46 +05:30
Miguel Angel Muñoz González
62f665f0ed Fortinet's new module for fortios_system_vdom_radius_server (#61036) 2019-08-22 15:30:54 +05:30
Miguel Angel Muñoz González
ffbb906a9f Fortinet's new module for fortios_system_vdom_sflow (#61037) 2019-08-22 15:26:54 +05:30
Miguel Angel Muñoz González
95fee79c13 Fortinet's new module for fortios_system_sms_server (#60962) 2019-08-22 15:22:47 +05:30
frankshen01
f6421bbe2b Fortinet's new module for fortios_system_session_helper (#60986) 2019-08-22 15:12:53 +05:30
Miguel Angel Muñoz González
f624fd4c4c Fortinet's new module for fortios_system_vdom_dns (#60974) 2019-08-22 15:12:07 +05:30
Miguel Angel Muñoz González
2497b0fd5f Fortinet's new module for fortios_system_snmp_community (#60963) 2019-08-22 15:09:57 +05:30
Miguel Angel Muñoz González
0b1a8494a2 Fortinet's new module for fortios_system_snmp_sysinfo (#60964) 2019-08-22 15:01:35 +05:30
Miguel Angel Muñoz González
c16e9c2604 Fortinet's new module for fortios_system_replacemsg_auth (#60861) 2019-08-22 15:00:41 +05:30
Miguel Angel Muñoz González
19f35502f3 Fortinet's new module for fortios_system_replacemsg_alertmail (#60859) 2019-08-22 14:58:19 +05:30
Miguel Angel Muñoz González
1219c10844 Fortinet's new module for fortios_system_replacemsg_admin (#60858) 2019-08-22 14:57:25 +05:30
Miguel Angel Muñoz González
502682dfb0 Fortinet's new module for fortios_system_proxy_arp (#60857) 2019-08-22 14:54:56 +05:30
Miguel Angel Muñoz González
6ba7024e8a Fortinet's new module for fortios_system_probe_response (#60856) 2019-08-22 14:53:13 +05:30
Miguel Angel Muñoz González
e2e68fa7de Fortinet's new module for fortios_system_password_policy_guest_admin (#60854) 2019-08-22 14:52:04 +05:30
Miguel Angel Muñoz González
ebc3e48b66 Fortinet's new module for fortios_system_pppoe_interface (#60855) 2019-08-22 14:51:25 +05:30
Miguel Angel Muñoz González
fc544069c8 Fortinet's new module for fortios_system_snmp_user (#60970) 2019-08-22 14:51:05 +05:30
Miguel Angel Muñoz González
9cfadf2c67 Fortinet's new module for fortios_system_object_tagging (#60852) 2019-08-22 14:49:46 +05:30
Miguel Angel Muñoz González
e60b9e4944 Fortinet's new module for fortios_system_storage (#60971) 2019-08-22 14:49:34 +05:30
Miguel Angel Muñoz González
37bcb5b528 Fortinet's new module for fortios_system_password_policy (#60853) 2019-08-22 14:41:12 +05:30
Miguel Angel Muñoz González
c6d88da332 Fortinet's new module for fortios_system_ntp (#60851) 2019-08-22 14:38:54 +05:30
Miguel Angel Muñoz González
107306a5d4 Fortinet's new module for fortios_system_network_visibility (#60850) 2019-08-22 14:38:34 +05:30
Miguel Angel Muñoz González
8b882be084 Fortinet's new module for fortios_system_switch_interface (#60972) 2019-08-22 14:23:16 +05:30
Miguel Angel Muñoz González
da7ed1d8a6 Fortinet's new module for fortios_system_tos_based_priority (#60973) 2019-08-22 14:18:53 +05:30
Miguel Angel Muñoz González
7cc089f0d7 Fortinet's new module for fortios_system_vdom_netflow (#61034) 2019-08-22 14:14:20 +05:30
Miguel Angel Muñoz González
d39addf6c0 Fortinet's new module for fortios_system_nd_proxy (#60848) 2019-08-22 14:13:44 +05:30
Miguel Angel Muñoz González
83f7007848 Fortinet's new module for fortios_system_netflow (#60849) 2019-08-22 14:13:38 +05:30
Miguel Angel Muñoz González
6a0078bee2 Fortinet's new module for fortios_system_vdom_link (#61033) 2019-08-22 14:09:43 +05:30
Miguel Angel Muñoz González
7988f828b3 Fortinet's new module for fortios_system_nat64 (#60847) 2019-08-22 14:09:34 +05:30
Miguel Angel Muñoz González
5a28feb81c Fortinet's new module for fortios_system_vdom_exception (#61032) 2019-08-22 14:09:19 +05:30
Miguel Angel Muñoz González
9d70b2db8c Fortinet's new module for fortios_system_management_tunnel (#60845) 2019-08-22 14:08:37 +05:30
Miguel Angel Muñoz González
0280bcbfca Fortinet's new module for fortios_system_mobile_tunnel (#60846) 2019-08-22 14:08:25 +05:30
Miguel Angel Muñoz González
6b5b4fa5e9 Fortinet's new module for fortios_system_link_monitor (#60843) 2019-08-22 12:53:28 +05:30
Miguel Angel Muñoz González
9245310c99 Fortinet's new module for fortios_system_vdom_property (#61035) 2019-08-22 12:52:22 +05:30
Miguel Angel Muñoz González
fd11090663 Fortinet's new module for fortios_system_mac_address_table (#60844) 2019-08-22 12:29:58 +05:30
Miguel Angel Muñoz González
c2f9292987 Fortinet's new module for fortios_system_ipv6_tunnel (#60842) 2019-08-22 12:27:51 +05:30
Miguel Angel Muñoz González
8d95455167 Fortinet's new module for fortios_system_ipv6_neighbor_cache (#60841) 2019-08-22 12:27:19 +05:30
Miguel Angel Muñoz González
f8a6d6d991 Fortinet's new module for fortios_system_ips_urlfilter_dns (#60840) 2019-08-22 12:26:36 +05:30
Miguel Angel Muñoz González
0785ecf58b Fortinet's new module for fortios_system_ips_urlfilter_dns6 (#60839) 2019-08-22 12:25:54 +05:30
Miguel Angel Muñoz González
cb4de3e2a6 Fortinet's new module for fortios_system_ipip_tunnel (#60838) 2019-08-22 12:25:28 +05:30
Miguel Angel Muñoz González
b44e486fb0 Fortinet's new module for fortios_system_ha_monitor (#60837) 2019-08-22 12:24:57 +05:30
Miguel Angel Muñoz González
bcb8364031 Fortinet's new module for fortios_system_gre_tunnel (#60836) 2019-08-22 12:24:29 +05:30
Miguel Angel Muñoz González
052baf8151 Fortinet's new module for fortios_system_custom_language (#60812) 2019-08-22 12:23:39 +05:30
Miguel Angel Muñoz González
5fec75a91a Fortinet's new module for fortios_system_console (#60810) 2019-08-22 12:23:03 +05:30
Miguel Angel Muñoz González
63a6fe619c Fortinet's new module for fortios_switch_controller_storm_control (#60784)
* Fortinet's new module for fortios_switch_controller_storm_control

* Update fortios_switch_controller_storm_control.py
2019-08-22 12:22:20 +05:30
Wojciech Wypior
3c19c75560 removes deprecated parameters (#61066)
adds diff functionality
fixes issue with serverscope parameter not setting on device
2019-08-21 20:50:40 -07:00
Wojciech Wypior
306b6b728c adds new module for asm dos application profiles (#61063) 2019-08-21 20:50:07 -07:00
Matt Martz
adb886e4ce
Speed up units using time.sleep by mocking or shortening sleep time (#61064)
* Speed up units using time.sleep by mocking or shortening sleep time

* Only use durations when not a collection
2019-08-21 16:52:58 -05:00
Pedro Magalhães
145a6a8756 maven_artifact.py - add support for version ranges by using spec (#54309) 2019-08-21 14:33:28 +01:00
Miguel Angel Muñoz González
839e9019ef Fortinet's new module for fortios_switch_controller_switch_group (#60787) 2019-08-21 16:59:27 +05:30
Matt Davis
bfa004930a
add subdir support to collection loading (#60682)
* add subdir support to collection loading

* collections may now load plugins from subdirs under a plugin type or roles dir, eg `ns.coll.subdir1.subdir2.myrole`->ns.coll's roles/subdir1/subdir2/myrole, `ns.coll.subdir1.mymodule`->ns.coll's plugins/modules/subdir1/mymodule.py
* centralize parsing/validation in AnsibleCollectionRef class
* fix issues loading Jinja2 plugins from multiple sources 
* resolves #59462, #59890,

* sanity test fixes

* string fixes

* add changelog entry
2019-08-21 10:45:04 +01:00