Nilashish Chakraborty
5cd7bf39dd
Update frr_facts ( #53439 )
...
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-03-11 10:55:09 +05:30
Chris Van Heuveln
b678139e68
nxos_igmp_interface: argument_spec for oif_ps breaks when 'default' ( #53136 )
...
The `oif_ps` attr expects a list of dicts but it also supports keyword 'default'.
When the playbook specifies `oif_ps: default` the `nxos_igmp_interface` module fails:
```
"msg": "Elements value for option oif_ps is of type <type 'str'> and we were unable to convert to dict: dictionary requested, could not parse JSON or key=value"
```
This test used to work afaik so I believe `AnsibleModule` may have changed at some point to enforce strict type checking, causing this failure. I did not see another way to handle both list & str types for the same attr so I just set it to `raw`.
`nxos_igmp_interface/tests/common/sanity` now has 100% pass rate.
2019-03-11 10:28:29 +05:30
Chris Van Heuveln
8c33ba3ecd
nxos_igmp_snooping: group-timeout fails when igmp snooping disabled ( #53079 )
...
* nxos_igmp_snooping: group-timeout fails when igmp snooping disabled
group-timeout config will be rejected by the device if `ip igmp snooping` is disabled.
* raise a failure for this condition
* reorder the command list so that group-timeout is always last
* SA fixes
* SA fixes
* only call gt_dependency if gt
2019-03-08 15:33:24 +05:30
Chris Van Heuveln
cfe4477c10
nxos_vxlan_vtep: Add dependency checks ( #53288 )
...
* nxos_vxlan_vtep: Add dependency checks
Some of the N9k-specific attrs are failing due to hardware/feature/resources.
* `global_suppress_arp`
- dependency on TCAM resources
* `global_mcast_group_L3`
- hardware dependency on specific chassis/linecards
- feature dependency on `ngmvpn`
* `global_ingress_replication_bgp`
- hardware dependency on specific chassis/linecards
Tested on N9k with/without TCAM resources, various N9k chassis, N7k, N6k. All 100% Pass.
* pylint
2019-03-08 10:33:54 +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
Chris Van Heuveln
fd6e45bc75
nxos_user: fails to remove usernames with embedded '\' ( #53149 )
...
Example: username ucs-DOMAIN\\x password 0 foo
Found by `common/sanity` test.
2019-03-07 18:45:26 +05:30
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
Mike Wiebe
b090b57eac
Module nxos logging fixes ( #52883 )
...
* nxos_logging fixes
2019-03-06 13:55:03 -05:00
Chaitanya Deshpande
662dd2c1de
Avi: Fixed import issues ( #52661 )
2019-03-06 12:09:49 -05:00
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
Nathaniel Case
1112e1d0da
Add missing RETURN to restconf_config ( #53324 )
2019-03-05 08:53:23 -05:00
Miguel Angel Muñoz González
330d0827ec
Fortinet's FortiOS user adgrp ( #52831 )
...
* Fortinet's FortiOS user adgrp
* Remove unnecessary code
2019-03-05 16:48:47 +05:30
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
Steven Gerhart
f1fed45e40
new maintenance group node module ( #53094 )
...
* create aci_maintenance_policy module
* aci_maintenance_group_node
* Various small fixes
2019-03-05 01:58:16 +01:00
Dag Wieers
1937c5301b
MSO: Clarify the site-local modules in the index ( #53301 )
2019-03-05 00:41:50 +01:00
Dag Wieers
1a4e983364
mso_st_contract_filter: Add support for directives ( #53300 )
...
This PR also fixes an issue introduced in the previous commit.
2019-03-05 00:26:45 +01:00
Abhijeet Kasurde
7011257274
F5: correct check in _transform_api_names API ( #53269 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2019-03-04 20:32:34 +05:30
Nathaniel Case
d5aabd02ba
restconf_config module ( #51971 )
...
* Add restconf_config module
* Try to do the right thing when given partial paths
* Add PATCH
* Delete should not require content
* Non-JSON exceptions need raising, too
* Let ConnectionError objects pass through exec_jsonrpc
2019-03-04 08:27:18 -05:00
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
Miguel Angel Muñoz González
9aa59bebe0
Fortinet's FortiOS wireless controller global ( #52844 )
...
* Fortinet's FortiOS wireless controller global
* Avoid using global
* Updated from comments received
2019-03-04 13:45:46 +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
Miguel Angel Muñoz González
bf3fc86437
Fortinet's FortiOS wireless controller wtp profile ( #52851 )
...
* Fortinet's FortiOS wireless controller wtp profile
* Avoid using global
* Remove unnecessary code ('flatten' method)
2019-03-04 13:31:53 +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
Dag Wieers
4e7a3df1e6
MSO: New module to manage local site VRF region CIDR subnets ( #53254 )
...
This adds a new module to manage local site VRF region CIDR subnets on ACI MultiSite schema templates.
2019-03-04 02:13:03 +01:00
Dag Wieers
121c2d90dc
MSO: New module to manage local site VRF region CIDRs ( #53253 )
...
This adds a new module to manage local site VRF region CIDRs on ACI MultiSite schema templates.
2019-03-04 02:11:20 +01:00
Dag Wieers
38afee0937
MSO: New module to manage local site VRFs ( #53251 )
...
This adds a new module to manage local site VRFs on ACI MultiSite schema templates.
2019-03-04 02:11:01 +01:00
Dag Wieers
9294943f6c
MSO: New module to manage local site VRF regions ( #53252 )
...
This adds a new module to manage local site VRF regions on ACI MultiSite schema templates.
2019-03-04 02:10:38 +01:00
Dag Wieers
095eb59f5a
MSO: New module to manage local site EPG subnets ( #53250 )
...
This adds a new module to manage local site EPG subnets on ACI MultiSite schema templates.
2019-03-04 02:02:58 +01:00
Dag Wieers
6551b4640c
MSO: New module to manage local site BD l3outs ( #53249 )
...
This adds a new module to manage local site BD l3outs on ACI MultiSite schema templates.
2019-03-04 01:55:55 +01:00
Dag Wieers
b5e1f1bf18
MSO: New module to manage local site BDs ( #53248 )
...
This adds a new module to manage local site BDs on ACI MultiSite schema templates.
2019-03-04 01:54:25 +01:00
Dag Wieers
eeccf0e2e6
MSO: New module to manage local site EPG subnets ( #53247 )
...
This adds a new module to manage local site EPG subnets on ACI MultiSite schema templates.
2019-03-04 01:49:58 +01:00
Dag Wieers
e1b79d0aae
MSO: New module to manage local site static ports ( #53246 )
...
This adds a new module to manage local site EPG static ports on ACI MultiSite schema templates.
2019-03-04 01:47:04 +01:00