Gaurav Rastogi
53051cf9e8
New module to setup WAF policy ( #34362 )
...
* New module to setup WAF policy
* Update copyright notice.
2018-01-03 18:57:07 +00:00
Gaurav Rastogi
627295365d
New module to patch GSLB service object with just GSLB pool member an… ( #34365 )
...
* New module to patch GSLB service object with just GSLB pool member and settings
* Update copyright notice.
2018-01-03 18:55:21 +00:00
Gaurav Rastogi
e2928da0fd
Updated copyright for all the avi modules ( #34408 )
2018-01-03 18:48:24 +00:00
bdowling
552d1df901
Adds parents to mutually_exclusive with src for *_config modules ( #33957 )
...
* mutually_exclusive add - ios_config parents works with lines by not src
* mutually_execlusive parents,src added to all other net modules
* tests for mutually_exclusive parents,src and whitespce removal
2018-01-03 09:47:12 -05:00
Jim Pfleger
af236f2531
Accept other ios_banner types ( #33961 )
...
* Accept other ios_banner types
* Use 2.6-compatible format string
* Doc option values prior to this update
2018-01-03 14:38:14 +00:00
Samer Deeb
1afd076dac
Add new module mlnxos_magp for managing MAGP protocol on Mellanox ( #34307 )
...
MLMX-OS network devices
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2018-01-03 12:43:46 +00:00
Samer Deeb
42d5aeec3e
Add support for vlan and loopback interfaces in mlnxos_interface ( #34323 )
...
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2018-01-03 12:43:13 +00:00
Samer Deeb
52bea8dab6
Add new module mlnxos_mlag_ipl for managing IPL (inter-peer link) ( #34326 )
...
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2018-01-03 12:41:26 +00:00
Ganesh Nalawade
6dad717a9a
Add eos_lldp module ( #34302 )
...
* Add eos_lldp module
* Implementation for eos_lldp module
* eos_lldp integration test
* Fix minor issue
* Minor change
2018-01-02 18:54:06 +05:30
Ganesh Nalawade
48f20a77af
Add ios_lldp module ( #34308 )
...
* Add ios_lldp module
* Implementation of ios_lldp module
* Integration test for ios_lldp module
* Minor change
2018-01-02 18:43:08 +05:30
Samer Deeb
585b3449c6
Add module mlnxos_lldp_interface for managing lldp interfaces configuration ( #34179 )
...
* Add module mlnxos_lldp_interface for managing lldp interfaces
configuration
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Fix unit test
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2017-12-29 10:51:31 +05:30
Samer Deeb
84a10903db
Add module mlnxos_linkagg for configuring LAG and MLAG on Mellanox switches ( #34204 )
...
* Add module mlnxos_linkagg for configuring LAG and MLAG on Mellanox
switches
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Remove unnecessary method in unit-test
remove _execute_module and use execute_module from base class
2017-12-29 09:03:45 +05:30
Trishna Guha
80ba767204
Convert nxos_interface to DI ( #34240 )
...
* Convert nxos_interface to DI
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* commit for ganeshrn's comment
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-12-28 16:41:09 +05:30
Ganesh Nalawade
a3c185bfa8
Add eos_interface module ( #34258 )
...
* Add eos_interface module
* Implementation of eos_interface module
* Intergration test for eos_interface module
* Minor fix in eos_l3_interface module
* Minor fix in ios_interface integration test
* Fix CI issues
* Fix more CI issues
2017-12-28 16:03:50 +05:30
Ganesh Nalawade
dc1d6ec684
Add eos_l3_interface module ( #34224 )
...
* eos_l3_interface module implementation
* Integration test cases for eos_l3_interface module
2017-12-26 13:54:27 +05:30
Ganesh Nalawade
98f3424ed0
Fix ios_l3_interface configure ipv4 address issue ( #34222 )
...
Adding a new interface and it's ipv4/ipv6 address results
in failure. Add a check to validate if interface address is
already configured or not.
2017-12-25 18:11:35 +05:30
Samer Deeb
89670133c1
Module mlnxos_l3_interface ( #34199 )
...
* Add module mlnxos_l3_interface for configuring L3 on Mellanox switches
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Rename test class
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2017-12-25 13:21:40 +05:30
Gaurav Rastogi
9e2ff3e4d5
Updated Avi Modules with new features and documentation update. ( #34206 )
...
* Updated Avi Modules with following
1. Support to perform patch operation using the modules. The data update method is
selected using avi_api_update_method=patch and patch operation is determined by
avi_api_patch_op. The patch data is the normal params that are provided in the modules
2. Support for avi_credentials as single authentication dictionary for all API calls.
This is preferred way as opposed to previously all credentials details would pollute
the individual Ansible tasks. It also allows the module development to be enhanced
without breaking compatibility for new authentication schemes like SAML etc.
3. Support for sharing api_context between the module invocations. This is a
workaround to not do multiple logins to Avi Controller and be able to
re-use single login across multiple REST API calls.
4. Documentation update for new parameters and existing ones with Units data.
* Fixed the pylint and pep8 errors caused due to pycharm editor auto formatting
2017-12-24 08:15:23 +00:00
Samer Deeb
8ddb84a155
Add module mlnxos_vlan for supporting vlan configuration on Mellanox switches ( #34113 )
...
* Add module mlnxos_vlan for supporting vlan configuration on Mellanox
switches
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* use sgort header and fix METADATA
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2017-12-23 12:11:25 +05:30
Samer Deeb
dbcfea587c
Add module mlnxos_l2_interface for supporting configuration of L2 interfaces on Mellanox switches ( #34158 )
...
* Add module mlnxos_l2_interface for supporting configuration of L2
interfaces on Mellanox switches
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* use shorter header and fix METADATA
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2017-12-23 11:24:35 +05:30
Ganesh Nalawade
d5061aa8e6
Add ios_l3_interface module ( #34201 )
...
* Add ios_l3_interface module
Fixes #31298
* Add ios_3_interface module
* Integration test
* Return command response for load_config()
* Fix CI issues
2017-12-23 11:24:00 +05:30
Samer Deeb
0deda64231
Add module mlnxos_lldp for supporting configuration of LLDP protocol on Mellanox switches ( #34159 )
...
* Add module mlnxos_lldp for supporting configuration of LLDP protocol on Mellanox switches
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Fix header and metadata
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Fix imports
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2017-12-23 10:54:05 +05:30
Tim Rupp
d19108e592
Adds more token cleanup ( #34207 )
...
Token cleanup assists in preventing the ansible modules from
overwhelming the existing tokens in bigip api
2017-12-22 12:54:56 -08:00
Tim Rupp
75fbfb9e36
Fixes and additions to bigip_pool ( #34205 )
...
Removes deprecated host/port params. Adds metadata param. Adds new
classes to better support refactoring and maintenance.
2017-12-22 12:39:19 -08:00
Tim Rupp
554ffd70f5
Adds token cleanup to bigip irules ( #34203 )
...
Token cleanup helps keep the bigip from getting wedged
2017-12-22 11:40:20 -08:00
Claes Nästén
5bd8a8f491
Add nso_query module to query Cisco NSO using XPath ( #34188 )
2017-12-22 16:56:50 +00:00
John R Barker
cd8632dd7f
Specify default ( #34186 )
2017-12-22 04:58:55 -05:00
Claes Nästén
d6fd9703f1
Add nso_show module for Cisco NSO ( #34142 )
...
* update version parsing and move requirements to nso_* modules
prepare for introduction of nso_show module that has other version
requirements than the existing nso_* modules.
* Add nso_show module for retreiving config from Cisco NSO
New module that supports getting configuration and operational data
from Cisco NSO.
2017-12-22 09:43:22 +00:00
Pilou
459adf8966
ios_static_route: fix broken import ( #34133 )
...
* Fix broken import
* doc: add ipaddress in requirements
2017-12-21 17:12:19 +05:30
Trishna Guha
60f3649ebd
Convert nxos_vlan to DI module ( #31866 )
...
* Convert nxos_vlan to DI
* fix conflict
* push fix for qalthos's comment
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-12-21 14:08:33 +05:30
Mohamed Javeed
5089122a32
Encode xml data to utf8 standard ( #34079 )
2017-12-21 10:10:18 +05:30
Nathaniel Case
9e09a9ea61
Turns out the order is important ( #34116 )
2017-12-21 09:26:30 +05:30
kalimsshar
4086cb4b25
Added support for Cisco stacks in ios_facts.py ( #33714 )
2017-12-20 12:33:47 -05:00
Nathaniel Case
2e76c89910
IOS XR cli tests move to network_cli ( #34007 )
...
* Update task definitions for network_cli
* Add connection to debug messages
* Specify connection for prepare task
* pc won't be around for connection=network_cli
* Assorted Python 3 fixes
* Give default port if ansible_ssh_port missing
* delegate -> connection
* Extend error regex
2017-12-20 11:26:09 -05:00
Pilou
4713d9ea44
ce_file_copy: fix broken import ( #34023 )
...
* fix broken import
* doc: use formatting functions
2017-12-20 14:44:01 +00:00
Trishna Guha
663f8464ee
eos_linkagg DI module ( #33007 )
...
* eos_linkagg DI module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* pep8 fixes
* Push fix for Qalthos's comment
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-12-20 19:43:30 +05:30
Nathaniel Case
cb1b705218
ios integration tests to network_cli ( #33920 )
...
* Preliminary steps
* Fix Python3 network_cli ios
* Add connection to debug strings
* Fix ios confirm prompt by way of optional newline
Also update ios_user delete tests
2017-12-20 09:03:29 -05:00
Trishna Guha
4a4da2b774
nxos_static_route DI module ( #33797 )
...
* nxos_static_route DI module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* add version_added
2017-12-20 17:08:29 +05:30
Kedar Kekan
78a14d7966
Cliconf and Netconf refactoring iosxr_interface ( #33909 )
...
* Cliconf and Netconf refactoring iosxr_interface
* adds `xml` key and related changes for netconf output
* * review comments changes
2017-12-20 13:06:07 +05:30
Trishna Guha
be89822bb5
Deprecate nxos_portchannel and add nxos_linkagg DI module ( #33376 )
...
* deprecate nxos_portchannel
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add nxos_linkagg DI module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* remove nxos_portchannel unit test
* fix syntax issues
* fix ansible-doc failure
* update nxos_portchannel unittest
* minor fixes and integration test
* update nxos_linkagg
2017-12-20 11:26:07 +05:30
Trishna Guha
3cce8dfafd
Deprecate nxos_ip_interface and Add nxos_l3_interface DI module ( #33866 )
...
* Deprecate nxos_ip_interface module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add nxos_l3_interface DI module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add integration test
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* pep8 fixes
* Add nxapi cli test
* Improve complexity
* manage layer3 interface
* fix unit test
2017-12-20 11:07:23 +05:30
Trishna Guha
27be2a0f5a
Handle nxos platform diffs with cli conf implementation ( #34020 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2017-12-20 10:41:10 +05:30
James Mighion
ded4e6ac0f
Ios config save ( #33885 )
...
* Fixing save so it still works. Adding changed as an option for save_when.
* Updating description to state that changed was added in 2.5.
* Fixing removal version for deprecated options.
2017-12-19 18:04:21 +00:00
Samer Deeb
1df57ac1ac
Add mlnxos_interface module ( #33839 )
...
* Add new module: mlnxos_interface for configuring mlnxos ethernet
interfaces
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Update mlnxos.py
* Fix Documentation
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Add missing documentation
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2017-12-19 17:24:42 +00:00
Trishna Guha
9f86b923e9
[CLI_CONF] Refactor nxos module common library to use cliconf plugin ( #31524 )
...
* refactor nxos modules
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* get_config update
* fix get_config
* update nxos module
* device_info
* fix conflict
* add failure message check
* pep8 fixes
* use get_capabilities to check cliconf
* Add logic to detect platform in get_capabilities and cache in module_utils
* return msg in edit_config
* fix conflicts
* make modules compatible
* fix nxos cliconf api
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* cache capabilities
* Update transport queries to get_capabilities in module level
* fix unit tests
* load_config error code
* remove unnecessary change
* Refactor nxos_install_os module
2017-12-19 12:22:33 +05:30
Claes Nästén
5fdb39c4d1
nso_verify for Cisco NSO ( #33945 )
...
Module for verifying that configuration is as expected in Cisco NSO.
2017-12-15 13:43:07 +00:00
Claes Nästén
b2bc98c161
nso_action for Cisco NSO ( #32781 )
...
nso_action module for execution actions/RPCs in NSO.
2017-12-15 11:29:04 +00:00
Tim Rupp
22059cbe67
Adds bigip_device_httpd module ( #33924 )
...
this module can be used to adjust the details of the server that
hosts the BIG-IP web ui.
2017-12-14 14:16:28 -08:00
James Mighion
f8e3cfe9e2
Aruba indenting ( #33884 )
...
* Fixing aruba's inconsitent indenting.
* Adding config with different children indentation and unit test to confirm the different spacing does not matter.
* Fixing pylint check. Missed an r prefix.
2017-12-14 14:37:34 +05:30
Jacob McGill
3b941802ac
ACI ENCAP POOL RANGES: Add new module to support encap ranges ( #33758 )
...
* ACI ENCAP POOL RANGES: Add new module to support encap ranges
* fix module name
* remove extra format string
2017-12-14 00:35:50 +01:00