Commit Graph

1684 Commits (2268a37d4d1ee93e7eb1b2eec656251f263adcf2)

Author SHA1 Message Date
Miguel Angel Muñoz González f1a24da774 Fortinet's new module for fortios_user_group (#61051) 5 years ago
Miguel Angel Muñoz González e4f393e643 Fortinet's new module for fortios_vpn_ssl_web_user_group_bookmark (#61138) 5 years ago
Miguel Angel Muñoz González 35ed1fbe8d Fortinet's new module for fortios_user_fsso_polling (#61050) 5 years ago
Miguel Angel Muñoz González cfecaba9b5 Fortinet's new module for fortios_user_fsso (#61049) 5 years ago
Miguel Angel Muñoz González eeb2fd35d1 Fortinet's new module for fortios_user_fortitoken (#61048) 5 years ago
Miguel Angel Muñoz González 88e5365019 Fortinet's new module for fortios_user_domain_controller (#61047) 5 years ago
Miguel Angel Muñoz González 22c8d74e74 Fortinet's new module for fortios_user_device_group (#61046) 5 years ago
Miguel Angel Muñoz González 24fe418115 Fortinet's new module for fortios_user_device_category (#61044) 5 years ago
Miguel Angel Muñoz González 7e4c41cf1d Fortinet's new module for fortios_user_device_access_list (#61042) 5 years ago
Miguel Angel Muñoz González 9f9a741e19 Fortinet's new module for fortios_system_zone (#61041) 5 years ago
Miguel Angel Muñoz González 11b7b40b61 Fortinet's new module for fortios_system_wccp (#61040) 5 years ago
Miguel Angel Muñoz González 80897be42d Fortinet's new module for fortios_system_vxlan (#61039) 5 years ago
Miguel Angel Muñoz González 7c38fc7d07 Fortinet's new module for fortios_system_virtual_wire_pair (#61038) 5 years ago
Miguel Angel Muñoz González 4bd296c6fe Fortinet's new module for fortios_system_sit_tunnel (#60954) 5 years ago
Miguel Angel Muñoz González aefe31e6d9 Fortinet's new module for fortios_vpn_certificate_setting (#61130) 5 years ago
Miguel Angel Muñoz González 48fe854511 Fortinet's new module for fortios_vpn_ssl_web_realm (#61135) 5 years ago
Miguel Angel Muñoz González a5bab18986 Fortinet's new module for fortios_system_sflow (#60953) 5 years ago
Miguel Angel Muñoz González 3ea55fc254 Fortinet's new module for fortios_system_settings (#60952)
* Fortinet's new module for fortios_system_settings

