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