Samer Deeb
f8884f12bc
Mellanox OS name change: MLNXOS changed to ONYX ( #34753 )
...
* Mellanox OS name change: MLNXOS changed to ONYX
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Fix alphabetical order of modules metadata
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2018-01-11 22:21:17 +00:00
Samer Deeb
cb206abea3
Support advertised networks in bgp protocol ( #34728 )
...
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2018-01-11 17:40:39 +00:00
Samer Deeb
fcf6da0a9d
Add ospf protocol support for Mellanox MLNXOS network devices ( #34717 )
...
* Add new module for managing ospf protocol on mlnxos devices
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Fix test name, and documentation.
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2018-01-11 17:40:04 +00:00
Trishna Guha
df8b01aaf7
Handle platform os version for sandbox nxos_nxapi ( #34490 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-01-11 21:12:00 +05:30
Matt Clay
797664d9cb
Python 2.6 str.format()
compatibility fixes.
2018-01-10 14:08:11 -08:00
Samer Deeb
8277e9d1a5
Add new module mlnxos_bgp for managing bgp protocol on Mellanox MLNX-OS devices ( #34305 )
...
* Add new module mlnxos_bgp for managing bgp protocol on Mellanox MLNX-OS
devices
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Add missing required field, and Fix Documentation
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Fix documentation of neighbors field
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2018-01-10 16:09:42 +00:00
Matt Clay
30093dc4ed
Add Python 3.7 to CI unit test matrix. ( #34680 )
...
* Add Python 3.7 to CI unit test matrix.
* Fix `os.errno` reference to be `errno`.
* Update test_aci unit test for Python 3.7.
2018-01-10 00:57:11 -08:00
Matt Clay
cd205854a4
Fix Python 3.7 syntax error in tests.
2018-01-09 16:54:19 -08:00
Clement Trebuchet
d5a8974ef3
Add the ability for the ios_vrf module to apply route targets to a VRF ( #34248 )
...
* Add the ability for the ios_vrf module to apply route targets to a VRF
* Fix W293 blank line contains whitespace
2018-01-09 02:04:18 -05:00
Abhijeet Kasurde
08a1d47427
nmcli: Add missing 'primary' option ( #34252 )
...
This fix adds missing 'primary' option in nmcli module.
Fixes : #30405
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-01-08 13:37:21 -08:00
Samer Deeb
473b2d58ec
Add new module mlnxos_mlag_vip for configuring MLAG VIP on Mellanox network devices ( #34285 )
...
* Add new module mlnxos_mlag_vip for configuring MLAG VIP on Mellanox
network devices
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Remove unused variables
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Fix Test class name
* Fix Documentation
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Fix MAC address case-insensitive
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Fix MAC address unit-test
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2018-01-08 14:31:51 +00:00
Samer Deeb
ad73bda323
Add new module mlnxos_protocol for enabling disabling protocols on MLNX-OS Mellanox network devices ( #34286 )
...
* Add new module mlnxos_protocol for enabling disabling protocols on
MLNX-OS Mellanox network devices
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Fix Test Class name
* Fix IP routing protocol support
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Add missing support for check_mode, and Fix documentation
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2018-01-08 14:30:30 +00:00
Samer Deeb
943107b1b9
Add new module mlnxos_facts for retrieving facts of MLNX-OS Mellanox network devices ( #34287 )
...
* Add new module mlnxos_facts for retrieving facts of MLNX-OS Mellanox
network devices
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Fix Documenation and Examples
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2018-01-08 14:29:16 +00:00
Samer Deeb
9ed4661860
Add new module mlnxos_pfc_interface for managing priority flow control on Mellanox devices ( #34327 )
...
* Add new module mlnxos_pfc_interface for managing priority flow control
on Mellanox devices
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Remove unnecessary if, and Fix Documentation
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Fix missing interface status
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2018-01-08 13:43:10 +00:00
Trishna Guha
5e6b2495c0
Convert nxos_vrf to DI module ( #34274 )
...
* Convert nxos_vrf to DI module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add purge example and improve logic
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* revert version_added for rd param
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* update test to use network_cli
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-01-08 10:10:34 +05:30
Samer Deeb
5edb800b6d
Remove unnecessary if, and Fix Documentation ( #34413 )
...
* Remove unnecessary if, and Fix Documentation
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Fix aggregate spec for l2 interface
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Add aggregste test for l2 interface
Signed-off-by: Samer Deeb <samerd@mellanox.com>
* Fix MAC address case
Signed-off-by: Samer Deeb <samerd@mellanox.com>
2018-01-07 08:35:50 +00:00
Tim Rupp
2916ff0a1a
Introduces numerous fixes for bigip command ( #34550 )
...
A bug in the parsing of single commands with commas
Token cleanup
Password argument now defaults to false
Addition of coding conventions from v3 conventions
2018-01-06 23:23:32 -08:00
Tim Rupp
f4a2b0b103
Adds the bigiq_regkey_license module ( #34543 )
...
This module can be used to add license offerings to a pool. This
is the second part required to license a remote device from a
BIG-IQ (the first being to create a pool with bigiq_regkey_pool)
2018-01-06 12:13:50 -08:00
Tim Rupp
8c07ebe860
Adds bigiq regkey pool module ( #34542 )
...
This module can be used to manage the containers of regkeys
that exist on a BIG-IQ
2018-01-06 11:34:14 -08:00
Tim Rupp
803e4124b6
Removes deprecated code from bigip_monitor_tcp ( #34520 )
...
* Removes deprecated code from bigip_monitor_tcp
The deprecated code was moved into its own modules. We let it lay
here for a release, and now I'm removing it.
* Fixing upstreaming tests
2018-01-05 15:22:50 -08:00
Tim Rupp
e9bb5da37e
Adds the bigip_gtm_server module ( #34513 )
...
This module can be used to create GTM servers (not to be confused with
GTM virtual servers) on a BIGIP. GTM servers are a component of the
datacenter, and GTM virtual servers are their members.
2018-01-05 13:51:15 -08:00
Trishna Guha
9d2182bcf8
Deprecate nxos_switchport and Add nxos_l2_interface DI module ( #33813 )
...
* Deprecate nxos_switchport
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* Add nxos_l2_interface DI module
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* pep8 fixes
* aggregate test for nxos_l2_interface
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
* revert nxos_switchport test change
* gundalow's comment
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-01-05 07:44:02 +00:00
Tim Rupp
6c97c340ea
Various bigip_gtm_datacenter fixes ( #34440 )
...
Code refactor to use f5 coding conventions. Removed deprecated
"enabled/disabled" params (this is now a state). Adds token cleanup
for cases where many api calls are made.
2018-01-03 21:18:34 -08:00
Tim Rupp
bdafb42156
Refactors the bigip_sys_global module ( #34438 )
...
Changes include the current f5 coding standards and unit tests
for the module
2018-01-03 20:39:08 -08:00
Tim Rupp
9bd4070bdf
Adds bigip_traffic_group module ( #34436 )
...
This module can be used to create and remove traffic groups. Managing
members of the group is not yet supported.
2018-01-03 20:26:18 -08:00
Tim Rupp
c132b977e8
Refactors bigip_virtual_server ( #34412 )
...
This refactors the bigip_virtual_server module to address several issues and
missing features. Additionally it adds tests and updates the coding standards
to the recent version used by f5. Finally, it removes deprecated items that
were announced in 2.4
2018-01-03 13:42:17 -08:00
Tim Rupp
9e4aed15ff
Adds bigip_software_update module ( #34410 )
...
This module can be used to adjust the ways by which a bigip communicates
back to F5 to check for system updates.
2018-01-03 11:30:11 -08: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
Abhijeet Kasurde
5496326c4d
nmcli: Add 'generic' connection type ( #34251 )
...
This fix adds 'generic' connection type in nmcli module.
Fixes : #33648
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2018-01-02 12:37:22 +01:00
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
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
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
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
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
Claes Nästén
5bd8a8f491
Add nso_query module to query Cisco NSO using XPath ( #34188 )
2017-12-22 16:56:50 +00: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
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
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
Fedor Sumkin
8a9865cb10
Fix for dns4
empty setting ( #30757 )
...
This fix check if DNS4 is None or not before proceeding with
other operations. Also, added unit test for this change.
Signed-off-by: Fedor Sumkin <qosys.net@gmail.com>
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2017-12-20 12:48:22 +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
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