Olivier Bourdon
668f014b3c
Add more tests for method option change ( #52228 )
7 years ago
Lindsay Hill
b92d81cc01
Update slxos_vlan for new SLX-OS versions, linting fixes ( #52956 )
7 years ago
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
7 years ago
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()
7 years ago
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 f1104a37b4 .
* Revert "Revert "changes to clusteR""
This reverts commit f1104a37b4 .
* add ports
7 years ago
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 f1104a37b4 .
* new module
* update author
* update copyright
* fixes
7 years ago
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 8e56b999e6 .
* review change
7 years ago
Bojan Vitnik
edcd921258
XenServer: Fix wrong FakeXenAPI module import in unit tests ( #53634 )
7 years ago
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 2713c75f31 .
* Fix author
7 years ago
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
7 years ago
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 8e56b999e6 .
* fix docs
* fix option
7 years ago
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>
7 years ago
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>
7 years ago
krisvasudevan
651fc88303
Added support for infoblox member object ( #53174 )
...
* changes for member module
7 years ago
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>
7 years ago
Chris Archibald
1a306ce871
Rewrite of na_ontap_snapshot to follow NetAppModule, add new option to rename snapshot, bug fix to modify snapmirror_label ( #52297 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* upadets
* fix docs
* Revert "Revert "changes to clusteR""
This reverts commit 8e56b999e6 .
* review change
7 years ago
Chris Archibald
48098ba688
Updates to na_ontap_net_route ( #49656 )
...
* new option and rewrite
* update documentation
* fix documentation
* Review change
* add comment
7 years ago
Chris Archibald
dbcfb3d0fe
Update to na_ontap_firewall_policy ( #51976 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* Fix issue and unit tests
* update to firewall
* fix import issues
* Revert "Revert "changes to clusteR""
This reverts commit 2713c75f31 .
* fix docs
* stop pylint on unicode line, line can only be run in python2
* Review comment
* add pylint skip
* add pylint skip
7 years ago
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>
7 years ago
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
7 years ago
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
7 years ago
abirami-n
ce9fc9b912
opx_cps_changes ( #51952 )
7 years ago
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.
7 years ago
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
7 years ago
Chris Archibald
04c6f94269
New Module: na_ontap_quotas ( #49783 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* new module na_ontap_quotas
* fix file location
* Fix author
* updates
* Revert "Revert "changes to clusteR""
This reverts commit 1c82958764 .
* fix author
* Add types
7 years ago
Chris Archibald
af6e4cc75b
Add tcp_max_xfer_size option for na_ontap_nfs, plus unit test ( #52288 )
...
* Revert "changes to clusteR"
This reverts commit 33ee1b71e4bc8435fb315762a871f8c4cb6c5f80.
* updates
* Revert "Revert "changes to clusteR""
This reverts commit 8e56b999e6 .
* fix docs
* Fix boolean to bool
* Update lib/ansible/modules/storage/netapp/na_ontap_nfs.py
Co-Authored-By: carchi8py <carchi@netapp.com>
7 years ago
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
7 years ago
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
7 years ago
ftntcorecse
60c0069fec
Auto Commit for: fmgr_secprof_spam ( #53021 )
7 years ago
ftntcorecse
55e431de54
Auto Commit for: fmgr_secprof_av ( #53022 )
7 years ago
ftntcorecse
73e6f15d64
Auto Commit for: fmgr_secprof_wanopt ( #53023 )
7 years ago
ftntcorecse
d684359997
Auto Commit for: fmgr_secprof_ips ( #53024 )
7 years ago
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
7 years ago
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
7 years ago
ftntcorecse
e585e948fb
New FortiManager Module: fmgr_fwobj_service ( #53027 )
...
* Auto Commit for: fmgr_fwobj_service
* Auto Commit for: fmgr_fwobj_service
7 years ago
ftntcorecse
340aa26edf
New FortiManager Module: fmgr_secprof_appctrl ( #53028 )
...
* Auto Commit for: fmgr_secprof_appctrl
* Auto Commit for: fmgr_secprof_appctrl
7 years ago
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
7 years ago
ftntcorecse
421a5c4c91
New FortiManager Module: fmgr_secprof_voip ( #53030 )
...
* Auto Commit for: fmgr_secprof_voip
* Auto Commit for: fmgr_secprof_voip
7 years ago
ftntcorecse
8888faf716
New FortiManager Module: fmgr_fwobj_ippool ( #53031 )
...
* Auto Commit for: fmgr_fwobj_ippool
* Auto Commit for: fmgr_fwobj_ippool
7 years ago
ftntcorecse
0e9bf838ff
New FortiManager Module: fmgr_fwobj_ippool6 ( #53032 )
...
* Auto Commit for: fmgr_fwobj_ippool6
* Auto Commit for: fmgr_fwobj_ippool6
7 years ago
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>
7 years ago
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>
7 years ago
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
7 years ago
ftntcorecse
785c567f72
FortiManager Plugin Module Conversion: fmgr_device ( #52767 )
...
* Auto Commit for: fmgr_device
* Auto Commit for: fmgr_device
7 years ago
ftntcorecse
a8f1ad8602
FortiManager Plugin Module Conversion: fmgr_query ( #52770 )
...
* Auto Commit for: fmgr_query
* Auto Commit for: fmgr_query
7 years ago
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
7 years ago
Bojan Vitnik
88e8330e3e
New module: xenserver_guest_powerstate - manages powerstate of XenServer VMs ( #49425 )
...
* Initial commit for xenserver_guest_powerstate module
* Added unit tests for the module, removed unused imports
7 years ago
Anil Kumar Muraleedharan
a78c40322c
Lenovo cnos logging ( #52978 )
...
* Adding the module cnos_logging.py to the module suite from Lenovo
7 years ago
ftntcorecse
ff368ff55d
FortiManager Plugin Module Conversion: fmgr_secprof_dns ( #52771 )
...
* Auto Commit for: fmgr_secprof_dns
* Auto Commit for: fmgr_secprof_dns
7 years ago
ftntcorecse
e8c983155c
FortiManager Plugin Module Conversion: fmgr_secprof_profile_group ( #52772 )
...
* Auto Commit for: fmgr_secprof_profile_group
* Auto Commit for: fmgr_secprof_profile_group
7 years ago