Nathaniel Case
ada7f248c0
Add 'Tested on' string to NX-OS modules ( #28531 )
2017-08-24 08:27:39 -04:00
Trishna Guha
cfc6d9f904
Tested against IOS XR version ( #28563 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-23 22:55:21 +05:30
Trishna Guha
4070a22c5b
Tested against IOS version ( #28559 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-23 21:03:09 +05:30
Trishna Guha
340f52ae96
tested against eos version ( #28556 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-23 20:39:31 +05:30
Trishna Guha
4271f6e5e6
fix aggregate doc example ( #28528 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-23 02:16:45 +05:30
Trishna Guha
c2e41bf1ef
remove net_command ( #28525 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-23 02:07:39 +05:30
Nathaniel Case
e1def05ba2
fix networking *_command check_mode ( #28407 )
...
* Fix check_mode in nxos_command
* Fix check_mode for ios_command
* fix check_mode for iosxr_command
* Fix check_mode in vyos_command
* Fix check_mode in eos_command
* Fix check_mode in junos_config
2017-08-22 14:02:55 -04:00
Nathaniel Case
96abfde189
Fix idempotence for nxos_vrf_af ( #28419 )
2017-08-22 14:02:01 -04:00
Mike Wiebe
ec11cd2696
nxos_bgp_neighbor_af fix problem with advertise-map properties ( #28413 )
...
* Fix problem with advertise-map properties
* Change limit_to back to run all tests
* Fix unit tests
* Move advertise_map out of get_custom_value
2017-08-21 15:28:02 -04:00
David Kretch
beed59f303
Fix trailing space in ec2_vol example, fix 'the the' typos ( #28440 )
...
* Fix 'the the' typos, fix 'pahting' filename typo
* Change 'the the' typos to a single 'the'.
* Change `playbook_pahting.rst` to `playbook_pathing.rst`.
* Delete trailing space in ec2_vol example
Delete the trailing space in `instance: "{{ item.id }} "`, which makes the
example fail when run because it looks for instance "i-xxxx ".
2017-08-19 23:00:51 +02:00
Nathaniel Case
33f342435a
Attempt to detect and abort when 'fex-fabric' is present ( #28342 )
2017-08-18 16:13:12 -04:00
Ganesh Nalawade
4f54d6cea1
eos aggregate spec validation and doc changes ( #28414 )
...
* Add aggregate validation for eos DI modules
* Doc change to add aggregate examples
2017-08-19 01:41:20 +05:30
Ganesh Nalawade
c4b9dfe542
Remove default description in network DI modules ( #28411 )
2017-08-19 00:09:01 +05:30
Chris Alfonso
bd56e6c9ce
Removing deprecated openswitch modules ( #28397 )
2017-08-18 08:58:45 -06:00
Nathaniel Case
db5d799122
Fix nxos_pim idempotence ( #28348 )
2017-08-18 09:47:41 -04:00
Ganesh Nalawade
9ab9945cf3
iosxr modules aggregate check and other minor refactor ( #28360 )
...
* iosxr aggregate validation
* vyos_user, junos_user minor changes
* Aggregated documentation
2017-08-18 09:50:35 +05:30
Ganesh Nalawade
ceef4f97ed
Use merge operation for load configuration in junos modules ( #28369 )
...
* Change load configuration operation from replace to merge
2017-08-18 09:50:02 +05:30
Dag Wieers
e801187899
Bugfix and assorted fixes ( #28352 )
...
These are updates from aci-ansible.
2017-08-17 21:00:23 +02:00
David Newswanger
b818e986b6
Change network *_user modules to use configured_password to set a users password ( #28187 )
...
* WIP, update eos_user args
* refactor password for ios_user
* add eos tests, fix ios tests
* fixed password check
* refactor iosxr_user password
* fixed password arg for nxos
* [WIP] fix vyos_user password
* fix vyos tests
* update docs for net_user
* fix typo
* fix eos tests
* add warning when attempting to use password arg
* fix sanity/unit tests
* fix eos unit tests
* fix vyos_user aggregate
* fix typo in eos documentation string
* re add configured_password to vyos tests after rebase
2017-08-17 19:06:44 +05:30
Peter Sprygada
b1d297d144
fixes asa_acl module to work with persistent connections ( #28320 )
...
* updates module_utils/asa.py to add missing common argument 'passwords'
* fixes asa_acl.py module to work with persistent connections
2017-08-17 07:48:35 -04:00
Ricardo Carrillo Cruz
5a6f3ebed1
WIP Implement declarative intent arguments on eos_vlan ( #28270 )
...
Implement declarative intent arguments on eos_vlan
2017-08-17 09:45:50 +02:00
Trishna Guha
2e211078ce
fix vyos_user aggregate ( #28317 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-17 12:44:55 +05:30
Ganesh Nalawade
403f6db53f
ios aggregate and common argument support ( #28316 )
...
* ios aggregate spec validation
* ios common argument for aggregate support
2017-08-17 12:07:08 +05:30
Dag Wieers
2960f5feac
Rename ACI modules according to new conventions ( #28306 )
...
As discussed in full at https://github.com/datacenter/aci-ansible
we desired a better naming convention for ACI modules before they ship
with Ansible v2.4
The result is summarized in this PR.
The modules now also include the classes from the object model, as well
as a link to the documentation.
2017-08-17 02:27:42 +02:00
George Nikolopoulos
b339f23485
Various small fixes ( #27766 )
2017-08-16 14:14:21 -04:00
Anil Kumar Muraleedharan
55df3e05ed
Solving Coverity issues ( #28057 )
2017-08-16 17:29:34 +01:00
Peter Sprygada
6886153b54
refactors nxos_vrf_af module ( #28208 )
...
* refactors nxos_vrf_af module
fixes #27595
* fix up unit test cases
* add commands to result dict
* add route-target on afi create
* adds deprecation note to safi argument
2017-08-16 10:11:12 -04:00
David Newswanger
a37c5e53e6
fix prompt error when deleting ios user ( #28175 )
...
* fix prompt error when deleting ios user
* placate pep8
* wrap delete user command in function
* fix python 3 unit tests
2017-08-16 15:15:41 +05:30
Trishna Guha
ce3d1c6ba0
eos_user fix username param ( #28114 )
...
* eos_user fix username param
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add setup eos_user test and rename username for consistency
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* update unit test and pep8 fix
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* pep8 fix
2017-08-16 12:08:59 +05:30
Toshio Kuratomi
d8b1cb9a63
Assign network modules maintained by the network team the network metadata
2017-08-15 23:12:08 -07:00
Toshio Kuratomi
f203ca7907
Update metadata to 1.1
2017-08-15 23:12:08 -07:00
Ganesh Nalawade
4caddad224
Doc fixes for junos lldp modules ( #28228 )
2017-08-16 09:32:39 +05:30
David Newswanger
b7d886840b
standardized agreggate as arg, and collection and users as aliases for user modules ( #28244 )
2017-08-16 09:31:25 +05:30
Dag Wieers
edba563e9a
ACI fixes ( #28257 )
2017-08-16 04:13:16 +02:00
Jacob McGill
b7d99f43d5
ACI EPG Contract Binding: New Module ( #28251 )
...
new module: managing EPG to Contract bindings [network/aci/aci_epg_contract_binding]
2017-08-16 02:58:01 +02:00
schunduri
4729981eba
new module: Manage end point groups [network/aci/aci_epg] ( #28207 )
...
* Cisco ACI EPG
* Fixed errors
* Updated module
* Update to version from aci-ansible repository
2017-08-16 01:46:38 +02:00
schunduri
ebbb5369b5
new module: manage application network profiles [network/aci/aci_anp] ( #27984 )
...
* New Cisco ACI Application Profile Module
* PEP8 verified
* Various Fixes
* aci_anp:Refactored
* aci_anp changed short description
* Changes from the aci-ansible repository
2017-08-16 01:04:46 +02:00
schunduri
83d9f2d9ed
new module: manage attachable entity profiles [network/aci/aci_aep] ( #27987 )
...
* New Cisco ACI Attachable Entity Profile Module
* PEP8 Verified
* Various Fixes
* Refactored: aci_aep
* Updated to the latest changes from aci-ansible
* And a small cosmetic change
2017-08-16 00:59:43 +02:00
Ivan Bojer
c2b2176893
deprecated panos_nat_policy in lieu of panos_nat_rule ( #28033 )
...
* - deprecated panos_nat_policy in lieu of pano_nat_rule that uses next generation SDK (PanDevice). Also renamed the module so that is aligns with API calls and UI framework.
* - ansible_metadata requires metadata_version instead of just version key in 2.4
* PEP8 changes
* PEP8 changes
* Emit deprecation warning and add boilerplate
2017-08-15 17:45:37 -04:00
Ivan Bojer
178cf6e82e
Rename panos_security_policy to panos_security_rule + extra features ( #28031 )
...
* - renamed panos_security_policy to panos_security_rule in order to better align with UI and API calls
* - fixed PEP8 issues
* - ansible bot does not like multiline comments. Using > for now.
* Add deprecation warning and boilerplate
2017-08-15 16:42:10 -04:00
Ivan Bojer
8b617aaef5
Panos object ( #28028 )
...
* - deprecated panos_address and panos_service in lieu of common panos_object
* - deprecated/removed panos_address and panos_service in lieu for panos_object
* squash! - deprecated/removed panos_address and panos_service in lieu for panos_object
* - fixed PEP8 issues
* - ansible_metadata requires metadata_version instead of just version key in 2.4
* add > to multi line descriptions
* update version string to 2.4
* Update legacy-files.txt
2017-08-15 16:24:15 -04:00
saichint
064ab7a92d
fix for remove idempotent issue ( #28226 )
2017-08-15 13:14:40 -04:00
saichint
d69440c4ef
Fix nxos_vpc issues ( #28188 )
...
* fix for nxos_vpc issues
* fix unit tests
* clean documentation
2017-08-15 12:08:55 -04:00
Nathaniel Case
1d13624eae
Clean up nxos_aaa_server ( #28177 )
...
* cleanup nxos_aaa_server
* Specify nxos_aaa_server output format
Fixes #27289
2017-08-15 12:08:03 -04:00
Ganesh Nalawade
a12e9807ba
Add intent arguments for ios and iosxr interface modules ( #28018 )
...
* Add intent arguments for ios_interface
* Intent argument support
* Integration test case for intent arguments
* Fix ci issue
* Add intent arguments for iosxr_interface
* Add intent check support for iosxr_interface
* Integration test for intent + configuration
* Fix ci failure
2017-08-15 19:20:28 +05:30
Ganesh Nalawade
38c0b581c3
Handle common argument in aggregate parameter for vyos module ( #28182 )
...
* Handle common agrument in aggregate parameter for vyos module
* Add supoort to set parameter in aggregate to it's respctive
top level argument if value not provided in aggregate.
* Aggregate argument spec validation
* Documentation for aggregate
* Fix unit test failure
2017-08-15 19:09:44 +05:30
Ganesh Nalawade
0c4706897c
Fix minor issue in junos_vlan ( #28218 )
2017-08-15 18:41:53 +05:30
Jacob McGill
a8a3ad70ad
ACI Subnet: New Module ( #28202 )
...
* ACI Subnet: New Module
* fix docstring
* update docstring
2017-08-15 03:46:39 +02:00
Jacob McGill
46956f0273
ACI Subject Filter Binding: New Module ( #28201 )
...
* ACI Subject Filter Binding: New Module
* add metadata
* fix whitespace
2017-08-15 03:33:11 +02:00
Dag Wieers
f8d24b4111
new module: Manage MCP interface policies [network/aci/aci_mcp] ( #28206 )
...
Manage MCP interface policies on Cisco ACI fabrics.
This module is idempotent, and supports check-mode and has diff-support.
2017-08-15 03:26:43 +02:00
Jacob McGill
5efe713bea
ACI EPG Domain: New Module ( #28203 )
...
new module: managing EPG to VMM and Physical Domains [network/aci/aci_epg_domain_binding]
2017-08-15 03:24:58 +02:00
Jacob McGill
24ec04cbfc
ACI Filter Entry: New Module ( #28200 )
...
* ACI Filter Entry: New Module
* fix aliases key
2017-08-15 03:24:04 +02:00
Dag Wieers
835ef7dd66
new module: Manage Layer 2 interface policies [network/aci/aci_l2_policy] ( #28205 )
...
Manage Layer 2 interface policies on Cisco ACI fabrics.
This module is idempotent, and supports check-mode and has diff-support.
2017-08-15 03:23:26 +02:00
Jacob McGill
cece18a777
aci_bd_l3out_binding.py ( #28199 )
...
new module: support for binding Bridge Domains and L3 Outs [network/aci/aci_bd_l3out_binding]
2017-08-15 03:14:53 +02:00
Jacob McGill
79afb2eff1
new module: manage Bridge Domains [network/aci/aci_bridge_domain] ( #28196 )
...
* ACI Bridge Domain: Add new module
* fix type in docstring
* fix type in docstring
2017-08-15 03:13:50 +02:00
Dag Wieers
68d487eacf
new module: Manage route tag policies [network/aci/aci_route_tag_policy] ( #28204 )
...
Manage route tag policies on Cisco ACI fabrics.
This module is idempotent, and supports check-mode and has diff-support.
2017-08-15 03:13:03 +02:00
Dag Wieers
fdfb4f736d
new module: manage LLDP interface policies [network/aci/aci_lldp_policy] ( #28099 )
...
* aci_lldp_interface_policy: Manage LLDP interface policies
Module to manage LLDP interface policies on Cisco ACI fabrics.
This module is idempotent, and supports check-mode and has diff-support.
* Rename aci_lldp_interface_policy to aci_lldp_policy
2017-08-15 03:12:20 +02:00
Dag Wieers
5a887fb1f6
aci_port_channel: Manage port channel interface policies ( #28141 )
...
Manage port channel interface policies on Cisco ACI fabrics.
This module is idempotent, and supports check-mode and has diff-support.
2017-08-15 01:51:23 +02:00
Dag Wieers
af39ed86e5
aci_span_dst_group: Manage span destination groups ( #28143 )
...
Manage span destination groups on Cisco ACI fabrics.
This module is idempotent, and supports check-mode and has diff-support.
2017-08-15 01:51:13 +02:00
Dag Wieers
9b05195a04
aci_taboo_contract: Manage taboo contracts ( #28144 )
...
Manage taboo contracts on Cisco ACI fabrics.
This module is idempotent, and supports check-mode and has diff-support.
2017-08-15 01:51:01 +02:00
Dag Wieers
42d8a9ea89
aci_port_security: Manage port security ( #28142 )
...
Manage port security on Cisco ACI fabrics.
This module is idempotent, and supports check-mode and has diff-support.
2017-08-15 01:50:12 +02:00
Dag Wieers
f7244ebb49
aci_monitoring_policy: Manage monitoring policies ( #28140 )
...
Manage monitoring policies on Cisco ACI fabrics.
This module is idempotent, and supports check-mode and has diff-support.
2017-08-15 01:49:52 +02:00
Dag Wieers
ec8b99ac06
aci_action_rule_profile: Manage action rule profiles ( #28139 )
...
Manage action rule profiles on Cisco ACI fabrics.
This module is idempotent, and supports check-mode and has diff-support.
2017-08-15 01:49:35 +02:00
Dag Wieers
67111e7fec
aci_fc_policy: Manage FC interfaces on Cisco ACI fabrics ( #28095 )
...
Module to manage FC interfaces on Cisco ACI fabrics.
This module is idempotent, and supports check-mode and has diff-support.
2017-08-15 01:49:19 +02:00
Dag Wieers
4e3c3a1aa1
aci_filter: Manage filter objs on ACI fabrics ( #28094 )
...
Module to manage top level filter objects on Cisco ACI fabrics.
This module is idempotent, and supports check-mode and has diff-support.
2017-08-15 01:48:47 +02:00
Dag Wieers
d4fae9bbbc
aci_contract: Manage contracts on ACI fabrics ( #28093 )
...
Module to manage contracts on ACI fabrics.
This module is idempotent, and supports check-mode and has diff-support.
2017-08-15 01:48:27 +02:00
saichint
9d84a4e530
fix for nxos_ospf_vrf invalid cmd and ntp errors ( #27977 )
...
* fix for nxos_ospf_vrf invalid cmd
* fix for nxos_ntp issues
2017-08-14 16:09:16 -04:00
Nathaniel Case
19a6000d97
Fix nxos_bgp_af networks parameter ( #28169 )
...
* Split 'networks' and 'redistribute' in get_value
* Add missing `'` in docs
2017-08-14 15:18:10 -04:00
Jacob McGill
59f704c766
add module to support ACI Contexts ( #28091 )
2017-08-14 13:11:21 -06:00
rahushen
b74300b657
Additional fix for #27167 : port-channel interface idempotence ( #27979 )
2017-08-14 11:44:12 -04:00
Nathaniel Case
820d7e805a
Streamline nxos_smu ( #28030 )
2017-08-14 10:54:50 -04:00
rahushen
b9c3329950
nxos_ip_interface: Fixes for #27170 , #27172 ( #27935 )
...
* Fixes for #27170 , #27172
* Add nxos_ip_interface IT tests
* For ipv6 check if ip address configured before doing a no ip address
2017-08-14 10:16:08 -04:00
David Newswanger
cfda267b2b
fixes pipe issue ( #28127 )
2017-08-14 17:21:32 +05:30
Trishna Guha
60ce6438e3
fix nxos_overlay_global idempotence ( #28150 )
...
* fix nxos_overlay_global idempotence
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* modify nxos_overlay_global unittest
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-14 16:09:53 +05:30
David Newswanger
a01aa6e9df
Fix structured output not supported in nxos_pim_interface ( #28125 )
...
* fixed unstructured error
* fix unit tests so they accept commands in dictionary form
2017-08-14 12:34:05 +05:30
Trishna Guha
12460dd713
Add ios_vrf declarative intent config check ( #28001 )
...
* Add ios_vrf declarative intent config check
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* add version for delay param
* modify ios_vrf unit test
2017-08-14 12:27:03 +05:30
Ganesh Nalawade
eb33cc88bd
Add state intent argument in vyos interface ( #28066 )
...
* Add state intent argument in vyos interface
* State intent argument support
* Integration test for supported intent arguments
* Add intent testcase
* FIx ci issue
2017-08-14 10:17:41 +05:30
Ganesh Nalawade
711a6b2326
Add common aggregate arguments for junos modules ( #28124 )
...
If parameter value in aggregate is not set, fetch it's corresponding
value from top level parameters.
2017-08-14 10:17:03 +05:30
Ganesh Nalawade
21bd7bcbb0
junos_interface intent arguments ( #27947 )
...
* junos_interface intent arguments
* Add check for intent argument in junos_interface
* Integration test for intent arguments
* Minor type fixes
* Add delay only if config diff is present
* add enabled configuration argument
* net_interface test case changes
* Minor doc change
2017-08-13 13:18:15 +05:30
Jacob McGill
8b92369678
Update aci_tenant to support check_mode ( #28090 )
2017-08-11 18:51:49 -04:00
Trishna Guha
aef4e3d8fa
fix nxos_snapshot ( #27993 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-11 12:16:37 -04:00
Peter Sprygada
17a259a163
fixes command to be sent over nxapi for nxos_file_copy ( #28029 )
...
fixes #27347
2017-08-11 12:14:52 -04:00
Patrick Ogenstad
089226e372
Fixes for broken asa_config module ( #27218 )
...
* Fixes for broken asa_config module
* strip() prompt before checking
2017-08-11 11:42:42 -04:00
Nathaniel Case
0464a21a85
Fix nxos_snmp_contact, others ( #28000 )
...
* Fix nxos_snmp_contact
Fixes #27714
* Fix nxos_snmp_community
Fixes #27711
* Fix nxos_install_os
Fixes #27604
* Update nxos_ntp_auth
Fixes #27521
* Fix nxos_igmp_snooping
Fixes #27501
2017-08-11 10:12:43 -04:00
Peter Sprygada
edc3507c98
restore the ability to issue commands over junos cli ( #28025 )
...
* restore the ability to issue commands over junos cli
* add warn message for invalid arguments
* fix issue when checking if provider transport is set
2017-08-10 17:57:32 -04:00
David Newswanger
d0485779e8
nxos_smu: fix Structured output unsupported error in nxapi ( #27976 )
...
* fixed structured output unsupported error
2017-08-10 14:12:15 -04:00
Ricardo Carrillo Cruz
e8f1c1511c
Implement purge on eos_vrf ( #28013 )
2017-08-10 19:59:32 +02:00
Peter Sprygada
145895dcf0
updates examples and documentation ( #24211 )
...
includes better examples of valid and invalid usage of the lines
argument
fixes #22828
2017-08-10 13:09:53 -04:00
Peter Sprygada
c4da61239d
stops trying to filter out commands from config ( #28002 )
...
* stops trying to filter out commands from config
fixes #24874
* fix up pep8 issues and remove offending function
2017-08-10 09:18:44 -04:00
Nathaniel Case
ed8a5af3dc
nxos_bgp: Fix idempotence for event-history ( #27329 )
...
* Fix idempotence for event-history
* `event-history detail` defaults to `False`, the rest to `size_small`
2017-08-10 08:55:43 -04:00
Ricardo Carrillo Cruz
7e2169f6d5
Add aggregate functionality to eos_vrf ( #27915 )
...
* Add aggregate functionality to eos_vrf
* Add tests for eos_vrf aggregate option
* Remove test2 and test3 vrfs at the beginning of the eos_vrf tests
* Pull all vrfs
With aggregate, we need to get all VRFs and we then compare with
desired VRFs, instead of assuming it will be just one.
2017-08-10 10:54:13 +02:00
Dag Wieers
6bfedc9fe5
Various fixes ( #27889 )
...
This PR includes:
- Removal of get_exception (sadly)
- Avoid deprecating 'state' parameter with aci_rest
- Small fix for querying using aci_rest
Signed-off-by: @bcoca
2017-08-10 01:51:13 +02:00
Nathaniel Case
a78f3faa6c
nxos_bgp_neighbor_af does not want required_together ( #26370 )
...
* nxos_bgp_neighbor_af does not want required_together
* fixup tests
* Fix max_prefix_* issues
* Require address-family
* Fix idempotency for next_hop_third_party
* Fix idempotency for allowas_in*
* Fix idempotency for *_in and *_out
* Reorder command generation again
`default` is first, then `max-prefix`, then booleans
2017-08-09 15:54:34 -04:00
Peter Sprygada
4fb114174b
fixes Traceback generated by nxos_igmp module ( #27869 )
...
* fixes Traceback generated by nxos_igmp module
* update module code to reflect review comments
* doh!...remove q
2017-08-09 15:52:37 -04:00
saichint
14186af558
Fix for nxos_ospf idempotent issue ( #27913 )
2017-08-09 11:25:35 -04:00
Nathaniel Case
01dda25e0f
fix nxapi transport in nxos_snmp_location ( #27849 )
...
* fix nxapi transport in nxos_snmp_location
* Appease Shippable
2017-08-09 09:44:02 -04:00
Nathaniel Case
c1bf74283e
Network load_config: Capture configuration output and display as warnings ( #27851 )
...
* Capture configuration output and display as warnings
* Don't break on nxapi
nxapi errors very loudly instead, so no need to muck about with warnings
2017-08-09 09:43:04 -04:00
schunduri
3241b7116e
Cisco ACI New Module PR ( #26836 )
...
* New ACI Tenant module
* New module requirements added.
* Placed from __future__ import to be the first line
* Interpreter line added
2017-08-09 07:08:44 -06:00
Ganesh Nalawade
1f7e04d958
Fix junos_lldp integration test failure ( #27936 )
2017-08-09 10:23:41 +05:30
Ricardo Carrillo Cruz
d1d0cd5406
Add delay and check configuration when interfaces is set on eos_vrf ( #27884 )
...
* Add delay and check configuration is right when interfaces is set on eos_vrf
Per the spec we put up for declarative intent modules, we need to check declarative
intent params (in the case of eos_vrf it's 'interfaces') after a delay and non-declarative
params have been set.
If that doesn't meet desired state after delay, we fail the task.
* Check declarative intent param only if config changed
* Fix pep8 issue
* Change default of delay param to 10
* Revert bogus change on eos_vlan
2017-08-08 20:23:45 +02:00
saichint
babec35faa
Fix nxos_vtp_password and nxos_vrf_interface for remove idempotency tests ( #27724 )
...
* fixes for 27600 27676
* add sanity tests
2017-08-08 12:40:22 -04:00
Peter Sprygada
0b67ef4232
fixes #27527 ( #27868 )
2017-08-08 10:12:02 -06:00
Ganesh Nalawade
12e81e68fc
remoe duplicate net_lldp_interface ( #27880 )
2017-08-08 14:50:54 +05:30
Ganesh Nalawade
49eb81d573
junos_linkagg aggregate and other minor fixes ( #27855 )
...
* junos_linkagg aggregate and other minor fixes
* Minor change
2017-08-08 12:13:28 +05:30
rahushen
441376c754
Fix #26024 : suppress_fib_pending imdepotence for nxos_bgp ( #27862 )
2017-08-07 21:08:46 -04:00
Mike Wiebe
65cf31e1ce
Fix nxos_interface_ospf idempotence issue ( #27783 )
...
* Add tests and fix 27167
* Add modify test
2017-08-07 13:54:31 -04:00
Tyler
2571fc061e
Add try/except to catch ipv6 interfaces that didn't appear on 'show interfaces' output ( #27246 )
2017-08-07 19:04:50 +02:00
Nathaniel Case
b9e80b6117
nxos_vrf_interface cleanup ( #27642 )
...
* Update RETURN, results, & execute_show_command
2017-08-07 10:57:45 -04:00
Ricardo Carrillo Cruz
b51a1e9045
Fix junos_netconf idempotency issues ( #27804 )
...
* Fix junos_netconf idempotency issues
* Fix pep8 issue
* Fix pep8 issue
2017-08-05 17:07:51 +02:00
Trishna Guha
edb5760723
nxos_vpc doc update to handle confirmation prompt ( #27796 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-05 11:05:38 +05:30
Ganesh Nalawade
d3e5d30f7c
Add aggregate for junos modules and sub spec validation ( #27726 )
...
* Add aggregate for junos modules and sub spec validation
* aggregate support of junos modules
* aggregate sub spec validation
* relevant changes to junos integration test
* junos module boilerplate changes
* Add new boilerplate for junos modules
* Fix CI issues
2017-08-04 14:55:58 +05:30
George Nikolopoulos
31b4ae2e6a
New module: manage Citrix Netscaler GSLB site configuration (network/netscaler/netscaler_gslb_site) ( #27639 )
...
* Add netscaler_gslb_site
* Lowercase enabled, disabled option values
* Add fixes in netscaler module utils needed for unit test success
2017-08-03 15:26:17 +01:00
George Nikolopoulos
d88c07a037
New module: manage Citrix Netscaler GSLB service configuration (network/netscaler/netscaler_gslb_service)) ( #27638 )
...
* Add netscaler_gslb_service
* Lowercase enabled, disabled option values
* Add fixes in netscaler module utils needed for unit test success
2017-08-03 15:26:05 +01:00
George Nikolopoulos
cd865be987
New module: manage Citrix Netscaler SSL certificate keys (network/netscaler/netscaler_ssl_certkey)) ( #27641 )
...
* Add netscaler_ssl_certkey
* Fix options
* Lowercase enabled, disabled option values
* Add fixes in netscaler module utils needed for unit test success
2017-08-03 15:24:56 +01:00
George Nikolopoulos
e2f907ae3e
Add netscaler_gslb_vserver ( #27640 )
2017-08-03 12:32:10 +01:00
rahushen
e0f482a8c5
Fixes #27340 - make indent consistent for nxos_config ( #27652 )
2017-08-03 07:09:31 -04:00
Trishna Guha
91a9564b3b
modify indent to avoid re-run of src template fail ( #27686 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-03 12:58:27 +05:30
James Mighion
baaa1ef2ec
Sanitizing all responses from aireos. ( #27660 )
2017-08-02 22:01:38 +01:00
Nathaniel Case
123b5e222f
nxos_bgp_neighbor fixes ( #27348 )
...
* Fix `timers` idempotency
* `shutdown` is not documented as having a `default` option
* dynamic_capability is the inverse of BOOL_PARAMS
2017-08-02 11:07:46 -04:00
mharista
c85f363aaa
Add module cv_server_provision for integration with Arista CloudVision Portal. ( #25450 )
...
* Add module cv_server_provision for integration with Arista CloudVision Portal.
* Doc update.
* Remove shebang from test file. Update short description with company and product name.
* Update exception syntax to Python3 style.
* Remove blank line between imports.
* Remove newlines from RETURN documentation.
* Add cvprac to unittest requirements.
* Update unittest format. Add a few additional tests.
* Mock exceptions from cvprac so the library is not needed for unittests.
* Mock cvprac imports.
* Update unit tests to support python 3.5.
* Mock full cvprac library for unittests.
* Update Jinja2 import to pass updated CI checks.
* Update cvprac imports format for new CI tests.
* Add __metaclass__ and __future__.
2017-08-02 15:24:52 +01:00
Nathaniel Case
b93878b685
Minor cleanup to nxos_vrrp ( #27593 )
...
* Safe changes
* Fold `[0]` into `execute_show_command()`
We only ever execute one command, so only return the one response
* Streamline `results`
2017-08-02 08:46:44 -04:00
Ganesh Nalawade
6a0d9d1498
Fix junos_logging integration test failure ( #27605 )
2017-08-02 02:12:09 +05:30
saichint
37392318a6
fix nxos_vlan and nxos_switchport issues ( #27505 )
2017-08-01 16:27:12 -04:00
Adrian Likins
a52a4332fd
Fix aruba_config flake8 failures ( #27603 )
...
* Fix aruba_config flake8 failures
* fix intefaces_file build/flake8 fail
2017-08-01 15:48:48 -04:00
Nathaniel Case
ec8cbbf926
Fix aruba boilerplate
2017-08-01 14:32:25 -04:00
Nathaniel Case
c017d0c7c0
Fix fortios & netscaler boilerplate
...
Sorry
2017-08-01 14:02:10 -04:00
Trishna Guha
407dc2dc68
fix nxos_vrf removal failure ( #27547 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-08-01 11:51:25 -06:00
Gaurav Rastogi
23ec711494
Added flags for Federated objects used in GLSB ( #27531 )
2017-08-01 11:51:01 -06:00
Ganesh Nalawade
c4e06a1735
ios implementation for net_interface ( #27459 )
...
* ios implementation for net_interface
* ios_interface implementation
* ios_interface integration test
* net_interface integration test for ios and other refactor
* Update boilerplate and minor refactor
2017-08-01 11:50:08 -06:00
James Mighion
4dd8f281d6
Adding aruba_config module ( #27130 )
...
* Adding aruba_config module.
* Fixing documentation.
* Forgot action plugin.
2017-08-01 11:44:26 -06:00
George Nikolopoulos
f204e7cb33
New module: manage Citrix Netscaler content switching virtual server configuration (network/netscaler/netscaler_cs_vserver) ( #26245 )
...
* Add netscaler_cs_vserver
* Correct version_added
2017-08-01 18:43:59 +01:00
QijunPan
402ac47549
Contributing lib/ansible/modules/network/cloudengine/ce_bfd_session.py module to manage HUAWEI data center CloudEngine ( #26069 )
...
* add bfd session module
* update return doc
2017-08-01 11:40:15 -06:00
George Nikolopoulos
36537186e3
New module: manage Citrix Netscaler content switching policy configuration (network/netscaler/netscaler_cs_policy) ( #26189 )
...
* Add netscaler_cs_policy
* Correct version_added
2017-08-01 18:35:29 +01:00
Ken Celenza
7a51c5f4df
make panos security rule more idempotent ( #26573 )
2017-08-01 11:35:18 -06:00
benthomasson
fb1583b2c2
Add last line of LLDP data ( #26451 )
2017-08-01 11:34:42 -06:00
George Nikolopoulos
e329c9da8c
New module: manage Citrix Netscaler servicegroup configuration (network/netscaler/netscaler_servicegroup)) ( #26183 )
...
* Add netscaler_servicegroup
* Correct version_added
2017-08-01 18:34:28 +01:00
George Nikolopoulos
7df14bd2b0
New module: manage Citrix Netscaler load balancer virtual servers configuration (network/netscaler/netscaler_lb_vserver) ( #26144 )
...
* Add netscaler_lb_vserver
* Correct version_added
2017-08-01 18:33:35 +01:00
John R Barker
727a7e8a1c
Correct version added
2017-08-01 18:32:02 +01:00
George Nikolopoulos
ac0c5dec2f
Add netscaler_lb_monitor ( #26143 )
2017-08-01 11:30:47 -06:00
QijunPan
17e64f876d
add bfd view module ( #26070 )
2017-08-01 11:28:51 -06:00
QijunPan
5b2373df16
add bfd global module ( #26068 )
2017-08-01 11:28:19 -06:00
Dennis Israelsson
d7202e6155
Add fabricpath support for nxos_vlan ( #26013 )
...
* Add files via upload
Fix for issue #25720
* nxos_vlan fabricpath (#25720 )
Fix for issue #25720
* Add files via upload
* Add files via upload
* Delete nxos_vlan.py
* Add files via upload
* Add files via upload
2017-08-01 11:27:47 -06:00
techhelper1
a25c6b9478
ios_facts: Fixed Retrieving All IPv4 Addresses on L3 Interfaces ( #25462 )
...
* Fixed Retrieving All IPv4 Addresses on L3 Interfaces
The ios_facts module retrieving the interface subnet, would only get the primary IPv4 address on the interface and would not capture all the secondary IPs (ones that I would be set by "ip address x.x.x.x x.x.x.x secondary").
This was tested and confirmed to work on a Cisco 6500 with IOS 15.1(2)SY6.
* Fixed whitespace and if statement issues for sanity.
* Fixed spacing because sanity.
2017-08-01 11:24:02 -06:00
ikelos
03d3c6135d
Convert the src entry to a templated entry. ( #24026 )
2017-08-01 11:19:08 -06:00
jpvrenen
b13d547621
Added result responses ( #23336 )
...
Return value 'responses' is now created in result, so it can actually be
called/used.
2017-08-01 11:18:34 -06:00
numone213
25b3f194f8
Contributing lib/ansible/modules/network/cloudengine/ce_vrrp.py module to manage HUAWEI data center CloudEngine ( #22344 )
...
* add ce vrrp
add ce vrrp
* metadata_version
* fix CI issue
2017-08-01 11:17:44 -06:00
Benjamin Jolivot
753b26ccf9
Manage Fortios/Fortigate Address ( #21542 )
...
* New module fortios_address
* Add module_utils required_if + fix Doc
* Merge spec & required_if from module_utils
* Fix pep8
* Py2.5 compat , cosmetic changes
* Fix param timeout
* Fortios_address module + integration tests
* add netaddr library in requirements for integration tests
* Pep8 problems
* ANSIBLE_METADATA.version -> ANSIBLE_METADATA.metadata_version
2017-08-01 11:17:12 -06:00
Gaurav Rastogi
dc5b826af8
New Module: Manage Avi Networks ServerAutoscale Policy ( #27544 )
2017-08-01 17:50:37 +01:00
Gaurav Rastogi
d3ed3dd7c3
New Module: Manage Avi Networks HardwareSecurityModuleGroup (HSM) (network/avi/avi_hardwaresecuritymodulegroup) ( #27541 )
2017-08-01 17:48:33 +01:00
Gaurav Rastogi
6f12abe517
New Module: Manage Avi Networks PoolGroupDeploymentPolicy (nettwork/avi/avi_hardwaresecuritymodulegroup) ( #27542 )
2017-08-01 17:48:16 +01:00
Gaurav Rastogi
d78d3931a1
New Module: Manage Avi Networks Traffic Clone profile (network/avi/avi_trafficcloneprofile) ( #27543 )
2017-08-01 17:42:16 +01:00
Gaurav Rastogi
5fe82c6b4a
New Module: Manage Avi snmptrapprofile (network/avi/avi_snmptrapprofile) ( #27583 )
2017-08-01 17:41:51 +01:00
Gaurav Rastogi
eae1e9a351
New Module: Manage Avi Networks Scheduler (network/avi/avi_scheduler) ( #27582 )
2017-08-01 17:41:38 +01:00
Gaurav Rastogi
4d1bd424f4
New Module: Manage Avi Networks Backupconfiguration (network/avi/avi_backupconfiguration) ( #27580 )
2017-08-01 17:41:25 +01:00
Gaurav Rastogi
833d3dd5f9
New Module: Manage Avi Networks Webook (network/avi/avi_webhook) ( #27579 )
2017-08-01 17:41:10 +01:00
Gaurav Rastogi
279c50e43f
New Module: Manage Avi Networks PriorityLabels (network/avi/avi_prioritylabels) ( #27576 )
2017-08-01 17:40:54 +01:00
Ganesh Nalawade
60676add33
iosxr implemetation for net_interface ( #27513 )
...
* iosxr implemetation for net_interface
* iosxr_interface implementation
* Add integration test
* iosxr_interface integration test
* net_interface intergration test for iosxr
* update boilerplate
2017-08-01 20:19:54 +05:30
ossark
3290c2fc3c
Added priority attribute for pool members (bigip_pool_member module) ( #23128 )
...
* Added priority attribute for pool members (bigip_pool_member module)
* Line break missing
* Change from 'priority' to 'priority_group'
* Update bigip_pool_member.py
* Update bigip_pool_member.py
2017-08-01 15:15:54 +01:00
Ganesh Nalawade
7cf4416c9c
Fix junos_netconf integration test failure ( #27528 )
2017-08-01 02:25:52 +05:30
Toshio Kuratomi
0b9a78f0b3
Remove wildcard, add boilerplate and get rid of get_exception
...
* smaller collections of database modules
* Some of the smaller collections of network modules
2017-07-31 13:51:38 -07:00
Gaurav Rastogi
e575ff8d8d
New Module: Manage Avi Networks Microservicegroup (network/avi/avi_microservicegroup) ( #26209 )
2017-07-31 15:29:09 +01:00
Gaurav Rastogi
69c4f90f7d
New Module: Manage Avi Networks VRF Context Objects (networks/avi/avi_backup) ( #26204 )
2017-07-31 15:23:28 +01:00
Gaurav Rastogi
202cbd3421
New Module: Manage Avi Networks Serviceengine (network/avi/avi_serviceengine) ( #26210 )
2017-07-31 15:22:16 +01:00
Gaurav Rastogi
51ff3dba68
New Module: Manage Avi Networks IPAM DNS provider profiles (network/avi/avi_ipamdnsproviderprofile) ( #26207 )
2017-07-31 15:21:06 +01:00
Gaurav Rastogi
1e6fd571e1
New Module: Manage Avi Networks Cluster objects (networks/avi/avi_cluster) ( #26205 )
2017-07-31 15:14:28 +01:00
Gaurav Rastogi
0424919fe6
New Module: Manage Avi Networks AlertSyslogConfig (network/avi/avi_alertsyslogconfig) ( #26215 )
2017-07-31 15:12:53 +01:00
Gaurav Rastogi
1da76772f8
New Module: Manage Avi Networks AlertScriptConfig (network/avi/avi_alertscriptconfig) ( #26214 )
...
* New Module: Manage Avi Networks AlertScriptConfig (network/avi/avi_alertscriptconfig)
* updated example to not include python import as it fails sanity test
2017-07-31 15:12:15 +01:00
Gaurav Rastogi
d2ec5462bc
New Module: Manage Avi Networks AlertEmailConfig (network/avi/avi_alertemailconfig) ( #26213 )
2017-07-31 15:11:24 +01:00
Gaurav Rastogi
2589d640dd
New Module: Manage Avi Networks AlertConfig (network/avi/avi_alertconfig) ( #26212 )
2017-07-31 15:08:05 +01:00
Gaurav Rastogi
a8caff169e
New Module: Manage Avi Networks ActionGroupConfig (network/avi/avi_actiongroupconfig) ( #26211 )
2017-07-31 15:07:42 +01:00
saichint
350018de73
nxos_vxlan_vtep fixes and integration tests ( #27405 )
...
* fix issue 27404
* conflict resolve
2017-07-31 08:37:31 -04:00
Dag Wieers
97aaf103e8
ACI module_utils library for ACI modules ( #27070 )
...
* ACI module_utils library for ACI modules
This PR includes:
- the ACI argument_spec
- an aci_login function
- an experimental aci_request function
- an aci_response function
- included the ACI team
* New prototype using ACIModule
This PR includes:
- A new ACIModule object with various useful methods
2017-07-31 12:44:27 +01:00
James Mighion
a328e96455
Adding aireos_config module ( #27408 )
...
* Adding aireos_config module.
* Fixing pep8 W291.
2017-07-29 00:36:04 +05:30
Ganesh Nalawade
43bd993fac
Fix fetch configuration in junos_command ( #26392 )
...
* Fix fetch configuration in junos_command
Fixes #26358 Add support to fetch configuration
from device in `xml`, `text`, `json`, `set` display
format.
* Add error message if set display is not supported
* Throw error in case of warning for show commands
2017-07-28 23:06:21 +05:30
Mike Wiebe
07b097af7c
Fix nxos portchannel force option ( #27190 )
...
* Add integration tests
* Fix force option
* Enable nxos_portchannel test
* Satisfy ansibot demands
2017-07-28 13:06:41 -04:00
Nathaniel Case
fb2b3de5e4
Fix nxos_vtep_vni typo
2017-07-28 13:04:08 -04:00
David Newswanger
c594f1e1c9
fixed nontype error ( #27428 )
2017-07-28 21:50:09 +05:30
David Newswanger
3b1f2aeb16
Iosxr attribute error #27122 ( #27425 )
...
* WIP fixing iosxr_logging idempotency
* remove debug stuff from module, add teardown section to start of test
2017-07-28 20:07:34 +05:30
Trishna Guha
6d1bd33aa5
fix iosxr_banner ( #27378 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-07-28 17:09:04 +05:30
Trishna Guha
a49c419651
fix nxos_vrf_af nxapi & cli ( #27307 )
...
* fix nxapi failure #27142
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix nxos_vrf_af nxapi and cli
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-07-28 09:02:02 +05:30
David Newswanger
81151ef02c
Remove Deprecated Template network modules ( #27076 )
...
* removed deprecated networking template modules
* update changelog
* update changelog
2017-07-27 19:40:11 +01:00
Trishna Guha
7351ee9a76
fix nxos_interface multiple issues ( #27106 )
...
* fix execute_show_command
* fix pep8 issues
* fix AttributeError #26562
* legacy-file remove
* modify execute_show_command output
* fix admin_state up doc
* fix admin_state for all interfaces doc
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-07-27 19:23:35 +05:30
saichint
9b9a8749da
Add integration tests and fix nxos providers ( #26913 )
...
* fix issues with python3.x
* Add integration testa and fix for nxos_evpn_vni
* add nxos_evpn_vni to nxos.yaml
* fix get_vtp_config()
* add new integration tests
* fix rollback
* add integration test files
2017-07-27 09:32:35 -04:00
Trishna Guha
2eaf3571f3
fix state absent nxos_hsrp ( #27366 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-07-27 14:28:46 +05:30
Trishna Guha
498bf4b5be
change collection to aggregate ( #27325 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-07-26 20:36:56 +05:30
David Newswanger
8643e9cb34
changed collection arg to argregate on 2.4 network modules ( #26649 )
...
* changed collection arg to argregate on 2.4 network modules
* replace users with aggregate in eos_user, junos_user, nxos_user
* added version_added to places where we replaced users with aggregate in the docs
* fix ios_static_route test
* update tests to reference aggregate instead of collection/users
2017-07-26 10:09:17 -04:00
Trishna Guha
41ce724801
fix nxos_hsrp ( #27306 )
...
* fix nxos_hsrp
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* modify nxos_hsrp test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-07-26 11:38:55 +05:30
Toshio Kuratomi
225fa5d092
Fix undefined variables, basestring usage, and some associated python3 issues
2017-07-25 15:58:23 -07:00
Ricardo Carrillo Cruz
3a3bdde869
Fix multiple code and test issues on iosxr ( #27267 )
...
* Fix multiple code and test issues on iosxr
It passes the integration tests now.
Fixes #27123
* Fix pep8 issue
* Fix unit tests
2017-07-25 17:21:53 +02:00
Toshio Kuratomi
8b34e31e05
Remove the error checking from apply_patch()
...
The error checking would itself cause a traceback. The load_config()
function that we'd need to check for errors from only returns None so
there's no way to check for errors via the return value. In the future
someone could rewrite the load_config function to return useful
information and restore the error checking but for now this is better as
it won't traceback on success and it will let us turn on static analysis
of undefined variables
Fixes #27255
References #27254
2017-07-25 06:12:44 -07:00
Trishna Guha
703eea3da2
eos_logging implementation module ( #27093 )
...
* eos_logging implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* eos_logging integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* modify aggregate args logic
* changed collection to aggregate
* add blankline
* handle size value outside method
2017-07-25 18:16:04 +05:30
Philippe Dellaert
c00554735f
New module: management of the Nuage Networks VSP SDN solution (network/nuage/nuage_vspk) ( #24895 )
...
* Nuage module and unit tests with requested changes
* Cleanup of imports
* Adding check on python version
* Adding import try and catch wrappers
* Cleanup of requirements and adding integration tests
* Using pypi package for simulator
* Cleanup of requirements and adding integration tests
* Adding aliases for integration tests
* Adding module to import sanity test skip list
* Revert "Adding module to import sanity test skip list"
This reverts commit eab23af8c5ca7c503af63c05610b5db66d31fae4.
* Adding check for importlib and cleanup of requirements
2017-07-25 12:35:03 +01:00
Trishna Guha
e37e736ddb
nxos_logging implementation module ( #26949 )
...
* nxos_logging implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* pep8 fixes
* nxos_logging integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* test typo fix
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* idempotent fix
* rename feature to facility
* make dest_group global var
* remove str from arg_spec
2017-07-25 17:03:54 +05:30
David Newswanger
fd771e580f
replace str with to_native ( #27135 )
2017-07-21 09:32:57 -06:00
Nathaniel Case
85e7e342b0
nxos_bgp_af correct parents ( #26996 )
...
* move config location
* client-to-client is inverse of BOOL_PARAMS
2017-07-20 13:42:26 -04:00
Ganesh Nalawade
5ab8d30d10
Add net_vrf implementation for junos ( #27055 )
...
* junos_vrf implementation
* junos_vrf integration test
* net_vrf integration test for junos
2017-07-20 11:20:18 +05:30
David Newswanger
9f64e446c6
Fix #26918 : IOS TypeError ( #26999 )
...
Fix IOS TypeError
* if flags are None, then ' '.join(flags) fails
* fixed get_defaults_flag so that it returns a list, and ignores lines with white space
Fixes #26918
2017-07-19 15:06:11 -07:00
Nathaniel Case
56a0b988a9
nxos integration fix part 1 ( #27069 )
...
* Assorted Python 3 fixes
* Fix `testcase` definition in integration tests
* Fix nxos_acl_interface
* clean up nxapi after nxos_nxapi
2017-07-19 14:00:05 -04:00
James Mighion
b8337ee9d3
New module aireos_command ( #26769 )
...
* Adding ciscowlc_command module and unit tests.
* Adding __init__.py for unit test.
* Fixing PEP8 W503.
* Renaming module from ciscowlc_command to aire_command.
* Renaming aire_command to aireos_command.
2017-07-19 23:14:52 +05:30
Frederic Lepied
65d093d9a7
Skip f5 tests if f5-sdk is not installed ( #27035 )
...
Fixes: bug #27034
Introduced by 278fa552f8
2017-07-19 10:09:25 -06:00
Tim Rupp
09e9b4b4ba
Adds refactored bigip_monitor_tcp ( #26842 )
...
This module needed to be refactored to use the REST API and
coding conventions for newer modules. This patch adds those changes.
This patch also deprecates params in favor of separate modules. These
deprecated params will be removed in 2.5.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_monitor_tcp.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_monitor_tcp/tasks
2017-07-19 10:07:18 -06:00
Dag Wieers
2b4a8095e9
Simplify XML error-handling and typo ( #26929 )
...
This PR fixes:
- A typo in the aci_login function
- Improve (XML) error-handling
- Rename status_code back to status
2017-07-19 08:46:16 +01:00
Ganesh Nalawade
abb4361990
Add vyos_interface default description ( #27029 )
...
* Add default description string to vyos_interface
* If `state=up` it should remove the `disable` configuration
for interface. However, if no other interface parameter is configured
this ends up deleting the interface itself which is not the desired
behaviour. Hence adding a default description field to avoid such
scenario's.
* Minor changes
* Add default description to aggregate
2017-07-19 13:01:56 +05:30
James Mighion
f682d9bf49
Adding aruba_command module along with unit tests. ( #26625 )
...
* Adding aruba_command module along with unit tests.
* Fixing PEP8 E303 too many blank lines.
* Adding default for timeout.
* Removing unused arguments. Moving default for timeout argument. Fixing cliconf to find hostname.
* Fixing PEP8 E302.
2017-07-19 09:49:12 +05:30
Tim Rupp
a236d249ae
Adds the bigip_configsync_actions module ( #26506 )
...
This module is required as part of HA configuration of a set of
BIG-IPs. It is used to initiate and way for configuration syncing
to happen.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_configsync_actions.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_configsync_actions/tasks
2017-07-18 18:21:25 +01:00
Tim Rupp
ea14107a56
Fixes some bugs in yaml and code ( #26627 )
...
related to default values that were pointed out to me.
2017-07-18 18:18:32 +01:00
Tim Rupp
75e609c15e
adds the bigip_ucs module ( #26663 )
...
This module allows you to load existing UCS files onto a BIG-IP
system
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_ucs.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_ucs/tasks
2017-07-18 18:17:56 +01:00
Tim Rupp
72f41148a0
Adds tcp_echo module for bigip ( #26844 )
...
This patch is part a refactor of TCP monitors for BIG-IP. This module
may file in testing without the base tcp module merged because it makes
use of similar fixtures.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_monitor_tcp_echo.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_monitor_tcp_echo/tasks
2017-07-18 18:04:36 +01:00
Tim Rupp
278fa552f8
Adds half-open tcp monitor module ( #26920 )
...
This is necessary as a part of refactoring the tcp monitor module.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_monitor_tcp_half_open.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_monitor_tcp_half_open/tasks
2017-07-18 17:59:17 +01:00
Ganesh Nalawade
b8cd646afd
net_lldp_interface module implementation for junos ( #26915 )
...
* junos_lldp_interface module implementation
* junos_lldp_interface integration test
* net_lldp_interface module intgration test for junos
* Add lldp configuration parameter in junos_lldp
* Modify junos_lldp testcase as per above change
* Add net_lldp_interface module documentation
2017-07-18 12:14:10 +05:30
Peter Sprygada
8e2dcaf9f6
update asa to use network_cli connection plugin ( #26899 )
...
* WIP update asa to use network_cli connection plugin
* add asa.py to cliconf plugins
* update asa.py terminal plugin to support regexp and events
* update constants to map asa modules to asa action handler
* update asa action handler to implement persistent connections
* update asa shared module to use persistent connections
* update asa_command module to use new connection
* fixed pep8 issues
2017-07-17 21:23:38 -04:00
Toshio Kuratomi
d64e291274
Fix modules' use of BOOLEANS*
...
* The canonical location of BOOLEANS has moved. Switch imports to use that.
* clean up argument_spec use of booleans.
* Clean up imports to not use wildcards
* Remove usage of get_exception
2017-07-17 11:48:05 -07:00
Dag Wieers
e970237a2f
New module: access Cisco ACI (network/aci/aci_rest) ( #26029 )
...
* aci_rest: New module to access Cisco ACI
This PR includes:
- Relicense as GPLv3+
- Check-mode support
- Cosmetic changes to documentation
- Examples in YAML format
- Removal of incorrect requirements (for this module)
- Do not log passwords
- Implement native fetch_url instead of requests
- Use standard hostname, username and password parameters
- Add alias src for parameter config_file
- Add mutual exclusive content option for inline data (and show some inline examples)
- Add timeout parameter
- Add validate_certs parameter
- Handling ACI result output (identical for JSON as XML input)
- Parse/expose ACI error output to user
* Lower case method, add use_ssl, Use python dicts
This commit includes:
- Use lowercase method names
- Add `use_ssl` parameter (not the `protocol` parameter)
- Use a python dict for the request data (not a JSON string)
- Documentation improvements
* Ensure one of 'content' or 'src' is provided
* Fix issue with totalCount being a string in JSON
This fixes the problem with JSON output where totalCount is a string and
not an integer.
This fixes jedelman8/aci-ansible#7
* Improve code documentation
* Improve error handling and module response
* Small typo
* Improve documentation and examples
* Keep protocol parameter, but deprecate it
* Extrude aci functions from module_utils
* aci_rest: Add unit tests
2017-07-17 16:32:12 +01:00
Nathaniel Case
a3aa5d799e
Fix nxos_system name-server parsing ( #25973 )
...
* Fix nxos_system name-server parsing
* Introduce lookup_source as a noop, but don't advertise its use
2017-07-17 11:15:43 -04:00
Nathaniel Case
855544604a
Fix nxos_bgp_neighbor_af advertise_map and advertise_map_non_exist ( #26721 )
2017-07-17 11:15:06 -04:00
Trishna Guha
e5c2e1b7be
iosxr_logging implementation module ( #26886 )
...
* iosxr_logging implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* iosxr_logging integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-07-17 17:20:22 +05:30
Trishna Guha
c38bccb3c4
Add ios_logging implementation module ( #26785 )
...
* Add ios_logging implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix doc
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* integration test net_logging and ios_logging
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* modify the module code
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* modify the module code
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* change collection to aggregate
* fix buffer size logic
* fix pep8 issues
2017-07-17 12:45:53 +05:30
Ganesh Nalawade
879acf378d
junos implementation of net_lldp ( #26872 )
...
* junos_lldp module
* junos_lldp integration test
* net_lldp integration test for junos
* Other minor changes
2017-07-17 07:14:09 +05:30
Ganesh Nalawade
bf48364c72
junos implementation for net_l3_interface module ( #26829 )
...
* junos implementation for net_l3_interface module
* junos_l3_interface implementation
* junos_l3_interface integration test
* net_l3_interface integration test for junos
* Fix module name typo
2017-07-15 12:38:44 +05:30
Nathaniel Case
61249995a1
Update nxos_interface_ospf & add test ( #26644 )
...
* Update nxos_interface_ospf & add test
2017-07-14 12:31:36 -04:00
Ganesh Nalawade
751ad7021c
vyos implementation for net_interface module ( #26799 )
...
* vyos implementation for net_interface module
* vyos_interface implementation module
* vyos_interface integration test
* net_interface integration test for vyos
* Change collection to aggregate
2017-07-14 19:39:21 +05:30
Peter Sprygada
b9a1998af5
changes `changed` to `modified` in save_when choices ( #26801 )
2017-07-14 15:08:19 +02:00
Peter Sprygada
3bbb32cac5
fixes error when trying to run show start over eapi ( #26800 )
2017-07-14 15:07:44 +02:00
Ricardo Carrillo Cruz
8333a8b908
Fix eos_config defaults logic ( #26798 )
...
Current code is bogus, it was passing flags all unconditionally.
2017-07-14 13:43:17 +02:00
Nathaniel Case
62e4353ba1
nxos_facts cleanup ( #26192 )
2017-07-13 16:56:04 -04:00
Ricardo Carrillo Cruz
af4dc6d0eb
Add vyos_lldp and vyos_lldp_interface modules ( #26753 )
...
* Add vyos_lldp and vyos_lldp_interface modules
* Fix module docstring issue
* Fix bogus aggregate reference
* Add vyos_lldp integration tests
* Add vyos_lldp_interface integration tests
* Remove unused import for run_commands
* Add VyOS net_lldp integration tests
* Remove junos and netconf from net_lldp integration tests
* Add net_lldp_interface integration tests
* Correct CLI filtering tests for VyOS
* Fix pep8 issues
* Fix more pep8 issues
2017-07-13 20:58:18 +02:00
Ricardo Carrillo Cruz
5719687920
Split net_lldp into net_lldp (service) and net_lldp_interface ( #26757 )
2017-07-13 16:38:15 +02:00
Ricardo Carrillo Cruz
5a20095b04
Add missing __init__.py on network protocol folder ( #26742 )
2017-07-13 12:04:49 +02:00
Ricardo Carrillo Cruz
9e819eeee8
Add net_lldp platform agnostic module ( #26738 )
2017-07-13 12:02:45 +02:00
Nathaniel Case
5cfdd5df0f
nxos_pim_interface ( #26367 )
...
* Add unit tests to nxos_pim_interface
* Update tests to match module
* Update nxos_pim_interface
* Address pep8 issues
2017-07-12 15:39:43 -04:00
Trishna Guha
2f60f97ee3
vyos_logging implementation module ( #26654 )
...
* vyos_logging implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* vyos_logging integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-07-12 15:54:19 +05:30
Ricardo Carrillo Cruz
3f5736e14e
Add vyos_l3_interface module ( #26610 )
...
* Add vyos_l3_interface module
* Add integration tests for vyos_l3_interface
* Add more corner cases in tests and fix multiple IPs logic
2017-07-12 08:40:26 +02:00
Peter Sprygada
63fe40c691
fixes issue when creating instance of NetworkConfig ( #26665 )
2017-07-11 21:28:35 -04:00
Peter Sprygada
0b6f0e6c0d
adds more intelligent save logic and diff to network config modules ( #26565 )
...
* adds more intelligent save logic and diff to network config modules
* adds sha1 property to NetworkConfig
* adds new argument save_when to argument_spec
* adds new argument diff_against to argument_spec
* adds new argument intended_config to argument_spec
* renames config argument to running_config with alias to config
* deprecates the use of the save argument
* before and after now work with src argument
* misc module clean
Modules updated
* nxos_config
* ios_config
* eos_config
Most notably this makes the save mechanism more intelligent for config
modules for devices that need to copy the ephemeral config to
non-volatile storage.
The diff_against argument allows the playbook task to control what the
device's running-config is diff'ed against. By default it will return
the diff of the startup-config.
* removes ios_config from pep8/legacy_files.txt
* extends the ignore lines argument to the module
* clean up CI errors
* add missing list brackets
* fixes typo
* fixes unit test cases
* remove last line break when returning config contents
* encode config string to bytes before hashing
* fix typo
* addresses feedback in PR
* update unit test cases
2017-07-11 20:34:20 -04:00
Ricardo Carrillo Cruz
b81209c187
Fix multiple EOS EAPI code and test issues ( #26651 )
2017-07-11 19:28:33 +02:00
Ganesh Nalawade
be89ef3eb6
junos_linkagg implementation and junos modules refactor ( #26587 )
...
* junos_linkagg implementation and junos modules refactor
* junos_linkagg implementation
* junos_linkagg integration test
* net_linkagg integration test for junos
* decouple `load_config` and `commit` operations,
to allow single commit (in case on confirm commit) and
to perform batch commit (multiple `load_config` followed by single
`commit`)
* Other related refactor
* Fix CI issues
* Fix unit test failure
2017-07-11 09:52:53 +05:30
Ganesh Nalawade
8c7a6cb8ac
Add transformed json output in junos_command ( #26382 )
...
* Add transformed json output in junos_command
Fixes #26363
If the display is in `xml` format for command responses
add th transformed `json` output in the result.
* Fix CI issue
2017-07-10 10:35:28 -06:00
James Mighion
58ade65ea6
Adding admin option for iosxr_config ( #26509 )
...
* Adding admin option for iosxr_config. Adding unit test for new admin option for iosxr_config. Fixes #24308
* Removing space on empty line.
2017-07-10 10:22:45 -06:00
Trishna Guha
07498ebed3
fix nxos_overlay_global ( #26422 )
...
* fix nxos_overlay_global
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* swap check_mode with candidate
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-07-10 18:53:52 +05:30
Trishna Guha
b81882e2a8
vyos_static_route implementation module ( #26426 )
...
* vyos_static_route implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add vyos_static_route implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* unit test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* modify vyos_static_route
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* integration test vyos_static and net_static_route
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix typo integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* modify vyos_static_route
* modify integration test
* vyos_static_route doc build fix
* fix integration test data
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* update net_static_route cli test set
* minor fix
2017-07-10 16:34:56 +05:30
Tim Rupp
37ca55bf71
Adds missing fields for iapp service ( #26507 )
...
The iApp service module worked fine previously, but this patch
adds enhancements to it to include more fields that can be
specified when creating iapp services.
2017-07-10 07:27:49 +01:00
Ganesh Nalawade
ba60ac04fc
Implementation of junos_static_route module ( #26501 )
...
* Implementation of junos_static_route module
* junos implementation of net_static_route
* integration test for junos_static_route
* integration test for junos net_static_route
* Minor change
* Doc change
* Fix CI issue
2017-07-07 13:25:14 +05:30
Ricardo Carrillo Cruz
83253cd8f0
Add net_l3_interface vendor neutral module ( #26484 )
...
* Add net_l3_interface vendor neutral module
* Fix pep8 issue
2017-07-06 21:02:25 +02:00
Ganesh Nalawade
10233ef3b5
junos_user declarative module changes ( #26475 )
...
* junos_user declarative module changes
* Active/Deactivate support
* junos_user integration test
* net_user intergration test for junos
* Add version_added for active param
2017-07-06 21:57:12 +05:30
Trishna Guha
c5fb4bbcc0
Fix nxos_switchport and unit test ( #26131 )
...
* fix nxos_switchport
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* nxos_switchport unit test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* legacy file
* update unit test
* handle exception
2017-07-06 18:58:36 +05:30
Ricardo Carrillo Cruz
c73275b4b8
Add vyos_linkagg module ( #26418 )
...
* Add vyos_linkagg module
* Add vyos_linkagg integration tests
* Fix pep8 issue
* Address several review comments
2017-07-06 10:07:48 +02:00
James Mighion
1d62283796
Making iosxr check_args call module_util/iosxr check_args. Fixes #25501 ( #26261 )
2017-07-05 22:20:53 +05:30
saichint
5229370364
fix for nxos_acl_interface idempotency ( #26156 )
...
* fix for nxos_acl_interface idempotency
* shippable error fix
* fix issues with python3.x
2017-07-05 12:05:47 -04:00
Ganesh Nalawade
e612d0be12
Add net_l2_interface platform agnostic module ( #26410 )
...
* Add net_l2_interface platform agnostic module
* net_l2_interface module definition
* net_l2_interface action plugin
* Fix CI issue
2017-07-05 11:15:19 +05:30
Ganesh Nalawade
1a9b0ae731
Remove xml return for junos declarative modules ( #26400 )
...
* Remove xml return
* Add diff return
* Related doc changes
2017-07-04 21:49:26 +05:30
Trishna Guha
ad3fe08aae
fix vyos_banner multiline string issue ( #26383 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-07-04 14:31:18 +05:30
Ganesh Nalawade
11e72d495d
Add net_logging platform agnostic module and junos implementation ( #26316 )
...
* Add net_logging platform agnostic module and junos implemenatation
* net_logging platform agnostic module
* junos implemenatation of logging module
* net_logging integration test
* junos_logging integration test
2017-07-03 15:31:59 +05:30
Ricardo Carrillo Cruz
4869a7b0ac
Add net_linkagg platform agnostic module ( #26341 )
2017-07-03 11:50:14 +02:00
Trishna Guha
1b427aa419
Fix vyos banner idempotent ( #26338 )
...
* fix vyos_banner idempotent
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix vyos_banner unit test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-07-03 13:08:08 +05:30
Trishna Guha
93bbcd8a32
vyos_user fix idempotent ( #26289 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-06-30 19:44:08 +05:30
Mike Wiebe
240de965ee
Fix nxos_acl module and add IT tests ( #25966 )
...
* Fix nxos_acl module and add IT tests
* Add nxos_acl test
* Add additional properties to test
2017-06-29 14:55:08 -04:00
Nathaniel Case
3102746ebe
nxos_pim_rp_address fixes ( #26119 )
...
* nxos_pim_rp_address tests
* nxos_pim_rp_address changes
* Address issues with idempotence
2017-06-29 10:22:26 -04:00
John R Barker
1b00f4193b
Move net_* modules into specific sub-topics ( #26234 )
...
As we continue to expand the number of modules we must ensure they are
sensibly grouped.
2017-06-29 13:04:33 +01:00
Ricardo Carrillo Cruz
c8ba8bdd6d
Add ios_static_route module ( #25527 )
...
* Add ios_static_route module
* Add ios_static_route integration tests
* Add platform agnostic integration tests for IOS
* Replace unicode function to ansible module_utils to_text
* Add collections handling logic
* Add integration tests for collections
* Make collections and prefix mutually exclusive
* Add net_static_route integration tests for collections
* Do not store load_config return value, as it returns nothing
2017-06-29 12:05:20 +02:00
Ganesh Nalawade
911a7e085e
Add active param to junos declarative modules ( #26222 )
...
* active/deactivate configuration capability
* integration test refactor
2017-06-29 10:18:35 +05:30
Nathaniel Case
ad6c4a544e
nxos_pim updates ( #26145 )
...
* nxos_pim tests
* Cleanup nxos_pim
2017-06-28 19:40:19 -04:00
Nathaniel Case
eea18e9875
nxos_vxlan_vtep_vni fixes ( #25913 )
...
* nxos_vxlan_vtep_vni first pass
* nxos_vxlan_vtep_vni tests
2017-06-28 19:38:31 -04:00
Tim Rupp
e7402e3d5b
Support full path templates ( #26121 )
...
This patch allows the iapp service module to support full path
templates instead of only relative templates
2017-06-28 17:35:00 +01:00
Tim Rupp
04ac15f241
Adds bigip_qkview module ( #25980 )
...
This module can be used to generate qkviews on a bigip and
save them to a location on the ansible controller.
This module is primarily used for diagnostics.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_qkview.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_qkview/tasks
2017-06-28 17:31:17 +01:00
Tim Rupp
16bd93a14e
Refactors bigip ssl cert module ( #25882 )
...
Includes unit tests and a refactor of the module to make code
more easily supported. Also fixes an issue where the extension of
the cert name was not appended if not provided. This problem was
causing certs to not be editable in the UI. Also deprecates params.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_ssl_certificate.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_ssl_certificate/tasks
2017-06-28 17:26:39 +01:00
George Nikolopoulos
11836a0296
Add module netscaler_cs_action ( #26147 )
2017-06-28 19:16:46 +05:30
Trishna Guha
34eca3816d
fix vyos_user configuration ( #26166 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-06-28 12:13:27 +05:30
George Nikolopoulos
6bed831f8c
Add netscaler_server module ( #25537 )
2017-06-27 23:08:00 +05:30
George Nikolopoulos
0bf64aa241
Add netscaler_save_config module ( #25614 )
2017-06-26 18:46:52 +05:30
Ricardo Carrillo Cruz
ffaf6c4a86
Add new net_static_route platform agnostic module ( #25455 )
...
* Add new net_static_route platform agnostic module
* Add mask parameter and according examples
* Add required true to required params
* Add static routes collections example
2017-06-26 11:23:33 +02:00
Nathaniel Case
21c7fcf9c0
nxos_vxlan_vtep ( #25971 )
...
* nxos_vxlan_vtep tests
* Fix issues with nxos_vxlan_vtep
2017-06-24 14:09:11 -04:00
Trishna Guha
3482a6326b
Fixes nxos_vpc_interface ( #25907 )
...
* nxos_vpc_interface fix
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* nxos_vpc_interface unit test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* fix state_present
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* add state_present unit test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* make ansibot happy
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* teardown get_config
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-06-24 18:05:07 +05:30
Ganesh Nalawade
b2f46753ec
Add junos_system declartive module and other related change ( #25859 )
...
* Add junos_system declartive module and other related change
* junos_system declartive module
* integration test for junos_system
* integration test for net_system (junos platform)
* pep8 fixes for junos modules
* move to lxml from elementree for xml parsing as it support
complete set of xpath api's
* other minor changes
* Fix CI and doc changes
* Fix unit test failures
* Fix typo in import
* Fix import issue for py2.6
* Add missed Element in import
2017-06-22 09:34:50 +05:30
Nathaniel Case
0296c2285b
nxos_vrf fix ( #25812 )
...
* Fixes #25031
* Slight cleanup and add tests
2017-06-20 10:59:03 -04:00
Trishna Guha
947e9aba45
Add vyos_banner implementation module ( #25862 )
...
* Add vyos_banner implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* vyos_banne integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* vyos_banner unit test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* minor fix on banner text
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-06-20 08:53:03 +05:30
Tim Rupp
0854c0ed88
Adds refactored bigip_hostname ( #25841 )
...
This adds a refactored bigip_hostname with unit tests and code
conventions that are common across other modules.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_hostname.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_hostname/tasks
2017-06-18 07:56:00 +01:00
Ganesh Nalawade
450263e934
Add junos_banner declartive module ( #25826 )
...
* Add junos_banner declartive module
* junos_banner implementation
* Integration test for junos_banner
* Integration test for net_banner (junos)
* Minor fixes
* Minor doc change
2017-06-18 01:32:48 +05:30
Tim Rupp
59d470ae84
Adds bigip_iapp_service module ( #25808 )
...
This module allows a user to manage the iApp services on a bigip
that they created using the bigip_iapp_template module.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_iapp_service.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_iapp_service/tasks
2017-06-17 12:47:13 +01:00
Gaurav Rastogi
5f23aa69c6
New Avi Module for Auth Profile objects ( #24842 )
2017-06-16 20:24:00 +01:00
Ganesh Nalawade
2ff464c949
Add net_interface declarative module ( #25766 )
...
* Add net_interface declartive module
* Add net_interface module
* Add junos_interface implementation module
* Other minor changes
* Add integration test
* Integration test for net_interface
* Integration test for junos_interface
* Fix CI failures
* Documentation changes
2017-06-16 22:12:50 +05:30
Nathaniel Case
a38e727380
nxos_nxapi fix ( #25306 )
...
* Add nxos_nxapi tests
* Simple changes to nxos_nxapi
* Move validation to check_args
* Don't mark protocol change unless change is requested
* Add different regex to handle HTTP{,S} ports on a different version of nxos
2017-06-16 07:15:08 -06:00
Trishna Guha
98269888a9
iosxr_banner Implementation module ( #25744 )
...
* Add iosxr_banner implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Integration test for iosxr_banner
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Unit test for iosxr_banner
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* remove blank line pep8
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-06-16 11:56:47 +05:30
Trishna Guha
44687bb917
Add iosxr_user implementation module ( #25615 )
...
* Add iosxr_user implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* iosxr_user Integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* iosxr_user Unit test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Modify integration test with idempotent case
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-06-15 22:07:03 +05:30
Trishna Guha
b3c22a96bd
Add vyos_user implementation module ( #25677 )
...
* Add vyos_user implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Integration test for vyos_user
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Make state absent work
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Unit test for vyos_user
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Standardize user names
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Modify integration test with idempotent case
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add role as alias to level
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-06-15 22:06:18 +05:30
Trishna Guha
9c6ee8d0bb
Add nxos_banner implementation module ( #25695 )
...
* Add nxos_banner implementation module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* nxos_banner integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* nxos_banner unit test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* doc update
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-06-15 22:05:38 +05:30
Abhijeet Kasurde
8ad04d6348
Move redudant check_ip_addr method to common ce ( #25575 )
...
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-06-15 13:21:18 +01:00
Gaurav Rastogi
8ad464c4f5
New Avi Module for Backup objects ( #24843 )
2017-06-15 11:50:35 +01:00
Gaurav Rastogi
6c3eace794
Minor Updates to the module descriptions and field options ( #25430 )
2017-06-15 11:46:07 +01:00
Tim Rupp
8e3ef4b052
Adds virtual_address module ( #25728 )
...
This module lets users manage a number of different config options
for Virtual Addresses on a BIG-IP.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_virtual_address.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_virtual_address/tasks
2017-06-15 11:18:23 +01:00
Tim Rupp
b85785bf07
Refactors irule module to conform to recent standards ( #25709 )
...
Also includes unit tests for the code
2017-06-14 19:03:17 +01:00
Tim Rupp
ba12ce64b0
Adds the bigip_snmp module ( #25668 )
...
This patch adds a module for managing several snmp related settings
on a BIG-IP that are required when configuring the range of SNMP
settings on a device.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_snmp.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_snmp/tasks
2017-06-14 18:29:41 +01:00
Tim Rupp
478d364f4d
Adds bigip_iapp_template module ( #25630 )
...
This module can be used to upload and manage TCL iApps on a BIG-IP.
iApps can be added, removed and updated in place as needed. iApp
files should be provided to the module via Ansible lookups.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_iapp_template.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_iapp_template/tasks
2017-06-14 18:29:10 +01:00
Tim Rupp
0c68e200d5
Adds the bigip_provision module to Ansible ( #25558 )
...
This module allows an administrator to provision new module functionality
on a BIG-IP. BIG-IP modules provide enhanced ADC and security features that
are commonly used by customers such as GTM, ASM, and AFM.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_provision.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_provision/tasks
2017-06-14 18:28:12 +01:00
Nathaniel Case
4344132a7d
nxos_vpc updates ( #25452 )
...
* Add nxos_vpc tests
* Split execute-show between get_config and run_commands
2017-06-14 11:06:49 -04:00
Ganesh Nalawade
b69c7f50d0
Add junos_vlan platform agnostic module ( #25652 )
...
* Add junos_vlan platform agnostic module
* junos_vlan implementation
* integration test for junos_vlan
* Minor fixes
* Fix Integration test failure
2017-06-14 14:23:52 +05:30
Abhijeet Kasurde
b89cb95609
Fix spelling mistakes (comments only) ( #25564 )
...
Original Author : klemens <ka7@github.com>
Taking over previous PR as per
https://github.com/ansible/ansible/pull/23644#issuecomment-307334525
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-06-12 07:55:19 +01:00
Tim Rupp
61684f7313
Updates gtm wide ip module to be feature complete ( #25502 )
...
This module is used to manage GTM wide ips on a bigip.
Previously, this module only included a small subset of functionality
primarily related to editing a wide ip that already existed. Additionally
it used the SOAP api for its communication. this patch completes the
feature set of wide ips and refactors the code to use the F5 python SDK
and the REST API.
Unit tests are provided. Integration tests can be found here
https://github.com/F5Networks/f5-ansible/blob/devel/test/integration/bigip_gtm_wide_ip.yaml#L23
https://github.com/F5Networks/f5-ansible/tree/devel/test/integration/targets/bigip_gtm_wide_ip/tasks
2017-06-09 16:07:14 +01:00
Ted
416d9774ce
New module: Add Bcf switch module. (network/bigswitch/bcf_switch) ( #24261 )
...
* Make access_token type str, remove alias, and make validate_certs default value true
* Remove comma
* Add bcf switch module
* Remove white space in blank line
* Fix yaml
* Try removing the RETURN just like in the other modules
2017-06-09 08:14:28 -06:00
Ricardo Carrillo Cruz
72e65e4290
Platform agnostic module for VRFs ( #25383 )
...
* WIP VRF platform agnostic module
* Fixed examples refering vlans instead of vrfs
* Add integration tests
2017-06-09 13:33:11 +02:00
Ricardo Carrillo Cruz
d83f254bb6
New eos_vrf module ( #25427 )
...
* New eos_vrf module
* Add CLI integration tests
* Check rd only if not None
2017-06-09 13:24:28 +02:00