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