* Avoid warnings on E336 a E336 for system settings
5 years ago
Miguel Angel Muñoz González 55979cd0f4 Fortinet's new module for fortios_vpn_ssl_web_host_check_software (#61134) 5 years ago
Miguel Angel Muñoz González 0a5c11f4da Fortinet's new module for fortios_system_session_ttl (#60951) 5 years ago
Miguel Angel Muñoz González b57bf08f09 Fortinet's new module for fortios_vpn_l2tp (#61131) 5 years ago
Miguel Angel Muñoz González f9e8dc042b Fortinet's new module for fortios_vpn_pptp (#61133) 5 years ago
Miguel Angel Muñoz González 2b90ef19d2 Fortinet's new module for fortios_system_replacemsg_webproxy (#60878) 5 years ago
Miguel Angel Muñoz González 426eea7014 Fortinet's new module for fortios_system_replacemsg_utm (#60877) 5 years ago
Miguel Angel Muñoz González b325c488e3 Fortinet's new module for fortios_system_replacemsg_traffic_quota (#60876) 5 years ago
Miguel Angel Muñoz González 8e493021a1 Fortinet's new module for fortios_system_replacemsg_sslvpn (#60875) 5 years ago
Miguel Angel Muñoz González 8fb4878906 Fortinet's new module for fortios_system_replacemsg_spam (#60874) 5 years ago
Miguel Angel Muñoz González bf6212b23d Fortinet's new module for fortios_system_replacemsg_nntp (#60873) 5 years ago
Miguel Angel Muñoz González 1ab09778fb Fortinet's new module for fortios_router_access_list6 (#61132) 5 years ago
Miguel Angel Muñoz González 00d2e541b9 Fortinet's new module for fortios_vpn_certificate_ca (#61123) 5 years ago
Miguel Angel Muñoz González 267ce70818 Fortinet's new module for fortios_system_replacemsg_nac_quar (#60872) 5 years ago
Miguel Angel Muñoz González 628aa3a808 FortiOS modules for 2.9 - 5 (#61062)
* FortiOS modules for 2.9 - 5

* Update fortios_firewall_vip.py

* Update fortios_firewall_vip6.py
5 years ago
Miguel Angel Muñoz González 3373a2518a Fortinet's new module for fortios_system_replacemsg_mail (#60871) 5 years ago
Miguel Angel Muñoz González 4506371611 Fortinet's new module for fortios_system_replacemsg_image (#60870) 5 years ago
Miguel Angel Muñoz González ab023b5276 Fortinet's new module for fortios_system_replacemsg_icap (#60869) 5 years ago
Miguel Angel Muñoz González e887f1247f Fortinet's new module for fortios_system_replacemsg_http (#60868) 5 years ago
Miguel Angel Muñoz González b2c65f20d8 Fortinet's new module for fortios_system_replacemsg_group (#60867) 5 years ago
Miguel Angel Muñoz González c4500bffbb Fortinet's new module for fortios_system_replacemsg_ftp (#60866) 5 years ago
Miguel Angel Muñoz González 8fad5e3081 Fortinet's new module for fortios_system_replacemsg_fortiguard_wf (#60864) 5 years ago
Miguel Angel Muñoz González bb09bdb309 Fortinet's new module for fortios_system_replacemsg_ec (#60863) 5 years ago
Miguel Angel Muñoz González c041b6e9ca Fortinet's new module for fortios_system_replacemsg_device_detection_portal (#60862) 5 years ago
Fortinet Core CSE NA df6d46fed3 Fortinet: fmgr_fwpol_ipv4 update/behavioral option fix (#58154)
* PR Update to fmgr_fwpol_ipv4 -- now allows for failure or skip behavior option upon missing dependencies

* fmgr_fwpol_ipv4 minor docs fix

* Removed "system_package_print" line from test/sanity/ignore.txt as instructed by failed shippable test.

Actual PR module isn't affected.
5 years ago
Miguel Angel Muñoz González 62f665f0ed Fortinet's new module for fortios_system_vdom_radius_server (#61036) 5 years ago
Miguel Angel Muñoz González ffbb906a9f Fortinet's new module for fortios_system_vdom_sflow (#61037) 5 years ago
Miguel Angel Muñoz González 95fee79c13 Fortinet's new module for fortios_system_sms_server (#60962) 5 years ago
frankshen01 f6421bbe2b Fortinet's new module for fortios_system_session_helper (#60986) 5 years ago
Miguel Angel Muñoz González f624fd4c4c Fortinet's new module for fortios_system_vdom_dns (#60974) 5 years ago
Miguel Angel Muñoz González 2497b0fd5f Fortinet's new module for fortios_system_snmp_community (#60963) 5 years ago
Miguel Angel Muñoz González 0b1a8494a2 Fortinet's new module for fortios_system_snmp_sysinfo (#60964) 5 years ago
Miguel Angel Muñoz González c16e9c2604 Fortinet's new module for fortios_system_replacemsg_auth (#60861) 5 years ago
Miguel Angel Muñoz González 19f35502f3 Fortinet's new module for fortios_system_replacemsg_alertmail (#60859) 5 years ago
Miguel Angel Muñoz González 1219c10844 Fortinet's new module for fortios_system_replacemsg_admin (#60858) 5 years ago
Miguel Angel Muñoz González 502682dfb0 Fortinet's new module for fortios_system_proxy_arp (#60857) 5 years ago
Miguel Angel Muñoz González 6ba7024e8a Fortinet's new module for fortios_system_probe_response (#60856) 5 years ago
Miguel Angel Muñoz González e2e68fa7de Fortinet's new module for fortios_system_password_policy_guest_admin (#60854) 5 years ago
Miguel Angel Muñoz González ebc3e48b66 Fortinet's new module for fortios_system_pppoe_interface (#60855) 5 years ago
Miguel Angel Muñoz González fc544069c8 Fortinet's new module for fortios_system_snmp_user (#60970) 5 years ago
Miguel Angel Muñoz González 9cfadf2c67 Fortinet's new module for fortios_system_object_tagging (#60852) 5 years ago
Miguel Angel Muñoz González e60b9e4944 Fortinet's new module for fortios_system_storage (#60971) 5 years ago
Miguel Angel Muñoz González 37bcb5b528 Fortinet's new module for fortios_system_password_policy (#60853) 5 years ago
Miguel Angel Muñoz González c6d88da332 Fortinet's new module for fortios_system_ntp (#60851) 5 years ago
Miguel Angel Muñoz González 107306a5d4 Fortinet's new module for fortios_system_network_visibility (#60850) 5 years ago
Miguel Angel Muñoz González 8b882be084 Fortinet's new module for fortios_system_switch_interface (#60972) 5 years ago
Miguel Angel Muñoz González da7ed1d8a6 Fortinet's new module for fortios_system_tos_based_priority (#60973) 5 years ago
Miguel Angel Muñoz González 7cc089f0d7 Fortinet's new module for fortios_system_vdom_netflow (#61034) 5 years ago
Miguel Angel Muñoz González d39addf6c0 Fortinet's new module for fortios_system_nd_proxy (#60848) 5 years ago
Miguel Angel Muñoz González 83f7007848 Fortinet's new module for fortios_system_netflow (#60849) 5 years ago
Miguel Angel Muñoz González 6a0078bee2 Fortinet's new module for fortios_system_vdom_link (#61033) 5 years ago
Miguel Angel Muñoz González 7988f828b3 Fortinet's new module for fortios_system_nat64 (#60847) 5 years ago
Miguel Angel Muñoz González 5a28feb81c Fortinet's new module for fortios_system_vdom_exception (#61032) 5 years ago
Miguel Angel Muñoz González 9d70b2db8c Fortinet's new module for fortios_system_management_tunnel (#60845) 5 years ago
Miguel Angel Muñoz González 0280bcbfca Fortinet's new module for fortios_system_mobile_tunnel (#60846) 5 years ago
Miguel Angel Muñoz González 6b5b4fa5e9 Fortinet's new module for fortios_system_link_monitor (#60843) 5 years ago
Miguel Angel Muñoz González 9245310c99 Fortinet's new module for fortios_system_vdom_property (#61035) 5 years ago
Miguel Angel Muñoz González fd11090663 Fortinet's new module for fortios_system_mac_address_table (#60844) 5 years ago
Miguel Angel Muñoz González c2f9292987 Fortinet's new module for fortios_system_ipv6_tunnel (#60842) 5 years ago
Miguel Angel Muñoz González 8d95455167 Fortinet's new module for fortios_system_ipv6_neighbor_cache (#60841) 5 years ago
Miguel Angel Muñoz González f8a6d6d991 Fortinet's new module for fortios_system_ips_urlfilter_dns (#60840) 5 years ago
Miguel Angel Muñoz González 0785ecf58b Fortinet's new module for fortios_system_ips_urlfilter_dns6 (#60839) 5 years ago
Miguel Angel Muñoz González cb4de3e2a6 Fortinet's new module for fortios_system_ipip_tunnel (#60838) 5 years ago
Miguel Angel Muñoz González b44e486fb0 Fortinet's new module for fortios_system_ha_monitor (#60837) 5 years ago
Miguel Angel Muñoz González bcb8364031 Fortinet's new module for fortios_system_gre_tunnel (#60836) 5 years ago
Miguel Angel Muñoz González 052baf8151 Fortinet's new module for fortios_system_custom_language (#60812) 5 years ago
Miguel Angel Muñoz González 5fec75a91a Fortinet's new module for fortios_system_console (#60810) 5 years ago
Miguel Angel Muñoz González 63a6fe619c Fortinet's new module for fortios_switch_controller_storm_control (#60784)
* Fortinet's new module for fortios_switch_controller_storm_control

* Update fortios_switch_controller_storm_control.py
5 years ago
Wojciech Wypior 3c19c75560 removes deprecated parameters (#61066)
adds diff functionality
fixes issue with serverscope parameter not setting on device
5 years ago
Wojciech Wypior 306b6b728c adds new module for asm dos application profiles (#61063) 5 years ago
Matt Martz adb886e4ce
Speed up units using time.sleep by mocking or shortening sleep time (#61064)
* Speed up units using time.sleep by mocking or shortening sleep time

* Only use durations when not a collection
5 years ago
Pedro Magalhães 145a6a8756 maven_artifact.py - add support for version ranges by using spec (#54309) 5 years ago
Miguel Angel Muñoz González 839e9019ef Fortinet's new module for fortios_switch_controller_switch_group (#60787) 5 years ago
Miguel Angel Muñoz González 1aecdbb5c5 Fortinet's new module for fortios_switch_controller_switch_interface_tag (#60788) 5 years ago
Miguel Angel Muñoz González 1d8556710e Fortinet's new module for fortios_switch_controller_switch_log (#60789) 5 years ago
Miguel Angel Muñoz González df8cabb4ce Fortinet's new module for fortios_switch_controller_stp_settings (#60786)
* Fortinet's new module for fortios_switch_controller_stp_settings

* Update fortios_switch_controller_stp_settings.py
5 years ago
Miguel Angel Muñoz González 5041be8350 Fortinet's new module for fortios_switch_controller_sflow (#60783) 5 years ago
Miguel Angel Muñoz González af49cd0c4e Fortinet's new module for fortios_switch_controller_security_policy_captive_portal (#60782) 5 years ago
chkp-orso f1d568749f fix: Checkpoint check_mode, add suboptions, return the facts (#60264)
* fix: check_mode, add suboptions, return the facts

* pip8, ansible_facts, get_payload

* add space to create PR

* remove space to create PR

* test tests of cp_network

* change for the test of network

* fixes to pass the tests

* fix tests

* Update ignore.txt
5 years ago
Miguel Angel Muñoz González 2e6458bb73 Fortinet's new module for fortios_switch_controller_security_policy_802_1X (#60779) 5 years ago
Miguel Angel Muñoz González 34bc40cfde Fortinet's new module for fortios_switch_controller_qos_queue_policy (#60777) 5 years ago
Miguel Angel Muñoz González d7b61b2adc Fortinet's new module for fortios_router_route_map (#60761)
* Fortinet's new module for fortios_router_route_map

* Update fortios_router_route_map.py
5 years ago
Miguel Angel Muñoz González 7224114c3c Fortinet's new module for fortios_switch_controller_quarantine (#60778) 5 years ago
Miguel Angel Muñoz González 150b20ed1d Fortinet's new module for fortios_system_geoip_override (#60835) 5 years ago
Miguel Angel Muñoz González f578534c79 Fortinet's new module for fortios_system_ftm_push (#60834) 5 years ago
Miguel Angel Muñoz González f19851f1a3 Fortinet's new module for fortios_system_fsso_polling (#60832) 5 years ago
Miguel Angel Muñoz González 95338e9062 Fortinet's new module for fortios_system_fortisandbox (#60831) 5 years ago
Miguel Angel Muñoz González 6089509c8a Fortinet's new module for fortios_system_fortimanager (#60830) 5 years ago
Miguel Angel Muñoz González 869b5550c6 Fortinet's new module for fortios_system_fortiguard (#60829) 5 years ago
Miguel Angel Muñoz González fea50bef72 Fortinet's new module for fortios_system_fm (#60828) 5 years ago
Miguel Angel Muñoz González 7328c71adb Fortinet's new module for fortios_system_fips_cc (#60827) 5 years ago
Miguel Angel Muñoz González e223100f27 Fortinet's new module for fortios_system_external_resource (#60825) 5 years ago
Miguel Angel Muñoz González e2c3f67aad Fortinet's new module for fortios_system_email_server (#60824) 5 years ago
Miguel Angel Muñoz González 7cd380ddc3 Fortinet's new module for fortios_system_dscp_based_priority (#60823) 5 years ago
Miguel Angel Muñoz González 5deaf3f495 Fortinet's new module for fortios_system_dns_server (#60822) 5 years ago
Miguel Angel Muñoz González a804d03f87 Fortinet's new module for fortios_system_dns_database (#60817)
* Fortinet's new module for fortios_system_dns_database

* Update fortios_system_dns_database.py

* Update fortios_system_dns_database.py
5 years ago
Miguel Angel Muñoz González 1dc6c05521 Fortinet's new module for fortios_system_dhcp6_server (#60816) 5 years ago
Miguel Angel Muñoz González 1c75506e22 Fortinet's new module for fortios_system_dedicated_mgmt (#60815) 5 years ago
Miguel Angel Muñoz González 55110408c0 Fortinet's new module for fortios_system_ddns (#60813) 5 years ago
Miguel Angel Muñoz González e4f6d956a7 Fortinet's new module for fortios_system_csf (#60811) 5 years ago
Miguel Angel Muñoz González 6382f8cb46 Fortinet's new module for fortios_system_cluster_sync (#60807) 5 years ago
Miguel Angel Muñoz González ce8493fc4d Fortinet's new module for fortios_system_autoupdate_tunneling (#60804) 5 years ago
Miguel Angel Muñoz González 2e9b9d2a70 Fortinet's new module for fortios_system_autoupdate_schedule (#60803) 5 years ago
Miguel Angel Muñoz González 5557a9eb44 Fortinet's new module for fortios_system_autoupdate_push_update (#60802) 5 years ago
Miguel Angel Muñoz González 4cb81ad13f Fortinet's new module for fortios_system_auto_script (#60801) 5 years ago
Miguel Angel Muñoz González f3c288acf3 Fortinet's new module for fortios_system_automation_trigger (#60800) 5 years ago
Miguel Angel Muñoz González 3cd70f53cc FortiOS modules for 2.9 - 4 (#60806)
* FortiOS modules for 2.9 - 4

* Update ignore.txt

* Updates from maintainers to legacy modules

* Update fortios_firewall_ssl_setting.py

* Update fortios_firewall_ssl_server.py
5 years ago
Miguel Angel Muñoz González 2b103a2e54 Fortinet's new module for fortios_system_automation_stitch (#60799) 5 years ago
Miguel Angel Muñoz González 47dcd2ea23 Fortinet's new module for fortios_system_automation_destination (#60798) 5 years ago
Miguel Angel Muñoz González bef8a682d7 Fortinet's new module for fortios_system_automation_action (#60797) 5 years ago
Miguel Angel Muñoz González 2013f5e728 Fortinet's new module for fortios_system_auto_install (#60795) 5 years ago
Miguel Angel Muñoz González c5a29d0b0c Fortinet's new module for fortios_system_arp_table (#60794) 5 years ago
Miguel Angel Muñoz González e0e2be1447 Fortinet's new module for fortios_system_alias (#60793) 5 years ago
Miguel Angel Muñoz González 29df45cd95 Fortinet's new module for fortios_system_alarm (#60792) 5 years ago
Miguel Angel Muñoz González bc98bf67af Fortinet's new module for fortios_system_affinity_packet_redistribution (#60791) 5 years ago
Miguel Angel Muñoz González a97f4693d9 Fortinet's new module for fortios_system_affinity_interrupt (#60790) 5 years ago
Miguel Angel Muñoz González a9405456bc Fortinet's new module for fortios_switch_controller_qos_qos_policy (#60776)
* Fortinet's new module for fortios_switch_controller_qos_qos_policy

* Update fortios_switch_controller_qos_qos_policy.py
5 years ago
Miguel Angel Muñoz González 1845ca164f Fortinet's new module for fortios_system_resource_limits (#60879)
* Fortinet's new module for fortios_system_resource_limits

* Update fortios_system_resource_limits.py
5 years ago
Miguel Angel Muñoz González 1143ebf973 Fortinet's new module for fortios_switch_controller_qos_ip_dscp_map (#60775)
* Fortinet's new module for fortios_switch_controller_qos_ip_dscp_map

* Update fortios_switch_controller_qos_ip_dscp_map.py
5 years ago
Miguel Angel Muñoz González d0dac80e41 Fortinet's new module for fortios_spamfilter_iptrust (#60767)
* Fortinet's new module for fortios_spamfilter_iptrust

* Update fortios_spamfilter_iptrust.py
5 years ago
Miguel Angel Muñoz González 9ffe16c7cb Fortinet's new module for fortios_spamfilter_mheader (#60768)
* Fortinet's new module for fortios_spamfilter_mheader

* Update fortios_spamfilter_mheader.py
5 years ago
Miguel Angel Muñoz González b5823d078b Fortinet's new module for fortios_switch_controller_802_1X_settings (#60770)
* Fortinet's new module for fortios_switch_controller_802_1X_settings

* Update fortios_switch_controller_802_1X_settings.py
5 years ago
Miguel Angel Muñoz González b7f90dcce0 Fortinet's new module for fortios_spamfilter_bwl (#60763)
* Fortinet's new module for fortios_spamfilter_bwl

* Update fortios_spamfilter_bwl.py
5 years ago
Miguel Angel Muñoz González e5a1fb2a29 Fortinet's new module for fortios_spamfilter_bword (#60764)
* Fortinet's new module for fortios_spamfilter_bword

* Update fortios_spamfilter_bword.py
5 years ago
Miguel Angel Muñoz González ba44b2a0f8 Fortinet's new module for fortios_spamfilter_dnsbl (#60765)
* Fortinet's new module for fortios_spamfilter_dnsbl

* Update fortios_spamfilter_dnsbl.py
5 years ago
Miguel Angel Muñoz González 843a51628b Fortinet's new module for fortios_router_ripng (#60760)
* Fortinet's new module for fortios_router_ripng

* Update fortios_router_ripng.py

* Update fortios_router_ripng.py
5 years ago
Miguel Angel Muñoz González f9f882a981 Fortinet's new module for fortios_switch_controller_qos_dot1p_map (#60774) 5 years ago
Miguel Angel Muñoz González 8039dea8c4 Fortinet's new module for fortios_switch_controller_igmp_snooping (#60772) 5 years ago
Miguel Angel Muñoz González 6d93cddd58 Fortinet's new module for fortios_switch_controller_custom_command (#60771) 5 years ago
Miguel Angel Muñoz González b48e51cf6d Fortinet's new module for fortios_spamfilter_options (#60769) 5 years ago
Miguel Angel Muñoz González 4a99c5f64b Fortinet's new module for fortios_spamfilter_fortishield (#60766) 5 years ago
Miguel Angel Muñoz González a9566d1b99 Fortinet's new module for fortios_router_static6 (#60762) 5 years ago
Miguel Angel Muñoz González 256db658b7 Fortinet's new module for fortios_router_prefix_list6 (#60759) 5 years ago
Miguel Angel Muñoz González decb016a2d FortiOS modules for 2.9 - 3 (#60678)
* FortiOS modules for 2.9 - 3

* Remove default values in doc, as suggested from review

* Retriggering due to shippable failure

* Update fortios_firewall_ipv6_eh_filter.py

* Update fortios_firewall_ipmacbinding_setting.py

* Update fortios_firewall_ippool.py

* Update fortios_firewall_local_in_policy6.py

* Update fortios_firewall_local_in_policy.py
5 years ago
Sumit Jaiswal b55a54469c
Resource module for ios_vlans (#59640)
* ios_vlans resource module

* fix shippable error

* fix shippable

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* fix vlans resource

* fix facts doc

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* fix shippable n review

* fix test

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* fix indentation

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>

* fix review

* fix shebang

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
5 years ago
Miguel Angel Muñoz González 20f9e72c74 Fortinet's new module for fortios_router_key_chain (#60758) 5 years ago
Miguel Angel Muñoz González be639a57f8 Fortinet's new module for fortios_router_isis (#60757) 5 years ago
Miguel Angel Muñoz González 174a854e05 Fortinet's new module for fortios_router_community_list (#60756) 5 years ago
Miguel Angel Muñoz González 78a382e91d Fortinet's new module for fortios_router_aspath_list (#60755) 5 years ago
Hannes Ljungberg 13364fc530 docker_swarm_service: Allow passing dicts in networks (#58961)
* Add support for passing networks as dicts

* Add function to compare a list of different objects

* Handle comparing falsy values to missing values

* Pass docker versions to Service

* Move can_update_networks to Service class

* Pass Networks in TaskTemplate when supported

* Remove weird __str__

* Add networks integration tests

* Add unit tests

* Add example

* Add changelog fragment

* Make sure that network options are clean

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Set networks elements as raw in arg spec

Co-Authored-By: Felix Fontein <felix@fontein.de>

* Fix wrong variable naming

* Check for network options that are not valid

* Only check for None options

* Validate that aliases is a list
5 years ago
Felix Fontein 26b9c81a8e
crypto modules: fix sanity errors (#60046)
* Remove sanity warnings.

* Linting.

* More linting.

* Forgot one place.

* no_bytes -> num_bytes
5 years ago
Paul Belanger c11d144302 Remove unused imports / variables for junos (#60705)
* Remove unused imports / variables for junos

This is to help with the migration to collections.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>

* Remove duplicate execute_module() function for junos lacp_interfaces

This seems to have passed lint checks, but something we caught in
collection migration.

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
5 years ago
Miguel Angel Muñoz González 7e22c7482e Fortinet's new module for fortios_switch_controller_system (#60691) 5 years ago
Miguel Angel Muñoz González b4f210945e Fortinet's new module for fortios_system_ha (#60689)
* Fortinet's new module for fortios_system_ha

* Retriggering Ansible checks due to strange failure
5 years ago
Miguel Angel Muñoz González ca28ae3be5 FortiOS modules for 2.9 - 2 (#60598)
* FortiOS modules for 2.9 - 2

* Fix long lines and ignore.txt
5 years ago
Chris Archibald 206594c5f0 New Module: Volume Autosize (#59936)
* add new module

* update volume
5 years ago
Chris Archibald fed6598e28 fixes (#60146) 5 years ago
Miguel Angel Muñoz González 4cae96109b FortiOS modules for 2.9 - 1 (#60469)
* FortiOS modules for 2.9 - 1

* Fix empty choices and avoid E337,E338 warnings

* Ansible comments on version_added and ignore.txt only on this PR files

* Add version_added also for state attribute

* Avoid null choices on dlp_sensor

* Change required flag according to argspec
5 years ago
Chris Archibald 645eebdbbb new options (#60142) 5 years ago
Chris Archibald ae794369f8 new module: na_ontap_vserver_cifs_security (#59817)
* new module

* fixes
5 years ago
Rohit 69bc24f607
lag interfaces resource module (#59175)
* lag interfaces resource module

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* sanity check imports

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* sanity fixes

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* dict_diff usage issue fix

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* new task

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* overridden updated

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* dict update

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* comments incorporated

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* facts merged

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* rebased and merged

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* new failures added

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* obsolete file removed

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* test cases updated

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* comments incorporated

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>

* dependency added

Signed-off-by: rohitthakur2590 <rohitthakur2590@outlook.com>
5 years ago
Trishna Guha d5d88f9b11
Add nxos_interfaces resource module (#60421)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
5 years ago
Andrey Klychkov 21863d48f3 unit tests: remove unused imports (#60462) 5 years ago
Chris Archibald 2e819c87db new options (#60145) 5 years ago
Chris Archibald 13403b3688 update to command (#60141) 5 years ago
Chris Archibald 5df9075386 New Module: na_ontap_ports (#59814)
* new module

* fixes
5 years ago
Nathan Swartz abc5654738 Fix netapp_e_iscsi_target chap secret size and clearing functionality. (#57135) 5 years ago
Andrey Klychkov 3929dc00a1 unittests: remove unused imports (#60404) 5 years ago
Miguel Angel Muñoz González 60a1545092 Fortinet's new module for fortios_switch_controller_vlan (#59630)
* Fortinet's new module for fortios_switch_controller_vlan

* Update fortios_switch_controller_vlan.py

* Update fortios_switch_controller_vlan.py
5 years ago
Miguel Angel Muñoz González f1a4ab0aa5 Fortinet's new module for fortios_switch_controller_virtual_port_pool (#59601)
* Fortinet's new module for fortios_switch_controller_virtual_port_pool

* Update fortios_switch_controller_virtual_port_pool.py

* Update fortios_switch_controller_virtual_port_pool.py
5 years ago
Miguel Angel Muñoz González 079a4408ab Fortinet's new module for fortios_switch_controller_switch_profile (#59683)
* Fortinet's new module for fortios_switch_controller_switch_profile

* Update fortios_switch_controller_switch_profile.py

* Update fortios_switch_controller_switch_profile.py
5 years ago
sushma-alethea 622a493ae0 icx: new module icx_ping (#59975)
* new module

* new module

* new terminal

* new terminal

* new cliconf

* new cliconf

* cliconf

* cliconf

* icx cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx test units module

* icx units module

* icx units module

* icx banner unit test

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* added notes

* removed icx rst

* new changes

* new changes

* deleted icx rst

* icx .rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* changes resolved

* PR comments resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* Update platform_index.rst

PR comment resolved

* new module icx_ping

* new changes

* Fixed bot error
5 years ago
Felix Fontein 3290b8343c
docker: fix sanity errors (#60047)
* Remove sanity check errors.

* More linting.

* Forgot to update places.

* Remove choices which aren't provided in argspec.
5 years ago
Chris Archibald b6202dde32 Allow firmware update for (SP, ACP, Shelf, Disk) (#58597)
* update

* Revert "update"

This reverts commit 84848f8291.

* correct module

* fixes
5 years ago
Sam Doran 2d266fbc87
Fix unit tests to work with pytest >= 5.0 (#60246)
pytest made a change in the way the message from ExceptionInfo objects was returned.

https://docs.pytest.org/en/latest/changelog.html#pytest-5-0-0-2019-06-28
5 years ago
Matt Clay 6c09b5c659
Unit test cleanup. (#60315)
* Clean up option parsing unit tests.
* Remove unused unit test marker and import.
5 years ago
Chris Archibald 48021a4200 add modify to snapshot policy (#59149) 5 years ago
Jiri Hnidek 577bb88ad8 Added support for syspurpose to redhat_subscribtion module (#59850)
* Added several unit tests
* Added documentation for new syspurpose option and suboptions
* Simplified specification of module arguments
* Added new changelog file with fragments
5 years ago
Nathan Swartz 10543c8a4c Facts dev upstream (#57082)
* Improved netapp_e_facts module.

Added the following facts:
  - storage system segment size
  - cache block size capabilities
  - workload tags
  - storage array hosts
  - host groups
  - list of mapped volumes for each initiator

* Remove proxy specific facts from netapp_e_facts module

* Add unit tests for netapp_e_facts module.
5 years ago
Nathan Swartz e80f8048ee Fix netapp_e_volume wait-for-initialization to complete issue. (#58304)
* Fix netapp_e_volume wait-for-initialization to complete issue.

* Add unit tests for wait_for operations in netapp_e_volume module.
5 years ago
Wojciech Wypior d00aaf66d7 fixes assert statements in tests (#59998) 5 years ago
Wojciech Wypior ce1f25cffd adds module to manage apm acls (#59992) 5 years ago
Wojciech Wypior 77b323459f adds more modules to bigip provision (#59996) 5 years ago
Wojciech Wypior 7b97abf6a2 adds apm module to manage network access components for APM (#59993) 5 years ago
Wojciech Wypior 47e3ed8100 adds module to manage device self signed certificates (#59994) 5 years ago
Wojciech Wypior 0d92abad7d adds module to manage snat translations (#59995) 5 years ago
Jill R 4308b87d72 Don't truncate cidr_ipv6 addresses in ec2_group.py (#59106)
* Better cidr_ipv6 validation in ec2_group.py

* Improve warning/error handling, add changelog

* Update unit test for ipv6 validation

* Fix logic that was causing non /128 cidrs with host bits to not be handled
5 years ago
sushma-alethea 92187ae53e icx: new module icx_command (#59903)
* new module

* new cliconf

* cliconf

* icx cliconf

* icx test units module

* icx units module

* icx banner unit test

* added notes

* new changes

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* new module

* new cliconf

* cliconf

* icx cliconf

* icx test units module

* icx units module

* icx banner unit test

* added notes

* new changes

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved

* new module icx_command

* PR issue

* new PR fix
5 years ago
Nathan Swartz acbffce079 Host dev upstream (#57086)
* Improve netapp_e_host module

Add host type strings for windows, windows cluster, linux and vmware to netapp_e_host module
Make host port information case-insensitive in netapp_e_host module
Fix port removal and default group.
Fix port reassignment in netapp_e_host module.
Fix port label or address change within existing host object in module netapp_e_host
Add unit and integration tests

* Created new unit test for netapp_e_host module
5 years ago
Nathan Swartz a9aeabb456 Improve netapp_e_storagepool and add units. (#57095)
Refactored module to use eseries base class
Removed E322 and E326 for netapp_e_storage module from the ignore.txt file
Updated version_added quotes in netapp_e_storagepool
5 years ago
Nathan Swartz 41235ac05a Improve netapp_e_hostgroup and add unit tests. (#57094)
* Improve netapp_e_hostgroup and add unit and integration tests.

netapp_e_hostgroup was refactored for maintainability and improved
documentation clarity.

* Remove ignore sanity check E338 for netapp_e_hostgroup module

* Add __future__ import (absolute_import, division, print_function) to test_netapp_e_hostgroup unit test.
5 years ago
Chris Archibald be24db8886 New module na_ontap_object_store (#59048)
* New module object store

* fixes

* fix tests
5 years ago
Trishna Guha 021b1810c9
Add nxos_vlans resource module (#59294)
* Add nxos_vlans resource module

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* address review comments

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* fix CI failure and udpate tests

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* Add commands in module doc

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
5 years ago
Mike Wiebe 9610f2b8ac NX-OS Telemetry Resource Module (#59126)
* Combined telemetry module commit

* Minor fixes

* Add back whitespace

* Add telemetry subscription support and simplify

* Remove comment line

* Make ansibot happy

* Create common build_args method

* More ansibot fixes

* Refactored integration tests, remove old files

* Add subscription tests

* Add integration tests

* Update module docs

* Test updates

* Address review comments

* Comment should be one line, not two

* Address Trishna comments

* State deleted should purge all config

* Remove misleading comment

* Doc fixes

* Fix source int bug and remove local debug msg

* Add additional integration test checks
5 years ago
Wojciech Wypior c9a9621a02 fixes issue with recieve parameter idempotency (#59999)
fixes assert statements in unit tests
5 years ago
Andrey Klychkov 64e3cb0fa8 Unit tests: remove unused imports (#59812)
* Unit tests: remove unused imports

* Unit tests: remove unused imports, fix
5 years ago
Sumit Jaiswal b847327645
Resource module for ios_interfaces and Facts Update (#59716)
* ios interfaces resource
5 years ago
Felix Fontein 6d074d8a94
Move ome_* and idrac_* modules one level up (#59698)
* Move ome_* and idrac_* modules one level up.

* Fix paths.

* Fix package name.

* Oranize in different directories.

* Update BOTMETA.

* Update new ignore entries.

* Revert "Update BOTMETA."
Revert "Oranize in different directories."
Adjust ignores.txt.
5 years ago
itercheng eea46a0d1b Support Ericsson device management (#59277)
* Support Ericsson device management

* modify code

* modify error

* delete redundant file

* delete file

* modified error

* modify additional file name

* delete code

* add blank line

* delete redundant code

* add platform_eric_eccli.rst

* modify syntaxError

* modify document

* modify error

* modify maintaners

* modify document

* add end_string
5 years ago
Nilashish Chakraborty 730fa78ca4
Add vyos_interfaces resource module (#58589)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
5 years ago
sushma-alethea f2cb44633a Modules to manage ICX devices (#58969)
* new module

* new terminal

* new terminal

* new cliconf

* cliconf

* icx cliconf

* icx_cliconf

* icx test units module

* icx units module

* icx banner unit test

* PR changes resolved

* changes resolved

* Changes Resolved

* check_running_config changes resolved

* added notes

* removed icx rst

* new commit

* new changes

* deleted icx rst

* icx .rst

* modified platform_index.rst

* modified platform_index.rst

* changes resolved

* PR comments resolved

* Update platform_index.rst

PR comment resolved
5 years ago
Jiri Hnidek 978fe81a6d Added unit tests for redhat_subscription module (#58665)
* Fixed the redhat_subscription module:
  - Option 'pool_ids' works in Python3 now
  - It tries to attach only pools IDs that are available
  - Optimization of code: do not call list --available, when
    no pool is requested
  - Simplified configure() method
  - Small changes to generate same commands on Python2 and Python3.
    Order of arguments/options and pool IDs have to be same to
    be able to run unit test using Python2 and Python3.
  - Added fragments file for redhat_subscribtion module
5 years ago
Andrey Klychkov 32de51adac Unit tests: remove unused imports (#59740) 5 years ago
Shrikant Chaudhari 0b8354751b Added new module avi_user.py (#57116)
* Added new module avi_user.py and tests for that

* Updated documentation as per module argspec

* Updated as per review comments on IP address

* Updated documentation for types

* Fixed sanity check failure for __future__ import

* Updated documentation as per review comments.
5 years ago
Nilashish Chakraborty f2b0bfd4aa
Add iosxr_lacp resource module (#59281)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
5 years ago
Chris Archibald 6adf0c581e New feature to na_ontap_snapmirror (#59047)
* updates

* updating version added for connection type
5 years ago
Chris Archibald b1360c0d94 bug fixes (#59049) 5 years ago
Tyler Ramer 8d0f2e5725 Address regression causing bootproto=dhcp for manual IP addresses (#56376)
Commit b7724fdf85
appears to have caused a regression, where `ip4`, `gw4`, `ip6`, `gw6`
were converted to `ipv4.address`, `ipv4.gateway` etc.

This causes bootproto (or `ipv4.method`) to remain `dhcp`, as noted in https://github.com/ansible/ansible/issues/36615

This commit only reverts the key-value pairs to the original names,
which is in line with both expectation (manual ip addr == no dhcp) and
the language used in the playbook, which is, for example, "ip4" not
"ipv4.address"

Co-authored-by: Stuart Pollock <spollock@pivotal.io>
Co-authored-by: Tyler Ramer <tramer@pivotal.io>
5 years ago
Toshio Kuratomi 87601969a3 Correct places where match was intended
pytest.raises has two parameters, message and match.  message is meant
to be the error message that pytest gives when the tested code does not
raise the expected exception.  match is the string that pytest expects
to be a match for the repr of the exception.  Unfortunately, it seems
that message is often mistakenly used where match is meant.  Fix those
cases.

message is also deprecated so removed our usage of it.  Perhaps we
should write a sanity test later that prevents the use of
pytest.raises(message) to avoid this mistake.

seealso: https://docs.pytest.org/en/4.6-maintenance/deprecations.html#message-parameter-of-pytest-raises

Also update the exception message tested for as we're now properly
detecting that the messages have changed.
5 years ago
Aljaž Košir 42073b6331 Add lambda_bucket_event module (#58059) 5 years ago
Sumit Jaiswal b01b1d40cf
PR to add Unit TC for Checkpoint network module (#57710)
* cp_network unit TC

Signed-off-by: Sumit Jaiswal <sjaiswal@redhat.com>
5 years ago
Chris Archibald 8bf069114f New Module: Vscan Enable (#57953)
* new module

* fix netapp.py

* updates

* fixes
5 years ago
Alvaro Olmedo Rodriguez a1dcba63b3 java_keystore - Prefer SHA256 and solve SHA256 keytool in java11 version (#57302) 5 years ago
Chris Archibald f3aac3a112 MOTD was not idempotent (#57372)
* fix issue

* fix issues

* fix issues

* fix issues
5 years ago
Chris Archibald 9cb78b4826 New options to volume (#58531)
* updates to volume

* fix ansibot

* fix issues

* Revert "fix issues"

This reverts commit 54988709ae.
5 years ago
Chris Archibald 59feb63d19 Add uid, and gid to volume clone (#57371)
* and new features

* fix issues

* fix issues

* fix issues

* add unit tests
5 years ago
Chris Archibald 6e3d54ae81 Set vscan_fileop_profile for na_ontap_cifs (#57373)
* new features

* update unit tests
5 years ago
pratikgadiya12 e8f4ebb22c nmcli: Argument vlanid (int) is changed internally to string (#58963)
* Argument vlanid (int) is changed internally to string
* Modified test case to check vlan id

Fixes: #58949
5 years ago
rajaspachipulusu17 753f998262 Pluribus Networks ipv6 security reguard vlan module with UT (#58319) 5 years ago
Chris Archibald 8731fc7a86 returning invalid security (#58595) 5 years ago
Miguel Angel Muñoz González d50531c6bd New Fortinet's module for fortios_user_device (using new httpapi plugin) (#58291)
* New Fortinet's module for fortios_user_device (using new httpapi plugin

* Fix documentation errors

* Update lib/ansible/modules/network/fortios/fortios_user_device.py

Co-Authored-By: Sandra McCann <samccann@redhat.com>

* Update lib/ansible/modules/network/fortios/fortios_user_device.py

Co-Authored-By: Sandra McCann <samccann@redhat.com>

* Update lib/ansible/modules/network/fortios/fortios_user_device.py

Co-Authored-By: Sandra McCann <samccann@redhat.com>

* Update lib/ansible/modules/network/fortios/fortios_user_device.py

Co-Authored-By: Sandra McCann <samccann@redhat.com>

* Update lib/ansible/modules/network/fortios/fortios_user_device.py

Co-Authored-By: Sandra McCann <samccann@redhat.com>

* Update lib/ansible/modules/network/fortios/fortios_user_device.py

Co-Authored-By: Sandra McCann <samccann@redhat.com>
5 years ago
Toshio Kuratomi 0c992d5ae4 Fix for skipping of gitlab_runner test.
Correct variable name for skipping of the gitlab test when gitlab python
client is not installed.
5 years ago
Mariusz Mazur 2fb06650a7 kubevirt: even more unit tests (#58593) 5 years ago
Ganesh Nalawade 1e3034b96d
junos_facts refactor to work with resources modules (#58566)
* junos_facts refactor to work with resources modules

*  Refactor junos_facts module to work with
   network resource module.

* Fix unit test failures

* Fix review comments
5 years ago
Felix Fontein f0801879c7 Rename xenserver_guest_facts -> xenserver_guest_info (#57032)
* Rename xenserver_guest_facts -> xenserver_guest_info.

* Add changelog.

* Forgot one test.
5 years ago
Toshio Kuratomi 8acf71f78f
Skip tests with unsatisfied deps (#55853)
* Skip gitlab tests if dependencies aren't met

* Skip certain unittests if passlib is not installed

* Fix tests with deps on paramiko to skip if paramiko is not installed

* Use pytest to skip for cloudstack

If either on Python-2.6 or the cs library is not installed we cannot run
this test so skip it
5 years ago
Chris Van Heuveln 0868fec8bd nxos_vpc: pkl_vrf fixes for #57069 (#57370)
* nxos_vpc: pkl_vrf fixes for #57069

Fixes #57069

- Symptom: When playbooks specify `pkl_vrf: default`, the result is that the cli does not set the `vrf` state.

- Analysis:
 - First issue: 'default' is a reserved word when used with the `peer-keepalive` `vrf` keyword. It refers to the default rib.
   - This is confusing in several ways because `peer-keepalive`'s *default* vrf is the `management` vrf.

 - Second issue: When changing only one optional value (`pkl_vrf`) while other optional values are idempotent (`pkl_src`), the result is that the idempotent values are ignored; unfortunately the device cli *replaces* the entire command, in which case the idempotent values are removed.
   - e.g. playbook specifies this:
     ```
     { pkl_dest: 10.1.1.1, pkl_src: 10.2.2.2, pkl_vrf: my_vrf }
     ```

     ```
     peer-keepalive dest 10.1.1.1 src 10.2.2.2             # original

     peer-keepalive dest 10.1.1.1 src 10.2.2.2 vrf my_vrf  # intended result

     peer-keepalive dest 10.1.1.1 vrf my_vrf               # actual result
     ```

 - Third issue: the `pkl` getter was relying on positional data. This broke when the `udp` keyword nvgen'd where `vrf` used to appear (shifting all keywords to the right).

- Tested on regression platforms: `N3K,N6k,N7K,N9K,N3K-F,N9K-F`

* PEP fixes

* PEP fix 2

* pkl should merge by default, not override

* rmv debugs

* add mike's tests

* fix comments
5 years ago
Daniel Mellado Area db689f7221 Fix ovsdb module not being idempotent (#57735)
openvswitch_db was not parsing properly some arguments, which caused
some commands to be executed when they shouldn't. This commit fixesit
and adds unit testing for the usecase.

Closes-Bug: #55432
Closes-bug: #43858
5 years ago
Wojciech Wypior ac101f7f33 adds initial_hotfix parameter to vcmp guest (#58180) 5 years ago
Mariusz Mazur 06292566ec kubevirt: more unit tests (#57739)
* Add tests for KubeAPIVersion

* Legibility improvements for KubevirtVM tests

* Create units.utils.kubevirt with common stuff

* Add some VMIRS unit tests
5 years ago
rajaspachipulusu17 fc1798cc14 Pluribus Networks ipv6security raguard module with UT (#57031)
* Pluribus Networks ipv6security raguard module with UT
* Doc fixes
5 years ago
Felix Fontein 4a12be31fb docker_* modules: improve error message when docker-py is missing (#57914)
* Improve error for docker modules when docker-py can't be imported.

* Add changelog.

* Mention platform and Python interpreter in more cases.

* Clarify wording.

* Adjust tests.
5 years ago
Wojciech Wypior 30ada17d4f Adds message routing transport module (#58201) 5 years ago
Wojciech Wypior b8fd2f4df3 adds generic routing peer module (#58189) 5 years ago
Wojciech Wypior 429bf5340e adds module for message routing protocol (#58188) 5 years ago
Wojciech Wypior 0a3a94a493 adds new module to manage firewall schedules (#58187) 5 years ago
Wojciech Wypior 92a1e6845c Adds two modules to manage AFM log profiles (#58186) 5 years ago
Wojciech Wypior fbca93b8ad removes args from the code and corrects few missed tests (#58175) 5 years ago
Wojciech Wypior 56b3b1ac56 adds message routing router module (#58191) 5 years ago
Wojciech Wypior c1f2df4753 adds message routing route module (#58190) 5 years ago
Wojciech Wypior 95e59e7ee7 adds description to bigip snatpool (#58179) 5 years ago
Wojciech Wypior 3531bf3148 fixes issue with ssl protocols ordering (#58177) 5 years ago
Wojciech Wypior becca36c5e Added new module for remote user management (#58171) 5 years ago
Chris Van Heuveln 52c811c841 nxos_bgp_neighbor: Add bfd support (#56932)
* nxos_bgp_neighbor: Add bfd support

- Add support for bfd state in nxos_bgp_neighbor

- Feature Pull Request

- nxos_bgp_neighbor

- Tested on platforms: `N3K,N6K,N7K,N9K`

* bfd T/F now bfd enable/disable

* pep fix ws
5 years ago
Chris Van Heuveln 727a6b405a nxos_ospf_vrf: Add 'bfd' support (#57425)
* nxos_ospf_vrf: Add 'bfd' support

* Add default to bfd doc hdr

* bfd T/F now bfd enable/disable
5 years ago
Chris Van Heuveln 30830a4482 nxos_pim: Add bfd support (#56908)
* nxos_pim: Add bfd support

* Add integration sanity

* minor cleanup

* bfd T/F now bfd enable/disable
5 years ago
Guillaume Martinez ec7b18952b gitlab_runner: Fix idempotency when creating runner (#57833) 5 years ago
Abhijeet Kasurde cf623fa62f
Terraform: Fix unbound local error (#57044)
* Added Unit tests
* Fixed regression

Fixes: #56934

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
5 years ago
Mariusz Mazur 51add5aa79 kubevirt: enable/update tests + fix merge_dicts() (#57685)
* Actually run the unit tests and separate them into two files

* Re-add recursion to merge_dicts()

* Update tests to work with current code
5 years ago
Chris Van Heuveln 205f6b1699 nxos_pim_interface: Add 'bfd' support (#57133)
* nxos_pim_interface: Add 'bfd' support

* PEP fixes

* fix copyright date

* bfd states changed from T/F to enable/disable/default
5 years ago
Anton Nikulin 4fa93d5b9b FTD configuration module: fix a bug with response parsing (#57480)
* Update dependence's name to firepower-kickstart

* Check response type before getting attributes

* Add unit test for construct_ansible_facts method

* Update error message
5 years ago
Sajna Shetty e25269e1b3 Adding dell ome device_info module (#53438)
* Adding device_facts module for contribution

* changes added for pylint error

* Updated code to solve ansible-test compile error

* Changes to avoide comile error added

* Review Comments changes update

* Avoided blank line

* pylint error changes

* Removed ansible_facts return in error case

* Updated description

* modules renamed

* changing from ansible_facts to device_info

* avoide pep8 error

* Updated sample output

* version changed to 2.9

* Changed Copyright license to BSD

* Changed 3-clause BSD license to 2-clause BSD

* Added unit test support for ome_device_info

* version change

* removed pylint error in unit test modules

* Avoid Sanity error for unit test modules

* updated version
5 years ago
Chris Archibald a58570f1bc na_ontap_snapshot_policy: Add ability to multiple schedules (#57366) 5 years ago
Chris Van Heuveln bd844bc11c nxos_interface_ospf: Add bfd support (#56807)
* nxos_interface_ospf: Add bfd support

Add support for `bfd` state in `nxos_interface_ospf`

- Feature Pull Request

`nxos_interface_ospf`

* Fix pep issues

* sanity loop: syntax

* bfd states changed from T/F to enable/disable/default

* doc hdr fixes
5 years ago
Chris Van Heuveln 7aa0d26fda nxos_bfd_global / NxosCmdRef initial commit (#56317)
* nxos_bfd_global: initial commit

This is an initial POC with just a few commands included.  The code has been written somewhat generically so that it can act as a best practices template for re-use in future modules. The implementation follows the yaml cmd_ref style to define each command's getter/setter/type/default. It supports platform-specific defaults.

The basic logic is to collect all relevant data in a `cmd_ref` dict and pass that around to various methods.

In the BFD case the devices don't provide JSON output so we have to screen-scrape with show runs.

BFD does not support present/absent states so there is no state param.

BFD has three different property types to handle. We can add add'l types as needed:

- int
- int_list (list of ints)
- str (needs support for 'no' keyword)

* Use get_capabilities to find platform type

* PR comment fixes, round 1

* Minor cleanups

* nxos_bfd_global: create NxosCmdRef in module_utils

This commit just takes the latest bfd global code and moves the bulk
of the code into new `class NxosCmdRef` in `module_utils/nxos/nxos.py`.

The only remaining code in `nxos_bfd_global.py` are the calls from `main()`.

* Add remaining command properties and documentation

* update argument_spec

* Add check for _exclude; add sanity test

* Add targets files for bfd

* Context and state absent updates

* Add dict support to cmd_ref

* Changed remaining list commands to dict usage

* Add idempotence check for dict

* Fix existing overwrite bug

* Move pattern matching logic into its own method

* add support for 'command: absent'

* Add `get_platform_shortname`; update BFD platform-specific settings

* /absent/deleted/

* /sh/show/ in prepare_nxos_tests

* add dict check to get_platform_shortname

* Add normalize_defaults()

* UTs for bfd_global

* support yaml for both py2/py3

* update cmd_ref doc header

* Fix python2.6 incompatibility with dict comprehensions

* Fix bfd_global doc header (yaml syntax fail)

* more shippable fixes

* yet more shippable fixes

* shippable: remove r' ' wrappers

* docfix - remove ':'

* escape regex ctl chars in yaml table

* remove extra blank lines

* Fix str(None) issue

* Command context updates

* import PY2,PY3 instead of import sys

* fix ordereddict import & parent_context

* try/except for yaml import

* fix import issue for ordereddict

* remove epdb

* nxosCmdRef_import_check() workaround for shippable

* fix PEP ws errors
5 years ago
Daniel Mellado Area 091bebcbf7 Add support for vlan update on ovs bridges (#57168)
This commit adds support for vlan update on openvswitch_bridge module.
5 years ago
Chris Archibald 57b3160f13 new feature (#57320) 5 years ago
Chris Van Heuveln 6bb13bbb84 nxos_vlan: fix broken purge behavior (issue #57101) (#57229)
* nxos_vlan: fix broken purge behavior (issue #57101)

Symptoms/Analysis:
- `nxos_vlan` `purge: true` would fail when `purge` was trying to delete all unspecified vlans, including vlan 1.
- `nxos` devices do not allow removing vlan 1 and raise a cli exception error
- Previous fix #55144 caused a side effect when `purge` was used: vlan changes specified by `aggregate` were ignored; e.g.
 - vlan 4 is not present; playbook specifies `aggregate: { vlan: 4 }, purge: true`
 - results in proper purging but vlan 4 is not created

Solutions:
- ignore vlan 1 when purging
- remove the `not purge` check from state present logic

Added additional unit tests and integration tests.
Tested against all regression platforms.

* PEP fixes

* Add agg_show_vlan_brief.txt fixture

* Add warning for removing vlan 1

* change method name check
5 years ago
rajaspachipulusu17 6b2688245e Pluribus Networks ipv6security raguard port module with UT (#57033)
* Pluribus Networks ipv6security raguard port module with UT

* Dox fix
5 years ago
rajaspachipulusu17 b8a317c527 Pluribus Networks vrouter packet relay module with UT (#57155)
* Pluribus Networks vrouter packet relay module with UT

* Doc fix
5 years ago
Felix Fontein 61b48778a7
Rename _facts -> _info (#57028) 5 years ago
rajaspachipulusu17 19a78bdc7b Pluribus Networks vrouter bgp module with unit test cases (#56434)
* Pluribus Networks vrouter bgp module with unit test cases
* Sanity fixes
5 years ago
Wojciech Wypior fca2a4c68b adds ltm policy to bigip facts (#56926)
facts no longer return changed but queried status in results
5 years ago
Yury V. Zaytsev d88d71e4b1 route53_zone: return existing zone id in check mode (#56702)
* Returns zone ID for existing zone or `null`
* route53_zone: add module unit tests
* route53_zone: add compatibility with Python 2.6 to the unit tests
* route53_zone: address pycodestyle warning (add blank line)
5 years ago
EvgenyF ea4842c0d3 Changing the license to Apache 2 5 years ago
rajaspachipulusu17 8c29c78e22 Pluribus Networks vrouter loopback interface module with UT (#56450)
* Pluribus Networks vrouter loopback interface module with UT

* Sanity fixes
5 years ago
rajaspachipulusu17 7a615a9e0e Pluribus Network vrouter ospf module with unit tests (#56435)
* Pluribus Network vrouter ospf module with unit tests

* Sanity fix

* Doc fixes
5 years ago
anasbadaha 5a7bce1f8d Adding New Model onyx_qos for Configuring QoS on Onyx Switches (#55127)
* Adding New Model onyx_qos for Configuring QoS on Onyx Switches

Signed-off-by: Anas Badaha <anasb@mellanox.com>

* Fix Pep8 Failures in onyx_qos

Signed-off-by: Anas Badaha <anasb@mellanox.com>

* Fix Pep8 Failures phase 2

Signed-off-by: Anas Badaha <anasb@mellanox.com>

* Fix Samer's Comments on onyx_qos Module

Signed-off-by: Anas Badaha <anasb@mellanox.com>

* Fix Shippable Comments Phase 3

Signed-off-by: Anas Badaha <anasb@mellanox.com>

* Fix Current Version 2.9

Signed-off-by: Anas Badaha <anasb@mellanox.com>
5 years ago
James Tanner 940d58e1b3 Nullify improperly licensed test file 5 years ago
anasbadaha 0f852f01c0 Adding Support For EVPN in BGP Module (#55503)
* Adding Support For EVPN in BGP Module

Signed-off-by: Anas Badaha <anasb@mellanox.com>

* Fix Pep8 Failures in onyx_bgp.py

Signed-off-by: Anas Badaha <anasb@mellanox.com>

* Fix Pep8 Failures in onyx_bgp.py Phase 2

Signed-off-by: Anas Badaha <anasb@mellanox.com>

* Fix Samer's Comments

Signed-off-by: Anas Badaha <anasb@mellanox.com>

* Remove file Variable

Signed-off-by: Anas Badaha <anasb@mellanox.com>
5 years ago
anasbadaha 0cb0fa918f Adding Support for NVE Protocol in onyx_protocol (#55513)
* Adding Support for NVE Protocol in onyx_protocol

Signed-off-by: Anas Badaha <anasb@mellanox.com>

* Fix Pep8 Failures in onyx_protocol.py

Signed-off-by: Anas Badaha <anasb@mellanox.com>
5 years ago
anasbadaha 031655def0 Adding Support for Traffic Class in Onyx Switches (#55577)
* Adding Support for Traffic Class in Onyx Switches

Signed-off-by: Anas Badaha <anasb@mellanox.com>

* Enhancing the code and elemenating code duplicate

Signed-off-by: Anas Badaha <anasb@mellanox.com>
5 years ago
vicmunoz ecdb616954 NetApp ONTAP module for manage ipspaces (#49821)
* NetApp ONTAP module for manage ipspaces

* fixes for ci_cd and code layout

* indentation fixes

* code style fixes

* fixing yamllint issue

* unit test for module na_ontap_ipspace

* fixing sanity tests

* change pytest.skip to pytest.mark.skip

* adding ansible version to 2.9
5 years ago
Felix Fontein bd47e64bc7 Hetzner failover IP: refactoring (#56203)
* Rename helper function.

* Extract hetzner.py module_utils.

* Rewrite docs.

* Add module docs fragment.

* Split up get_failover function.

* Add tests for new function.

* hetzner_pass -> hetzner_password

* Move common argspec to module_utils.
5 years ago
rajaspachipulusu17 458b473d06 Pluribus network prefix list module (#55686)
* Pluribus network prefix list module

* Doc fix and unit test fix

* Added default value with args spec change

* Sanity fix
5 years ago
Trishna Guha 2e8a3efccb
Revert nxos, ios, iosxr return_timestamps (#56206)
* Revert "nxos_command:run_commands results failure when commands array size >1 (#52670)"
This reverts commit 0df5b92af3.
* Revert "added timestamps to nxos_command module (#50261)"
This reverts commit e150943314.
* Revert "added timestamps to ios_command module (#50323)"
This reverts commit 2a432a093b.
* Revert "added response_timestamps to iosxr_command module (#50095)"
This reverts commit 2a0c356da9.
5 years ago
Trishna Guha 57e0567310
fix nxos_vlan mode idempotence bug (#55144)
* fix nxos_vlan mode idempotence bug

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>

* Fix CI failure

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
5 years ago
Felix Fontein ba9fee6c37 Hetzner failover IP module (#56103)
* First version of Hetzner failover IP module.

* Extend module.

* Add comments.

* Add basic unit tests.

* Add more tests.

* Tests for set_failover.
5 years ago
rajaspachipulusu17 5309d6c131 Pluribus networks fabric local module with UT (#55872)
* Pluribus networks fabric local module with UT

* Sanity fix

* Ansible doc standards

* Unit test fix
5 years ago
Alex Stephen e298de0986 GCP deprecations (#53355)
* gcdns_record deprecation

* gcdns_zone deprecation

* gcp_forwarding_rule deprecation

* gcp_url_map deprecation

* gcspanner deprecation

* gcp_healthcheck deprecation

* porting guide

* test failures

* forgot to rename

* deprecating

* porting guide changes

* unit test fixes

* changing ignores
5 years ago
Toshio Kuratomi a1c8fc37e8 Remove modules which have ended their deprecation cycle
* Remove code but leave the metadata so that they can be listed as
  removed in documentation.
* Remove removed modules from validate-modules ignore
* Remove unittests for the removed nodules
* Remove links to removed modules and add list of removed moduels to the
  2.9 porting guide
5 years ago
Nathan Dines 5eb3117822 Added the OnFailure option to the AWS CloudFormation module (#52431)
* Added the OnFailure option to the AWS CloudFormation module

* Added unit tests for CloudFormation `on_create_failure`
5 years ago
anasbadaha 2cc91e26e0 Adding Support For Vxlan In Onyx Switches (#55081)
* Adding Support For Vxlan In Onyx Switches

Signed-off-by: Anas Badaha <anasb@mellanox.com>

* Fix Pep8 Failures in onyx_vxlan.py

Signed-off-by: Anas Badaha <anasb@mellanox.com>

* Fix Pep8 Failures in onyx_vxlan phase 2

Signed-off-by: Anas Badaha <anasb@mellanox.com>

* Fix Shippable failures

Signed-off-by: Anas Badaha <anasb@mellanox.com>

* Fix Samer's Comments on PR

Signed-off-by: Anas Badaha <anasb@mellanox.com>
5 years ago
Swartz, Nathan 5e3a7ec1f5 Improve netapp_e_volume module and add unit tests.
netapp_e_volume was refactored for maintainability and its documentation
was improved for better clarity.
5 years ago
anasbadaha 9bd060292e Adding New Model for Configure Buffer Pool on Onyx Switches (#55082)
* Adding New Model for Configure Buffer Pool on Onyx Switches

Signed-off-by: Anas Badaha <anasb@mellanox.com>

* Fix Pep8 Failures in onyx_buffer_pool.py

Signed-off-by: Anas Badaha <anasb@mellanox.com>
5 years ago
Chris Archibald e12846f540 Update na_ontap_export_policy_rule to allow multiple rules to be set at once. (#54801)
* update

* add unit tests
5 years ago
Chris Archibald c51f840faa Allow for multiple LIFS instead of 1 at a time (#54800)
* upload unit tests
5 years ago
Chris Archibald c6f12eea32 push fix (#54916) 5 years ago
Anil Kumar Muraleedharan f5d97205a0 The module fails on switchport. Check added to fix. (#54970) 5 years ago
Brian Coca bda541fa0d
fix missing attribs with dirct module execution (#53875)
* fix missing attribs with dirct module execution
* also make remote tmp handling smarter
 update tests
* set default if attrib does not exist
* add simple test
5 years ago
Federico87 48e83c39ba ASA network/service object-group module (#52925)
* add asa_og module

* add test

* fix pep8

* fix some sanity pylint

* fix import error order

* fix import

* replace cmd() method

* rename file and class

* add mock for connection

* fix commands in  replace test function

* fix lines list

* update unit test

* fix 'and' logic for port-object command

* restore previous unit test; fix pep8 and remove debug

* other unit tests

* Add state present, absent, replace

* Update doc; add default for state

* update unit test with state present/absent

* fix typo in unit test

* fix pep8 too many blank lines

* fix show run for service object ASA Ver 8.x

* Add description field; fix bug for state present and absent

* Re-designed module structure for network, service and port objects

* update integration test for new module structure

* fix pep8

* update EXAMPLES and RETURN

* update units tests

* fix module typos in unit test

* removed provider from examples

* fix missing comma in replace test

* fix module name and remove provider

* update license

* remove register; update license; change import order; chage def state

* remove shebang

* fix doc default state

* change import order

* Update year in banner

* fix integration test as set of tasks

* remove arg_spec

* remove extends_documentation_fragment: asa

* Update DOC, remove unused import, change import order
5 years ago
Chris Archibald ec03ddd336 Multiple fixs for na_ontap_user (#54610)
* Fix ontap user for 9.1

* fix bugs:

* update unit tests
5 years ago
Łukasz Szczęsny bcdd1dc951 pamd: fix idempotence issue when removing rules (#54105) 5 years ago