anasbadaha
dea9e9b4c8
Adding new module for supporting PTP Global Protocol ( #47501 )
...
Signed-off-by: Anas Badaha <anasb@mellanox.com>
2018-11-01 14:16:30 +05:30
Lindsay Hill
a1b0d20368
New voss_config module ( #47533 )
...
* New voss_config module
* Updated test import paths as per #46996
2018-11-01 14:07:41 +05:30
ericdost
ee7bbe1044
Update meraki_network.py ( #47872 )
...
Fix examples from status to state
+label: docsite_pr
2018-10-31 17:20:53 -04:00
Nilashish Chakraborty
f0a057b63a
Add support for 25G and 100G interfaces ( #47852 )
...
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2018-10-31 19:09:53 +05:30
Martin Krizek
504921278a
ce_vxlan_tunnel: remove redundant xml end tag ( #47806 )
2018-10-31 18:53:16 +05:30
Nilashish Chakraborty
baae7fa9ba
Fix ios_user not able to handle certain scenario ( #47656 )
...
* added support for users with password(not secret) configs
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Added example
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix typo
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Fix pep8
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
* Add integration tests
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2018-10-31 16:51:46 +05:30
Mike Wiebe
c53e3ca8e9
Add force disruptive option ( #47694 )
...
* Use expect module to copy files
* Add force option for disruptive upgrades
* Revert changes to copy_kick_system_images.yaml
2018-10-31 14:53:43 +05:30
Wilmar den Ouden
7e9141e26e
Better description for the ce_vlan module ( #47816 )
...
Description for the name and description was vague. I didn't get the first time reading that it was talking about a character limit.
+label: docsite_pr
2018-10-30 09:50:37 -05:00
Tim Rupp
1ddfac5ad5
Fixes unit tests for vcmp guest module ( #47792 )
...
Tests were not working for ansible 2.8
2018-10-29 21:51:50 -07:00
Tim Rupp
1aae9ad282
Remove f5-sdk from bigip_virtual_address module ( #47791 )
...
Removes the f5-sdk and fixes unit tests for ansible 2.8
2018-10-29 21:38:10 -07:00
Tim Rupp
3ad1cb5619
Adds bigip_device_syslog module ( #47790 )
...
This module can be used to alter the device syslog settings and
priorities for syslog settings
2018-10-29 21:24:24 -07:00
Tim Rupp
e0d2419683
Adds firewall global rules module ( #47789 )
...
This module allows the user to change global rules in AFM firewalls
2018-10-29 21:10:49 -07:00
Tim Rupp
10f3e0c187
Adds module to manage cookie persistence profiles in BIG-IP ( #47786 )
2018-10-29 20:47:25 -07:00
Tim Rupp
7336dd595b
Adds ipsec policy module for BIG-IP ( #47785 )
...
Allows users to manage IPSec policies on a BIG-IP
2018-10-29 15:49:22 -07:00
Tim Rupp
9d2f68e00a
Adds bigip_traffic_selector module ( #47784 )
...
This module enables the user to manage traffic selector policies on a BIG-IP
2018-10-29 15:27:18 -07:00
Tim Rupp
d69b8e4bfd
Import mdule for managing sys daemon logs in BIG-IP ( #47783 )
...
This module allows one to manage the daemon log settings in tmm on BIG-IP
2018-10-29 15:16:51 -07:00
Tim Rupp
9d351f2ee7
Adds bigip profile for http2 ( #47782 )
...
This allows one to manage HTTP2 profiles on a BIG-IP
2018-10-29 14:53:20 -07:00
Tim Rupp
f80288c0c4
Adds bigip_monitor_ldap module ( #47781 )
...
Adds new module to manage LDAP monitors on a BIG-IP
2018-10-29 14:42:49 -07:00
Tim Rupp
114d591f31
Adds bigip_ike_peet module ( #47780 )
...
Adds new module to managing IKE peers
2018-10-29 14:25:43 -07:00
Tim Rupp
92cf066514
Adds any ip proto to virtual server module ( #47779 )
2018-10-29 14:09:59 -07:00
Tim Rupp
8edbfb488c
Adds new parameters to bigip_vlan ( #47777 )
...
Also fixes unit tests to work in ansible 2.8
2018-10-29 13:57:53 -07:00
Tim Rupp
7c84ba8051
Fixes tests in bigip_wait for ansible 2.8 ( #47773 )
2018-10-29 13:08:35 -07:00
Tim Rupp
8ede4c5e60
Adds more facts to bigiq_device_facts ( #47765 )
...
Adds more facts to the bigiq_device_facts module
2018-10-29 11:33:47 -07:00
Tim Rupp
6e28b7d572
Remove the f5-sdk from more bigiq modules ( #47721 )
2018-10-29 10:10:11 -07:00
Tim Rupp
d5d18a995a
Removes f5 sdk from bigiq modules and fixes unit tests ( #47720 )
2018-10-27 20:20:07 -07:00
Ingate Systems
9fe20123cf
modules: network: Add initial support for Ingate modules ( #47494 )
...
* modules: network: Add initial support for Ingate modules
* modules: network: Add ingate module ig_unit_information
* module_utils: network: ingate: Use default 'v1' for version
* modules: network: ingate: Remove unused code
2018-10-26 09:47:58 +05:30
Trishna Guha
d79b6c8406
fix trailing command in net_neighbors nxos_facts ( #47548 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-10-25 10:13:38 +05:30
Dan
dcb35c4270
Fix nxos_ospf_vrf module auto-cost idempotency and module check mode ( #47190 )
...
* fixing idempotency and check mode
* modified to avoid repetitive code
2018-10-23 14:28:24 +05:30
Trishna Guha
9c81634c77
nxos_file_copy fix for binary files ( #46822 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-10-22 15:41:18 +05:30
Petr Ruzicka
0bb3205dee
with_items should not be used any more - using loop instead ( #47363 )
2018-10-19 12:32:58 -07:00
Matt Clay
c24c19594e
Enable pylint rules and fix exposed bugs. ( #47219 )
...
* Resolve invalid-unary-operand-type.
* Resolve raising-format-tuple.
* Resolve stop-iteration-return.
* Use disable comment instead of fixing logic.
The affected line in _find_address_range will only fail on Python 3.7
and later if the function is called with an empty address list. As an
internal method it is never called in this way, making it a non-issue
for use via public methods.
Using a comment to disable the rule in favor of an ignore.txt entry
since there are no plans to change the logic in the code itself. This
will also prevent any potential future issues being added in other
parts of the code when updating it based on upstream changes.
2018-10-19 08:32:52 -07:00
Matt Clay
37b013aca3
Enable additional pylint rules and resolve issues found. ( #47221 )
...
* Resolve unneeded-not.
* Resolve global-at-module-level.
* Resolve useless-import-alias.
* Resolve bad-whitespace.
* Resolve global-variable-not-assigned.
* Resolve logging-not-lazy.
* Resolve comparison-with-itself.
2018-10-18 13:38:08 -07:00
Matt Martz
19416a1343
Fix versions in module.deprecate call to align with module deprecation. Fixes #45035 #45034 ( #47211 )
2018-10-18 15:30:22 -04:00
Toshio Kuratomi
bcd6dbcd65
Remove get_exception from the remainder of the modules
2018-10-18 08:37:04 -07:00
Wholeshoot
96db9a55e2
bigip_firewall_rule -- missing port_range ( #47077 )
...
port_range was missing from bigip_firewall_rule
2018-10-15 16:16:39 -07:00
Ganesh Nalawade
5394638047
Fix in confirmed_commit capability in netconf_config modules ( #46964 )
...
* Fix in confirmed_commit capability in netconf_config modules
Fixes #46804
* If confirm value is greater than zero or confirm_commit option is set and confirmed-commit
capability is not supported but Netconf server only in that case fail the module
* Update confirm-commit flag
* Minor changes
2018-10-15 11:34:35 +05:30
Sandra McCann
c44860057e
update sros metadata to certified ( #46981 )
2018-10-12 14:48:16 -05:00
Sandra McCann
dc3407eaeb
changed F5 module metadata to certified ( #46849 )
2018-10-12 10:57:28 -05:00
Sandra McCann
e43869cca9
mark Cisco ACI modules certified ( #46842 )
2018-10-11 15:35:12 -05:00
Sandra McCann
6479cb6a4a
mark Cisco ACI modules as certified ( #46841 )
2018-10-11 15:34:35 -05:00
Anil Kumar Muraleedharan
d0e89bc1bb
Lenovo finetune modules ( #46623 )
...
* Making username password etc non mandatory as we use persistence connection.
Some documentation fine tuning also done.
* To update version which was tested against.
* Adding Bacon switch (NE0152T) to device rules
* Qalthos Review catch
* Updating version
* Changing documentation to add Bacon switch. This is effective since 2.8
2018-10-11 09:49:49 -04:00
Scott Xu
db69f46cf9
Update nso_action.py ( #46763 )
...
* Update nso_action.py
The module's name should be nso_action.
* Update nso_action.py
Fixed the input field in the example.
2018-10-11 14:07:59 +10:00
José R Cordones
d3cc2f803a
Update eos_config.py ( #45810 )
...
Switches will accept the previously used syntax for /32 ACL entries, but they get changed to host ipaddress in the config file.
This results in the config check failing every time (permit ip 1.1.1.1/32 any log != permit ip host 1.1.1.1 any log), resulting in the ACL getting re-created on every single run of the Playbook.
Making this proposed change to the example will make it work in an idempotent manner.
+label: docsite_pr
2018-10-10 16:47:11 -04:00
anasbadaha
2c24cfb401
Add support for IGMP interfaces on onyx switches ( #46218 )
...
Signed-off-by: Anas Badaha <anasb@ufm-host08-004.mtr.labs.mlnx>
2018-10-10 11:42:47 -04:00
Paul Neumann
39673dfc37
ios_facts: Fix minor aesthetical glitches ( #46577 )
...
* ios_facts: Fix LLDP gathering without neighbors
When LLDP is enabled but no neighbors are present, the following
structure is generated:
...
"ansible_net_neighbors": {
"null": [
{
"host": null,
"port": null
}
]
},
...
If we are not able to find any relevant LLDP information, bail out early
so cases like shown above are handled more gracefully.
* ios_facts: Remove trailing space in lineprotocol
Some Cisco devices (at least CSR1000V 16.6.4) add a space after the
line protocol. This causes the space to be present in the result of
fact gathering:
"ansible_net_interfaces": {
"GigabitEthernet2": {
...
"lineprotocol": "up ",
Be more clear about scanning the output to avoid this behaviour.
2018-10-10 08:02:14 -04:00
Sebastien Pouplin
4ba0cfeb4b
Added iostype details in network ios_facts module ( #46599 )
2018-10-10 08:00:25 -04:00
Nick
5e67981dd2
fix: check execute_lock boolean, not lock string var ( #45329 )
2018-10-09 22:46:00 -04:00
Sandra McCann
27132cd0b8
added jinja2 example ( #46445 )
...
* added jinja2 example
2018-10-08 13:50:45 -05:00
Trishna Guha
d69700b236
nxos_evpn_vni check_mode ( #46612 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-10-08 11:11:01 +04:00
Ganesh Nalawade
5e6eb921ae
Make default_operation optional in netconf_config module ( #46333 )
...
Fixes #46257
* As per netconf rfc default-operation value is optional,
hence removing the default value for default_operation
option.
2018-10-04 09:47:19 +05:30
Sandra McCann
56f23594a5
add simple j2 example to vyos_config ( #46442 )
2018-10-03 22:13:52 -05:00
Bianca Henderson
0ab448531b
Update asa_config.py ( #46448 )
...
<!--- Your description here -->
+label: docsite_pr
2018-10-03 15:03:19 -04:00
Egor Zaitsev
6df1f6b203
New module: routeros_facts – collect facts from RouterOS devices ( #46114 )
...
* feat(routeros): implement routeros_facts module
* fix(routeros): review by felixfontein
* fix(routeros): review by ganeshrn
* fix(routeros): review by felixfontein
2018-10-02 13:44:23 +05:30
Metzger, Simon
00d78d7ef3
added period in description. Changed integration test to work correctly.
2018-09-28 18:45:13 +02:00
Metzger, Simon
285af0b6fb
added parameter leaf_port_blk_description in module and integration tests
2018-09-28 18:45:13 +02:00
Metzger, Simon
be2c73ac18
be compliant to pep8 and pylint. Added integration tests.
2018-09-28 18:45:13 +02:00
Metzger, Simon
cdd66295f2
changed documentation strings
2018-09-28 18:45:13 +02:00
Metzger, Simon
4d7cd4bea7
added new module aci_access_port_block_to_access_port
2018-09-28 18:45:13 +02:00
Brendan Jurd
ab96bbdef9
Clean up Vault docs in User Guide. ( #46188 )
...
* Fix spelling of 'separate' throughout.
* Various cleanups in the User Guide for Vault.
- Fix spelling of 'algorithm'
- Fix indentation of nested list in payload format
- Fix mysterious refernce to 'b_pkey1'.
- Fix reference to newline as '\n': the backslash is lost when rendered
to the docs website. Specify the hex value for newline instead of the
backslash escape.
* Fix formatting
* Update vault.rst
2018-09-28 10:16:58 -04:00
Sandra McCann
08c392477e
made sros_config docs match code for match options ( #46135 )
...
* made docs match code for match options
* fixed shippable error
2018-09-26 19:08:26 +05:30
tstoner
b427499e3e
Added feature facts to nxos_facts ( #45934 )
...
* Added feature facts to nxos_facts
* Fixed ansibot indentation
* Resolved ansibot whitespace missing after ','
* Per PR suggestion, created method in base class to gather switch config
and store in global variable to prevent multiple calls to switch.
* Addressed ansibot blank line & whitespace after ,
2018-09-26 15:57:09 +05:30
saichint
2b216384eb
fix for banner idempotent issue ( #46001 )
...
* fix for banner issue
* review comments
2018-09-26 15:48:56 +05:30
Dan
f20938788a
fixed nxos_aaa_server_host issue with type 7 encrypt key ( #46015 )
...
* fixed nxos_aaa_server_host issue with type 7 encrypt and added test cases
* added idempotence tests
2018-09-25 16:39:22 +05:30
akira6592
8213096b7f
The sshkey option is available in version 2.7 and above ( #46103 )
2018-09-25 10:41:23 +01:00
Joachim Mathes
30314c15c7
Generalize config retrieval in ios_l3_interface module ( #45270 )
...
This makes it work with Cisco 3750E.
2018-09-25 12:28:32 +05:30
Dan
a6c20488d3
Add ospf net type ( #45904 )
...
* Added ospf network type option to nxos_interface_ospf module
* Added documentation and example for the 'network' parameter
* adding version
2018-09-25 11:38:39 +05:30
tstoner
e74e8b8e75
Additional feature enhancements to nxos_logging ( #45844 )
...
* Various changes to nxos_logging. Plus added purge capibility.
* Made a few new nxapi_logging test cases conditional based on version
and/or platform.
* Addressed PR comments and ansibot shippable. Fixed up nxos_logging documentation format.
* Addressed ansibot shippable issues with whitespaces and documentation.
* Resolved ansibot codestyle trailing whitespace
2018-09-25 11:02:09 +05:30
Sandra McCann
c5a8a911b3
fix doc links ( #46094 )
2018-09-24 16:08:05 -05:00
Colin McCarthy
ccb89a8cb8
[network] fix typo in ftd_configuration - all operation(s) are performed over REST API ( #45977 )
2018-09-21 11:35:54 -04:00
Michael Scherer
ec2c131bac
Remove unused import and lines, to make linter happy ( #45665 )
2018-09-19 19:52:52 +05:30
cordones
742d702b96
incorrect sample eos_config usage ( #45750 )
...
no such option "config" for diff_against argument.
Further below, there is an example of eos_config using diff_against with a valid option.
+label: docsite_pr
2018-09-19 19:50:33 +05:30
Trishna Guha
1b0c4fde86
fix nxos_facts indefinite hang for text based output ( #45845 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-09-19 19:37:44 +05:30
Dag Wieers
2edf20d1ed
Docs: Avoid use of 'default: null' ( #45795 )
...
Various modules document the default 'null' value, but it causes None to
be shown in the documentation explicitly.
2018-09-19 09:02:27 -05:00
Jon Dufresne
2097d25506
Correct capitalization of PyPI ( #45698 )
...
As spelled on https://pypi.org/ .
2018-09-19 08:51:49 -05:00
Dag Wieers
5f4173b8bf
A few small fixes
2018-09-19 12:52:31 +02:00
João Soares
097902c35a
Remove whitespaces
2018-09-19 12:52:31 +02:00
João Soares
01db7239ed
Add input validation for the new asn parameter
...
Fix asn type from str to int
2018-09-19 12:52:31 +02:00
João Soares
165000adcd
Update version_added on the asn parameter
2018-09-19 12:52:31 +02:00
João Soares
a60b14c826
Update aci_l3out documentation
2018-09-19 12:52:31 +02:00
João Soares
dd67e89f47
Add eigrp as a possible l3protocol in aci_l3out
...
Also fixes an error related to the required parameters. The l3out parameter is required but only 'name' was being accepted, and that should only be the alias.
2018-09-19 12:52:31 +02:00
Tim Rupp
ccfbed3dbc
Adds bigiq_device_facts module ( #45822 )
...
This module can be used to query a variety of facts from a BIG-IQ
2018-09-18 22:30:31 -04:00
Tim Rupp
8acbf10ed2
Removes unused f5 imports ( #45821 )
2018-09-18 18:34:31 -04:00
Christer Hemgren
4da13eefb2
asa_config add doc l3 interface ( #41250 )
...
* asa_config add doc l3 interface
+label: docsite_pr
Issue ansible/community#311
* fix interface idempotent
* newline, names, and debug:var
2018-09-18 13:39:14 -04:00
Christer Hemgren
7b1c61000e
update asa_config with bgp doc example ( #41376 )
...
* update asa_config with bgp doc example
+label: docsite_pr
Issue ansible/community#311
* fix spelling
2018-09-18 10:53:32 -05:00
Sandra McCann
7092dd7fbf
Add 'Wait for' example to asa_command module ( #45190 )
...
* Added example to register result of a ping test, including a wait_for command.
* added names to tasks
* updated examples to remove deprecated commands etc
* removed group_var
2018-09-17 15:12:46 -05:00
Nathaniel Case
780dc9c561
There are other instances of transform being used... update them as well ( #45663 )
2018-09-17 08:42:20 -04:00
Maugli
235b11f681
Return correct version on installed VyOS ( #39115 )
...
* Return correct version on installed VyOS
Previously existing regexp will shows only "VyOS" without numeric output of router version.
For example: from "Version: VyOS 1.1.6" only VyOS will be written in ansible_net_version variable
For more informative output numeric value should be returned as well
* Fixed unittests
2018-09-14 22:51:30 +05:30
Michael Scherer
a1e2f1bf73
[voss_facts] remove uneeded global declaration of variable warnings ( #45653 )
...
Since the variable is used only once, no need to declare it global.
Remove a warning from linter (lgtm.com)
2018-09-14 10:39:41 -04:00
Tim Rupp
5a3a865ca0
More bigip software fixes ( #45633 )
...
Fixes problems related to token timeout. Adds cleanup of tokens.
2018-09-13 15:58:17 -04:00
Tim Rupp
e619052424
Fixes multiple lgtm issues ( #45629 )
...
Most of the issues were just inclusions of code that were not used.
This cleans those up. Other alerts were semi-false-positives for now
2018-09-13 15:26:17 -04:00
Tim Rupp
34d08adea0
Fixes lgtm alert ( #45619 )
...
Alert was for an include that was not used.
https://lgtm.com/projects/g/ansible/ansible/latest/files/lib/ansible/modules/network/f5/_bigip_facts.py?sort=name&dir=ASC&mode=heatmap&showExcluded=false#L98
2018-09-13 13:45:55 -04:00
Michael Scherer
de84a05bf4
Remove unused import iControlUnexpectedHTTPError ( #45611 )
...
Since that's unused in the code, no need to import it.
This got flagged by linter
2018-09-13 13:16:23 -04:00
Nathaniel Case
285b927889
network command modules cleanup ( #45242 )
...
* Standardize _command modules
* Centralize command transformation process
* Fix check mode error test
2018-09-13 08:55:35 -04:00
Tim Rupp
e266a24263
Fixes bugs in the bigip_software modules ( #45577 )
...
This patch makes hotfix code work, where before, only base images
were working
2018-09-12 15:56:43 -04:00
Anil Kumar Muraleedharan
ac58c36ad0
Lenovo cli bugfixes ( #45278 )
...
* To change all CLIs present in the code to latest CNOS CLI. One bug of executing with Lenovo Jakku switch is also getting fixed.
* To change the file names as the commands have changed from display to show
* To change to new CLI in test_cnos_comand.py as well
2018-09-12 10:31:45 -04:00
Ghilli3
6040175186
Initial commit of fmgr_sys_proxy.py ( #45518 )
2018-09-12 19:18:27 +05:30
Michael Scherer
004621ef8e
Fix useless comparaison between 2 constants ( #45524 )
...
Found with https://lgtm.com
2018-09-11 19:37:50 -04:00
Kevin Breit
afbf72cfeb
meraki_network - Fix enabling my.meraki.com ( #45352 )
...
* Fix enabling my.meraki.com
- A parameter of "no" wouldn't be picked up
- Check for False in addition to whether it exists
* Clean up disable_my_meraki parameter check
2018-09-09 20:31:35 +02:00
Trishna Guha
d5bfd93e28
cli_config module doc update ( #45345 )
...
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2018-09-07 17:09:08 +05:30
Tim Rupp
e21b99b098
Corrects documentation for parameters and examples ( #45311 )
...
Documentation for the bigiq modules was a little out of date.
This patch corrects the examples and parameters.
2018-09-06 17:24:49 -04:00