Commit graph

1143 commits

Author SHA1 Message Date
Miguel Angel Muñoz González
ebc3e48b66 Fortinet's new module for fortios_system_pppoe_interface (#60855) 2019-08-22 14:51:25 +05:30
Miguel Angel Muñoz González
fc544069c8 Fortinet's new module for fortios_system_snmp_user (#60970) 2019-08-22 14:51:05 +05:30
Miguel Angel Muñoz González
9cfadf2c67 Fortinet's new module for fortios_system_object_tagging (#60852) 2019-08-22 14:49:46 +05:30
Miguel Angel Muñoz González
e60b9e4944 Fortinet's new module for fortios_system_storage (#60971) 2019-08-22 14:49:34 +05:30
Miguel Angel Muñoz González
37bcb5b528 Fortinet's new module for fortios_system_password_policy (#60853) 2019-08-22 14:41:12 +05:30
Miguel Angel Muñoz González
c6d88da332 Fortinet's new module for fortios_system_ntp (#60851) 2019-08-22 14:38:54 +05:30
Miguel Angel Muñoz González
107306a5d4 Fortinet's new module for fortios_system_network_visibility (#60850) 2019-08-22 14:38:34 +05:30
Miguel Angel Muñoz González
8b882be084 Fortinet's new module for fortios_system_switch_interface (#60972) 2019-08-22 14:23:16 +05:30
Miguel Angel Muñoz González
da7ed1d8a6 Fortinet's new module for fortios_system_tos_based_priority (#60973) 2019-08-22 14:18:53 +05:30
Miguel Angel Muñoz González
7cc089f0d7 Fortinet's new module for fortios_system_vdom_netflow (#61034) 2019-08-22 14:14:20 +05:30
Miguel Angel Muñoz González
d39addf6c0 Fortinet's new module for fortios_system_nd_proxy (#60848) 2019-08-22 14:13:44 +05:30
Miguel Angel Muñoz González
83f7007848 Fortinet's new module for fortios_system_netflow (#60849) 2019-08-22 14:13:38 +05:30
Miguel Angel Muñoz González
6a0078bee2 Fortinet's new module for fortios_system_vdom_link (#61033) 2019-08-22 14:09:43 +05:30
Miguel Angel Muñoz González
7988f828b3 Fortinet's new module for fortios_system_nat64 (#60847) 2019-08-22 14:09:34 +05:30
Miguel Angel Muñoz González
5a28feb81c Fortinet's new module for fortios_system_vdom_exception (#61032) 2019-08-22 14:09:19 +05:30
Miguel Angel Muñoz González
9d70b2db8c Fortinet's new module for fortios_system_management_tunnel (#60845) 2019-08-22 14:08:37 +05:30
Miguel Angel Muñoz González
0280bcbfca Fortinet's new module for fortios_system_mobile_tunnel (#60846) 2019-08-22 14:08:25 +05:30
Miguel Angel Muñoz González
6b5b4fa5e9 Fortinet's new module for fortios_system_link_monitor (#60843) 2019-08-22 12:53:28 +05:30
Miguel Angel Muñoz González
9245310c99 Fortinet's new module for fortios_system_vdom_property (#61035) 2019-08-22 12:52:22 +05:30
Miguel Angel Muñoz González
fd11090663 Fortinet's new module for fortios_system_mac_address_table (#60844) 2019-08-22 12:29:58 +05:30
Miguel Angel Muñoz González
c2f9292987 Fortinet's new module for fortios_system_ipv6_tunnel (#60842) 2019-08-22 12:27:51 +05:30
Miguel Angel Muñoz González
8d95455167 Fortinet's new module for fortios_system_ipv6_neighbor_cache (#60841) 2019-08-22 12:27:19 +05:30
Miguel Angel Muñoz González
f8a6d6d991 Fortinet's new module for fortios_system_ips_urlfilter_dns (#60840) 2019-08-22 12:26:36 +05:30
Miguel Angel Muñoz González
0785ecf58b Fortinet's new module for fortios_system_ips_urlfilter_dns6 (#60839) 2019-08-22 12:25:54 +05:30
Miguel Angel Muñoz González
cb4de3e2a6 Fortinet's new module for fortios_system_ipip_tunnel (#60838) 2019-08-22 12:25:28 +05:30
Miguel Angel Muñoz González
b44e486fb0 Fortinet's new module for fortios_system_ha_monitor (#60837) 2019-08-22 12:24:57 +05:30
Miguel Angel Muñoz González
bcb8364031 Fortinet's new module for fortios_system_gre_tunnel (#60836) 2019-08-22 12:24:29 +05:30
Miguel Angel Muñoz González
052baf8151 Fortinet's new module for fortios_system_custom_language (#60812) 2019-08-22 12:23:39 +05:30
Miguel Angel Muñoz González
5fec75a91a Fortinet's new module for fortios_system_console (#60810) 2019-08-22 12:23:03 +05:30
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
2019-08-22 12:22:20 +05:30
Wojciech Wypior
3c19c75560 removes deprecated parameters (#61066)
adds diff functionality
fixes issue with serverscope parameter not setting on device
2019-08-21 20:50:40 -07:00
Wojciech Wypior
306b6b728c adds new module for asm dos application profiles (#61063) 2019-08-21 20:50:07 -07:00
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
2019-08-21 16:52:58 -05:00
Miguel Angel Muñoz González
839e9019ef Fortinet's new module for fortios_switch_controller_switch_group (#60787) 2019-08-21 16:59:27 +05:30
Miguel Angel Muñoz González
1aecdbb5c5 Fortinet's new module for fortios_switch_controller_switch_interface_tag (#60788) 2019-08-21 15:10:43 +05:30
Miguel Angel Muñoz González
1d8556710e Fortinet's new module for fortios_switch_controller_switch_log (#60789) 2019-08-21 15:03:31 +05:30
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
2019-08-21 14:53:28 +05:30
Miguel Angel Muñoz González
5041be8350 Fortinet's new module for fortios_switch_controller_sflow (#60783) 2019-08-21 13:43:49 +05:30
Miguel Angel Muñoz González
af49cd0c4e Fortinet's new module for fortios_switch_controller_security_policy_captive_portal (#60782) 2019-08-21 13:36:34 +05:30
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
2019-08-21 12:23:17 +05:30
Miguel Angel Muñoz González
2e6458bb73 Fortinet's new module for fortios_switch_controller_security_policy_802_1X (#60779) 2019-08-20 18:08:47 +05:30
Miguel Angel Muñoz González
34bc40cfde Fortinet's new module for fortios_switch_controller_qos_queue_policy (#60777) 2019-08-20 16:55:52 +05:30
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
2019-08-20 16:52:30 +05:30
Miguel Angel Muñoz González
7224114c3c Fortinet's new module for fortios_switch_controller_quarantine (#60778) 2019-08-20 16:45:15 +05:30
Miguel Angel Muñoz González
150b20ed1d Fortinet's new module for fortios_system_geoip_override (#60835) 2019-08-20 16:31:21 +05:30
Miguel Angel Muñoz González
f578534c79 Fortinet's new module for fortios_system_ftm_push (#60834) 2019-08-20 16:30:50 +05:30
Miguel Angel Muñoz González
f19851f1a3 Fortinet's new module for fortios_system_fsso_polling (#60832) 2019-08-20 16:30:26 +05:30
Miguel Angel Muñoz González
95338e9062 Fortinet's new module for fortios_system_fortisandbox (#60831) 2019-08-20 16:29:41 +05:30
Miguel Angel Muñoz González
6089509c8a Fortinet's new module for fortios_system_fortimanager (#60830) 2019-08-20 16:29:05 +05:30
Miguel Angel Muñoz González
869b5550c6 Fortinet's new module for fortios_system_fortiguard (#60829) 2019-08-20 16:26:29 +05:30
Miguel Angel Muñoz González
fea50bef72 Fortinet's new module for fortios_system_fm (#60828) 2019-08-20 16:25:53 +05:30
Miguel Angel Muñoz González
7328c71adb Fortinet's new module for fortios_system_fips_cc (#60827) 2019-08-20 16:25:35 +05:30
Miguel Angel Muñoz González
e223100f27 Fortinet's new module for fortios_system_external_resource (#60825) 2019-08-20 16:25:10 +05:30
Miguel Angel Muñoz González
e2c3f67aad Fortinet's new module for fortios_system_email_server (#60824) 2019-08-20 16:21:08 +05:30
Miguel Angel Muñoz González
7cd380ddc3 Fortinet's new module for fortios_system_dscp_based_priority (#60823) 2019-08-20 16:20:38 +05:30
Miguel Angel Muñoz González
5deaf3f495 Fortinet's new module for fortios_system_dns_server (#60822) 2019-08-20 16:20:17 +05:30
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
2019-08-20 16:19:44 +05:30
Miguel Angel Muñoz González
1dc6c05521 Fortinet's new module for fortios_system_dhcp6_server (#60816) 2019-08-20 16:18:58 +05:30
Miguel Angel Muñoz González
1c75506e22 Fortinet's new module for fortios_system_dedicated_mgmt (#60815) 2019-08-20 16:18:05 +05:30
Miguel Angel Muñoz González
55110408c0 Fortinet's new module for fortios_system_ddns (#60813) 2019-08-20 16:17:42 +05:30
Miguel Angel Muñoz González
e4f6d956a7 Fortinet's new module for fortios_system_csf (#60811) 2019-08-20 16:17:06 +05:30
Miguel Angel Muñoz González
6382f8cb46 Fortinet's new module for fortios_system_cluster_sync (#60807) 2019-08-20 16:15:08 +05:30
Miguel Angel Muñoz González
ce8493fc4d Fortinet's new module for fortios_system_autoupdate_tunneling (#60804) 2019-08-20 16:14:23 +05:30
Miguel Angel Muñoz González
2e9b9d2a70 Fortinet's new module for fortios_system_autoupdate_schedule (#60803) 2019-08-20 16:13:51 +05:30
Miguel Angel Muñoz González
5557a9eb44 Fortinet's new module for fortios_system_autoupdate_push_update (#60802) 2019-08-20 16:12:40 +05:30
Miguel Angel Muñoz González
4cb81ad13f Fortinet's new module for fortios_system_auto_script (#60801) 2019-08-20 16:11:59 +05:30
Miguel Angel Muñoz González
f3c288acf3 Fortinet's new module for fortios_system_automation_trigger (#60800) 2019-08-20 16:11:33 +05:30
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
2019-08-20 16:11:11 +05:30
Miguel Angel Muñoz González
2b103a2e54 Fortinet's new module for fortios_system_automation_stitch (#60799) 2019-08-20 16:10:43 +05:30
Miguel Angel Muñoz González
47dcd2ea23 Fortinet's new module for fortios_system_automation_destination (#60798) 2019-08-20 16:09:22 +05:30
Miguel Angel Muñoz González
bef8a682d7 Fortinet's new module for fortios_system_automation_action (#60797) 2019-08-20 16:07:41 +05:30
Miguel Angel Muñoz González
2013f5e728 Fortinet's new module for fortios_system_auto_install (#60795) 2019-08-20 16:00:08 +05:30
Miguel Angel Muñoz González
c5a29d0b0c Fortinet's new module for fortios_system_arp_table (#60794) 2019-08-20 15:58:46 +05:30
Miguel Angel Muñoz González
e0e2be1447 Fortinet's new module for fortios_system_alias (#60793) 2019-08-20 15:57:23 +05:30
Miguel Angel Muñoz González
29df45cd95 Fortinet's new module for fortios_system_alarm (#60792) 2019-08-20 15:56:39 +05:30
Miguel Angel Muñoz González
bc98bf67af Fortinet's new module for fortios_system_affinity_packet_redistribution (#60791) 2019-08-20 15:54:53 +05:30
Miguel Angel Muñoz González
a97f4693d9 Fortinet's new module for fortios_system_affinity_interrupt (#60790) 2019-08-20 15:48:46 +05:30
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
2019-08-20 15:06:07 +05:30
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
2019-08-20 15:02:14 +05:30
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
2019-08-20 14:53:25 +05:30
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
2019-08-19 19:57:57 +05:30
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
2019-08-19 19:57:33 +05:30
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
2019-08-19 19:56:58 +05:30
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
2019-08-19 19:56:19 +05:30
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
2019-08-19 19:55:46 +05:30
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
2019-08-19 19:55:23 +05:30
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
2019-08-19 19:54:52 +05:30
Miguel Angel Muñoz González
f9f882a981 Fortinet's new module for fortios_switch_controller_qos_dot1p_map (#60774) 2019-08-19 19:07:48 +05:30
Miguel Angel Muñoz González
8039dea8c4 Fortinet's new module for fortios_switch_controller_igmp_snooping (#60772) 2019-08-19 19:07:07 +05:30
Miguel Angel Muñoz González
6d93cddd58 Fortinet's new module for fortios_switch_controller_custom_command (#60771) 2019-08-19 19:06:33 +05:30
Miguel Angel Muñoz González
b48e51cf6d Fortinet's new module for fortios_spamfilter_options (#60769) 2019-08-19 19:04:08 +05:30
Miguel Angel Muñoz González
4a99c5f64b Fortinet's new module for fortios_spamfilter_fortishield (#60766) 2019-08-19 19:02:21 +05:30
Miguel Angel Muñoz González
a9566d1b99 Fortinet's new module for fortios_router_static6 (#60762) 2019-08-19 18:58:33 +05:30
Miguel Angel Muñoz González
256db658b7 Fortinet's new module for fortios_router_prefix_list6 (#60759) 2019-08-19 18:23:07 +05:30
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
2019-08-19 18:18:11 +05:30
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>
2019-08-19 16:03:29 +05:30
Miguel Angel Muñoz González
20f9e72c74 Fortinet's new module for fortios_router_key_chain (#60758) 2019-08-19 15:08:46 +05:30
Miguel Angel Muñoz González
be639a57f8 Fortinet's new module for fortios_router_isis (#60757) 2019-08-19 15:05:16 +05:30
Miguel Angel Muñoz González
174a854e05 Fortinet's new module for fortios_router_community_list (#60756) 2019-08-19 15:02:44 +05:30
Miguel Angel Muñoz González
78a382e91d Fortinet's new module for fortios_router_aspath_list (#60755) 2019-08-19 15:01:55 +05:30
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>
2019-08-17 22:38:53 +05:30
Miguel Angel Muñoz González
7e22c7482e Fortinet's new module for fortios_switch_controller_system (#60691) 2019-08-16 20:40:37 +05:30
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
2019-08-16 20:40:27 +05:30
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
2019-08-16 20:34:37 +05:30
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
2019-08-14 19:44:51 +05:30
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>
2019-08-14 17:31:49 +05:30
Trishna Guha
d5d88f9b11
Add nxos_interfaces resource module (#60421)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
2019-08-14 13:38:22 +05:30
Andrey Klychkov
21863d48f3 unit tests: remove unused imports (#60462) 2019-08-13 19:21:43 +02:00
Andrey Klychkov
3929dc00a1 unittests: remove unused imports (#60404) 2019-08-12 13:35:39 +02:00
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
2019-08-12 14:58:02 +05:30
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
2019-08-12 14:56:11 +05:30
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
2019-08-12 14:55:19 +05:30
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
2019-08-12 12:01:15 +05:30
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
2019-08-09 14:58:46 -04:00
Wojciech Wypior
d00aaf66d7 fixes assert statements in tests (#59998) 2019-08-07 06:52:41 -07:00
Wojciech Wypior
ce1f25cffd adds module to manage apm acls (#59992) 2019-08-07 06:48:55 -07:00
Wojciech Wypior
77b323459f adds more modules to bigip provision (#59996) 2019-08-07 06:45:27 -07:00
Wojciech Wypior
7b97abf6a2 adds apm module to manage network access components for APM (#59993) 2019-08-07 06:44:57 -07:00
Wojciech Wypior
47e3ed8100 adds module to manage device self signed certificates (#59994) 2019-08-07 06:44:41 -07:00
Wojciech Wypior
0d92abad7d adds module to manage snat translations (#59995) 2019-08-07 06:43:10 -07:00
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
2019-08-07 13:27:24 +05:30
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>
2019-08-05 12:50:16 +05:30
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
2019-08-05 11:35:46 +05:30
Wojciech Wypior
c9a9621a02 fixes issue with recieve parameter idempotency (#59999)
fixes assert statements in unit tests
2019-08-02 13:29:40 -07:00
Andrey Klychkov
64e3cb0fa8 Unit tests: remove unused imports (#59812)
* Unit tests: remove unused imports

* Unit tests: remove unused imports, fix
2019-08-02 17:18:14 +02:00
Sumit Jaiswal
b847327645
Resource module for ios_interfaces and Facts Update (#59716)
* ios interfaces resource
2019-08-02 14:34:05 +05:30
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
2019-08-01 16:55:10 +05:30
Nilashish Chakraborty
730fa78ca4
Add vyos_interfaces resource module (#58589)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-07-31 23:06:53 +05:30
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
2019-07-31 20:01:41 +05:30
Andrey Klychkov
32de51adac Unit tests: remove unused imports (#59740) 2019-07-29 22:10:13 +02:00
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.
2019-07-29 11:49:04 -04:00
Nilashish Chakraborty
f2b0bfd4aa
Add iosxr_lacp resource module (#59281)
Signed-off-by: NilashishC <nilashishchakraborty8@gmail.com>
2019-07-24 22:55:42 +05:30
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>
2019-07-18 16:24:09 +05:30
rajaspachipulusu17
753f998262 Pluribus Networks ipv6 security reguard vlan module with UT (#58319) 2019-07-10 14:39:53 +05:30
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>
2019-07-09 15:53:36 +05:30
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
2019-07-03 10:08:45 +05:30
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
2019-06-28 16:18:46 +05:30
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
2019-06-26 10:48:46 -04:00
Wojciech Wypior
ac101f7f33 adds initial_hotfix parameter to vcmp guest (#58180) 2019-06-25 15:26:09 +02:00
rajaspachipulusu17
fc1798cc14 Pluribus Networks ipv6security raguard module with UT (#57031)
* Pluribus Networks ipv6security raguard module with UT
* Doc fixes
2019-06-24 16:29:41 +05:30
Wojciech Wypior
30ada17d4f Adds message routing transport module (#58201) 2019-06-21 12:58:02 -07:00
Wojciech Wypior
b8fd2f4df3 adds generic routing peer module (#58189) 2019-06-21 12:56:25 -07:00
Wojciech Wypior
429bf5340e adds module for message routing protocol (#58188) 2019-06-21 12:56:03 -07:00
Wojciech Wypior
0a3a94a493 adds new module to manage firewall schedules (#58187) 2019-06-21 12:55:50 -07:00
Wojciech Wypior
92a1e6845c Adds two modules to manage AFM log profiles (#58186) 2019-06-21 12:55:37 -07:00
Wojciech Wypior
fbca93b8ad removes args from the code and corrects few missed tests (#58175) 2019-06-21 09:09:39 -07:00
Wojciech Wypior
56b3b1ac56 adds message routing router module (#58191) 2019-06-21 09:09:14 -07:00
Wojciech Wypior
c1f2df4753 adds message routing route module (#58190) 2019-06-21 09:08:56 -07:00
Wojciech Wypior
95e59e7ee7 adds description to bigip snatpool (#58179) 2019-06-21 07:52:46 -07:00
Wojciech Wypior
3531bf3148 fixes issue with ssl protocols ordering (#58177) 2019-06-21 06:46:53 -07:00