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
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
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
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
Trishna Guha
a41028244d
Add platform facts in network facts modules ( #51434 )
...
* Add platform facts in network facts modules
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add nxos
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add vyos
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add iosxr
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add junos
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix pep8
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* update unit test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix vyos_facts unittest
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix ios_facts unittest
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix iosxr unittests
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix CI failure
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix junos test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-03-11 10:56:39 +05:30
Ankit Bhansali
85ba4d7c73
itential iap_start_workflow module ( #51238 )
...
* initial commit
* fixed the linting and requests error
* updated test file setup
* updated code as per feedback
* updated test import
* updated test import with unittest
* updated validate certs for https
* updated after pep8 test
* removed under-construction remark
* Initial commit
* removed type for tests
* removed types and added ssl compatibility
* applied return type
* applied return type as dict instead of obj
* applied types in eact field
* tested with a playbook
* modified owner
* added unit test
* following pep8 guidelines
* added mock and unittest separately
* Sanity check using pep8
* added full path on patch
2019-03-07 13:23:40 -05:00
hexdump0x0200
4d407d1781
ios_logging: fix idempotence errors ( #53109 )
...
* ios_logging: fix the error checking the existence of "host" destinations (IOS 12)
In the "have" list, records of type "host" do not contain the key "size",
although in the list "want" it is always there. Because of this, the module
assumes that the "host" type destinations is not configured and does it again.
This does not change the configuration on the device, but is redundant and
the status of the task will always be "changed". This patch fixes it.
* ios_logging: fixes #53227
* ios_logging: minor changes in string matching
2019-03-07 17:40:03 +05:30
abirami-n
ce9fc9b912
opx_cps_changes ( #51952 )
2019-03-07 03:41:36 -05:00
ftntcorecse
be3fe8f364
FortiManager Plugin Module Conversion: fmgr_ha ( #52768 )
...
* Auto Commit for: fmgr_ha
* Auto Commit for: fmgr_ha
* Removed about 50 lines of validation in favor of "required_if" clauses.
2019-03-07 12:31:17 +05:30
Anil Kumar Muraleedharan
77565554c8
To fix bug on switch port issue of L3 interfaces. ( #53267 )
...
* To fix bug on switch port issue of L3 interfaces.
* Adding mock return value for is_switch_port method
2019-03-06 12:08:53 -05:00
ftntcorecse
d1c0df9e92
FortiManager Plugin Module Conversion: fmgr_secprof_web ( #52788 )
...
* Auto Commit for: fmgr_secprof_web
* Auto Commit for: fmgr_secprof_web
* Auto Commit for: fmgr_secprof_web
2019-03-05 14:55:43 +05:30
ftntcorecse
7ee7c3cf2c
FortiManager Plugin Module Conversion: fmgr_secprof_waf ( #52789 )
...
* Auto Commit for: fmgr_secprof_waf
* Auto Commit for: fmgr_secprof_waf
* Auto Commit for: fmgr_secprof_waf
2019-03-05 14:53:30 +05:30
ftntcorecse
60c0069fec
Auto Commit for: fmgr_secprof_spam ( #53021 )
2019-03-05 14:51:33 +05:30
ftntcorecse
55e431de54
Auto Commit for: fmgr_secprof_av ( #53022 )
2019-03-05 14:49:57 +05:30
ftntcorecse
73e6f15d64
Auto Commit for: fmgr_secprof_wanopt ( #53023 )
2019-03-05 14:47:51 +05:30
ftntcorecse
d684359997
Auto Commit for: fmgr_secprof_ips ( #53024 )
2019-03-05 14:44:23 +05:30
ftntcorecse
803c2b4724
New FortiManager Module: fmgr_device_provision_template ( #53025 )
...
* Auto Commit for: fmgr_device_provision_template
* Auto Commit for: fmgr_device_provision_template
* Auto Commit for: fmgr_device_provision_template
2019-03-05 14:42:44 +05:30
ftntcorecse
718a591fb2
New FortiManager Module: fmgr_fwpol_package ( #53026 )
...
* Auto Commit for: fmgr_fwpol_package
* Auto Commit for: fmgr_fwpol_package
* Auto Commit for: fmgr_fwpol_package
2019-03-04 16:46:28 +05:30
ftntcorecse
e585e948fb
New FortiManager Module: fmgr_fwobj_service ( #53027 )
...
* Auto Commit for: fmgr_fwobj_service
* Auto Commit for: fmgr_fwobj_service
2019-03-04 16:43:05 +05:30
ftntcorecse
340aa26edf
New FortiManager Module: fmgr_secprof_appctrl ( #53028 )
...
* Auto Commit for: fmgr_secprof_appctrl
* Auto Commit for: fmgr_secprof_appctrl
2019-03-04 16:39:48 +05:30
ftntcorecse
29657bdda5
New FortiManager Module: fmgr_secprof_proxy ( #53029 )
...
* Auto Commit for: fmgr_secprof_proxy
* Auto Commit for: fmgr_secprof_proxy
* Auto Commit for: fmgr_secprof_proxy
2019-03-04 16:25:02 +05:30
ftntcorecse
421a5c4c91
New FortiManager Module: fmgr_secprof_voip ( #53030 )
...
* Auto Commit for: fmgr_secprof_voip
* Auto Commit for: fmgr_secprof_voip
2019-03-04 16:19:50 +05:30
ftntcorecse
8888faf716
New FortiManager Module: fmgr_fwobj_ippool ( #53031 )
...
* Auto Commit for: fmgr_fwobj_ippool
* Auto Commit for: fmgr_fwobj_ippool
2019-03-04 16:09:56 +05:30
ftntcorecse
0e9bf838ff
New FortiManager Module: fmgr_fwobj_ippool6 ( #53032 )
...
* Auto Commit for: fmgr_fwobj_ippool6
* Auto Commit for: fmgr_fwobj_ippool6
2019-03-04 16:07:55 +05:30
Nilashish Chakraborty
e55955d01b
frr: New module for BGP configuration management ( #51281 )
...
* Added frr_bgp module
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix pycodestyle warnings
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix CI docs issues
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Initial test files
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix dir structure to make CI happy
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix imports
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix CI
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix CI
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Split neighbor spec to handle general session and af session
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* New set of unittests
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix CI
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix CI - 2
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Update license
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Add port option for neighbor
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Validate network input
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Validate network input
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix sanity test failure
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Add validation for AF and more examples
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-03-04 15:02:56 +05:30
Nilashish Chakraborty
55bfa18c0c
New module to support BGP configuration management in IOS ( #49121 )
...
* ios_bgp initial push
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Added tests for ios_bgp
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fixed docs
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Added space
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix Shippable Errors
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix Shippable Errors
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Add support for af_neighbor option
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Add support for af_neighbor option - 2
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Add support for af_neighbor option - 3
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix typo
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Refactor BGP
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix CI and previous reviews
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Add missing params documentation
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Remove previous tests
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Remove elements=dict from keys with type=list from args spec for element validation to pass
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Added function to validate input
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix sanity test failure
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Minor bug fixes
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix typo in fixture
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Add integration tests
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-03-04 13:37:57 +05:30
ftntcorecse
13517fe822
FortiManager Plugin Module Conversion: fmgr_device_config ( #52765 )
...
* Auto Commit for: fmgr_device_config
* autopep8 changes
* Auto Commit for: fmgr_device_config
* Auto Commit for: fmgr_device_config
2019-03-04 11:25:40 +05:30
ftntcorecse
785c567f72
FortiManager Plugin Module Conversion: fmgr_device ( #52767 )
...
* Auto Commit for: fmgr_device
* Auto Commit for: fmgr_device
2019-03-04 11:22:16 +05:30
ftntcorecse
a8f1ad8602
FortiManager Plugin Module Conversion: fmgr_query ( #52770 )
...
* Auto Commit for: fmgr_query
* Auto Commit for: fmgr_query
2019-03-04 11:06:12 +05:30
ftntcorecse
c4d29868ca
FortiManager Plugin Module Conversion: fmgr_fwobj_address ( #52773 )
...
* Auto Commit for: fmgr_fwobj_address
* Auto Commit for: fmgr_fwobj_address
* Auto Commit for: fmgr_fwobj_address
* Auto Commit for: fmgr_fwobj_address
* Commit contains updates to module, unit test, and/or fixture files: fmgr_fwobj_address
2019-03-04 10:59:55 +05:30
Anil Kumar Muraleedharan
a78c40322c
Lenovo cnos logging ( #52978 )
...
* Adding the module cnos_logging.py to the module suite from Lenovo
2019-02-27 14:15:56 -05:00
ftntcorecse
ff368ff55d
FortiManager Plugin Module Conversion: fmgr_secprof_dns ( #52771 )
...
* Auto Commit for: fmgr_secprof_dns
* Auto Commit for: fmgr_secprof_dns
2019-02-27 21:11:33 +05:30